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

21 lines
593 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
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"]',
2017-04-05 22:05:48 +02:00
'//div[@class="useful-top"]',
2015-10-18 23:31:23 +02:00
'//div[contains(@class,"related-topics")]',
'//links',
'//sharebar',
'//related-topics',
),
),
),
2015-10-18 23:31:23 +02:00
);