summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php4
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php
index 3b7fc5dc0..87775ebf9 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php
@@ -4,8 +4,8 @@ return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.engadget.com/2015/04/20/dark-matter-discovery/?ncid=rss_truncated',
- 'body' => array('//div[@class="article-content"]/p[not(@class="read-more")] | //div[@class="article-content"]/div[@style="text-align: center;"]'),
- 'strip' => array(),
+ 'body' => array('//div[@id="page_body"]/div[@class="container@m-"]'),
+ 'strip' => array('//aside[@role="banner"]'),
),
),
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php
index 964850fa4..4e6051e60 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php
@@ -8,14 +8,14 @@ return array(
),
'strip' => array(
'//p[@id="mobile-signature"]',
- '//article/div[4]',
+ '//article/div[4]',
'//article/ul[1]',
'//div[@class="clr"]',
'//p[@class="small"]',
'//p[@style="font-weight: bold; font-size: 14px;"]',
'//div[@class="author"]',
- )
+ '//div[@class="ad_container"]',
+ )
)
)
);
-