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

26 lines
867 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(
2017-04-05 22:05:48 +02:00
'//article[@id="main-story"]',
2015-10-18 23:31:23 +02:00
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//script',
'//header',
2016-02-10 02:30:07 +01:00
'//ul',
2017-04-05 22:05:48 +02:00
'//section[contains(@class,"profile")]',
2016-02-10 02:30:07 +01:00
'//a[@target="_self"]',
2017-04-05 22:05:48 +02:00
'//div[contains(@id,"_2")]',
'//div[contains(@id,"_3")]',
'//img[@class="viewMode"]',
'//table[contains(@class,"in-article-item")]',
2016-02-10 02:30:07 +01:00
'//div[@data-embed-type="Brightcove"]',
'//div[@class="QuoteContainer"]',
2017-04-05 22:05:48 +02:00
'//div[@class="BottomByLine"]',
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);