summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php
index f369d4345..81c008694 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/aljazeera.com.php
@@ -5,16 +5,17 @@ return array(
'%.*%' => array(
'test_url' => 'http://www.aljazeera.com/news/2015/09/xi-jinping-seattle-china-150922230118373.html',
'body' => array(
- '//figure[@class="article-content"]',
- '//div[@class="article-body"]',
+ '//figure[@class="article-content"]',
+ '//div[@class="article-body"]',
),
'strip' => array(
- '//h1',
- '//h3',
- '//ul',
- '//a[@target="_self"]',
- '//div[@data-embed-type="Brightcove"]',
- '//div[@class="QuoteContainer"]',
+ '//h1',
+ '//h3',
+ '//ul',
+ '//table[contains(@class, "in-article-item")]',
+ '//a[@target="_self"]',
+ '//div[@data-embed-type="Brightcove"]',
+ '//div[@class="QuoteContainer"]',
),
),
),