diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-20 17:58:58 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-20 17:58:58 +0100 |
commit | 0dc7319f1f19526da73173e00ea43b92fbdbb206 (patch) | |
tree | ad8efa69ac06222f6e60cf141136638ac46cb0fd /vendor/fguillot | |
parent | 9a213130fded88c4a7942a25b8f2798dd776ce7f (diff) |
update picofeed and zendxml
Diffstat (limited to 'vendor/fguillot')
8 files changed, 54 insertions, 15 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/channelate.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/channelate.com.php deleted file mode 100644 index f07f79229..000000000 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/channelate.com.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -return array( - 'filter' => array( - '%.*%' => array( - '%href="http://www.channelate.com/(\\d+)/(\\d+)/(\\d+)/[^"]*"%' => 'href="http://www.channelate.com/extra-panel/$1$2$3/"', - ), - ), -); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/dilbert.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/dilbert.com.php new file mode 100644 index 000000000..17f2ec219 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/dilbert.com.php @@ -0,0 +1,12 @@ +<?php + +return array( + 'grabber' => array( + '%.*%' => array( + 'body' => array( + '//img[@class="img-responsive img-comic"]', + ), + 'test_url' => 'http://dilbert.com/strip/2016-01-28', + ), + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/gerbilwithajetpack.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/gerbilwithajetpack.com.php new file mode 100644 index 000000000..70e863587 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/gerbilwithajetpack.com.php @@ -0,0 +1,13 @@ +<?php + +return array( + 'grabber' => array( + '%.*%' => array( + 'body' => array( + '//div[@id="comic-1"]', + '//div[@class="entry"]', + ), + 'test_url' => 'http://gerbilwithajetpack.com/passing-the-digital-buck/', + ), + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/greekculture.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/greekculture.com.php new file mode 100644 index 000000000..9410de9c5 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/greekculture.com.php @@ -0,0 +1,12 @@ +<?php + +return array( + 'grabber' => array( + '%/joyoftech/.*%' => array( + 'body' => array( + '//img[@width="640"]', + ), + 'test_url' => 'http://www.geekculture.com/joyoftech/joyarchives/2235.html', + ), + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thedoghousediaries.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thedoghousediaries.com.php index 94955b23b..e1c4970da 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thedoghousediaries.com.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thedoghousediaries.com.php @@ -8,7 +8,7 @@ return array( '//div[@class="entry"]', ), 'strip' => array(), - 'test_url' => 'http://sentfromthemoon.com/archives/1417', + 'test_url' => 'http://thedoghousediaries.com/6023', ), ), 'filter' => array( diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theodd1sout.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theodd1sout.com.php new file mode 100644 index 000000000..6d1c66768 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theodd1sout.com.php @@ -0,0 +1,9 @@ +<?php + +return array( + 'filter' => array( + '%.*%' => array( + '%-150x150%' => '', + ), + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php index 66c9ccab7..5407158e5 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php @@ -3,9 +3,10 @@ return array( 'grabber' => array( '%.*%' => array( - 'body' => array('//img[@id="cc-comic"]'), - 'strip' => array(), - 'test_url' => 'http://www.threepanelsoul.com/comic/subjective-tastes', + 'body' => array( + '//img[@id="cc-comic"]', + ), + 'test_url' => 'http://www.threepanelsoul.com/comic/uncloaking', ), ), ); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.franceculture.fr.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.franceculture.fr.php index b56a29b51..67e3253a1 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.franceculture.fr.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.franceculture.fr.php @@ -4,10 +4,11 @@ return array( '%.*%' => array( 'test_url' => 'http://www.franceculture.fr/emission-culture-eco-la-finance-aime-toujours-la-france-2016-01-08', 'body' => array( - '//div[@class="listen"]', - '//div[@class="field-items"]', + '//div[@class="heading"]/*/*/div[contains(@class,"player-inline")]', + '//article/div[@class="text-zone"]', ), 'strip' => array( + '//ul[@class="tags"]', ), ) ) |