From 0f63ffb59e16e92589142d093d42695e1e206889 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 6 Jan 2016 21:39:59 +0100 Subject: [PATCH] update picofeed --- composer.lock | 8 ++++---- vendor/composer/installed.json | 8 ++++---- .../fguillot/picofeed/lib/PicoFeed/Rules/engadget.com.php | 4 ++-- .../fguillot/picofeed/lib/PicoFeed/Rules/thelocal.se.php | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.lock b/composer.lock index 2b1c6c2ee..1e1a7e9f1 100644 --- a/composer.lock +++ b/composer.lock @@ -57,12 +57,12 @@ "source": { "type": "git", "url": "https://github.com/fguillot/picoFeed.git", - "reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7" + "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/dbd2bc266ecc9396651c274adbb32ab25d0b19c7", - "reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7", + "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/04cc8d395e626d7d75388d904afa1112f61c23b7", + "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7", "shasum": "" }, "require": { @@ -97,7 +97,7 @@ ], "description": "Modern library to handle RSS/Atom feeds", "homepage": "https://github.com/fguillot/picoFeed", - "time": "2015-12-04 17:28:23" + "time": "2016-01-03 02:14:59" }, { "name": "pear/net_url2", diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index a278263fd..86f3be720 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -209,12 +209,12 @@ "source": { "type": "git", "url": "https://github.com/fguillot/picoFeed.git", - "reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7" + "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/dbd2bc266ecc9396651c274adbb32ab25d0b19c7", - "reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7", + "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/04cc8d395e626d7d75388d904afa1112f61c23b7", + "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7", "shasum": "" }, "require": { @@ -229,7 +229,7 @@ "suggest": { "ext-curl": "PicoFeed will use cURL if present" }, - "time": "2015-12-04 17:28:23", + "time": "2016-01-03 02:14:59", "bin": [ "picofeed" ], 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"]', + ) ) ) ); -