diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-01-06 21:39:59 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-01-06 21:43:17 +0100 |
commit | 0f63ffb59e16e92589142d093d42695e1e206889 (patch) | |
tree | d83ccd3500ced21dc1cf944da05db341abbc81c7 /vendor/fguillot | |
parent | 0a7d3a91db8005625c2862220b3a837360e24469 (diff) |
update picofeed
Diffstat (limited to 'vendor/fguillot')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php | 4 | ||||
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php | 6 |
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"]', + ) ) ) ); - |