summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/channelate.com.php9
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/dilbert.com.php12
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/gerbilwithajetpack.com.php13
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/greekculture.com.php12
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/thedoghousediaries.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/theodd1sout.com.php9
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php7
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.franceculture.fr.php5
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"]',
),
)
)