miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/allafrica.com.php

21 lines
552 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
2015-10-18 23:31:23 +02:00
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.aljazeera.com/news/2015/09/xi-jinping-seattle-china-150922230118373.html',
'body' => array(
'//div[@class="story-body"]',
),
'strip' => array(
'//p[@class="kindofstory"]',
'//cite[@class="byline"]',
'//div[contains(@class,"related-topics")]',
'//links',
'//sharebar',
'//related-topics',
),
),
),
2015-10-18 23:31:23 +02:00
);