summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-10-18 14:28:01 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-10-18 14:28:01 +0200
commit6bc0c9a66075905725705ed425e5817e4f7c1767 (patch)
tree164819a5d0ed73d4f3284d4e17a17ad34eee8d59 /vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php
parentc335e5f349abe4e3d647c0ff57d12e23ef9ff20c (diff)
update picofeed
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php
index dcc47356f..5ae4c69f6 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wired.com.php
@@ -4,10 +4,16 @@ return array(
'%.*%' => array(
'test_url' => 'http://www.wired.com/gamelife/2013/09/ouya-free-the-games/',
'body' => array(
- '//div[@class="entry"]',
+ '//div[@data-js="gallerySlides"]',
+ '//article',
),
'strip' => array(
'//*[@id="linker_widget"]',
+ '//*[@class="credit"]',
+ '//div[@data-js="slideCount"]',
+ '//span[@class="visually-hidden"]',
+ '//*[@data-slide-number="_endslate"]',
+ '//*[@id="related"]',
'//*[contains(@class, "bio")]',
'//*[contains(@class, "entry-footer")]',
'//*[contains(@class, "mobify_backtotop_link")]',
@@ -15,7 +21,11 @@ return array(
'//*[contains(@class, "gallery-thumbnail")]',
'//img[contains(@src, "1x1")]',
'//a[contains(@href, "creativecommons")]',
+ '//a[@href="#start-of-content"]',
+ '//ul[@id="article-tags"],
),
)
)
);
+
+