summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/.phoronix.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/bigfootjustice.com.php8
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/blog.mapillary.com.php11
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/endlessorigami.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/extrafabulouscomics.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/lastplacecomics.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/loadingartist.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/mercworks.net.php17
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/mrlovenstein.com.php3
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/neustadt-ticker.de.php5
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/theawkwardyeti.com.php2
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php10
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/voz.vn.php10
13 files changed, 57 insertions, 19 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.phoronix.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.phoronix.com.php
index a2be240d5..867faa48b 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.phoronix.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.phoronix.com.php
@@ -4,7 +4,7 @@ return array(
'%.*%' => array(
'test_url' => 'http://www.phoronix.com/scan.php?page=article&item=amazon_ec2_bare&num=1',
'body' => array(
- '//div[@class="KonaBody"]',
+ '//div[@class="content"]',
),
'strip' => array()
)
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/bigfootjustice.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/bigfootjustice.com.php
new file mode 100644
index 000000000..907eec42c
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/bigfootjustice.com.php
@@ -0,0 +1,8 @@
+<?php
+return array(
+ 'filter' => array(
+ '%.*%' => array(
+ '%-150x150%' => '',
+ )
+ )
+);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/blog.mapillary.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/blog.mapillary.com.php
new file mode 100644
index 000000000..5c77b95d0
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/blog.mapillary.com.php
@@ -0,0 +1,11 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://blog.mapillary.com/update/2015/08/26/traffic-sign-updates.html',
+ 'body' => array(
+ '//div[contains(@class, "blog-post__content")]'
+ )
+ )
+ )
+);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/endlessorigami.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/endlessorigami.com.php
index 4dd63daeb..907eec42c 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/endlessorigami.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/endlessorigami.com.php
@@ -2,7 +2,7 @@
return array(
'filter' => array(
'%.*%' => array(
- '%-\\d+x\\d+%' => "",
+ '%-150x150%' => '',
)
)
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/extrafabulouscomics.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/extrafabulouscomics.com.php
index 6f0fbec06..d6d1e08cc 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/extrafabulouscomics.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/extrafabulouscomics.com.php
@@ -2,7 +2,7 @@
return array(
'filter' => array(
'%.*%' => array(
- '%-\\d+x\\d+%' => "",
+ '%-150x150%' => '',
)
)
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/lastplacecomics.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/lastplacecomics.com.php
index 6f0fbec06..d6d1e08cc 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/lastplacecomics.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/lastplacecomics.com.php
@@ -2,7 +2,7 @@
return array(
'filter' => array(
'%.*%' => array(
- '%-\\d+x\\d+%' => "",
+ '%-150x150%' => '',
)
)
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/loadingartist.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/loadingartist.com.php
index 4dd63daeb..907eec42c 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/loadingartist.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/loadingartist.com.php
@@ -2,7 +2,7 @@
return array(
'filter' => array(
'%.*%' => array(
- '%-\\d+x\\d+%' => "",
+ '%-150x150%' => '',
)
)
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mercworks.net.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mercworks.net.php
new file mode 100644
index 000000000..d69280284
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mercworks.net.php
@@ -0,0 +1,17 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'body' => array('//div[@id="comic"]',
+ '//div[contains(@class,"entry-content")]',
+ ),
+ 'strip' => array(),
+ 'test_url' => 'http://mercworks.net/comicland/healthy-choice/',
+ )
+ ),
+ 'filter' => array(
+ '%.*%' => array(
+ '%title="(.+)" */>%' => "/><br/>$1"
+ )
+ )
+);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mrlovenstein.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mrlovenstein.com.php
index 4d8dc6ea2..8276a1e4a 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mrlovenstein.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/mrlovenstein.com.php
@@ -2,7 +2,8 @@
return array(
'filter' => array(
'%.*%' => array(
- '%alt="(.+)" */>%' => "/><br/>$1"
+ '%alt="(.+)" */>%' => "/><br/>$1",
+ '%\.png%' => "_rollover.png",
)
)
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/neustadt-ticker.de.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/neustadt-ticker.de.php
index ac41ee6fa..3d2a058a0 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/neustadt-ticker.de.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/neustadt-ticker.de.php
@@ -5,8 +5,9 @@ return array(
'test_url' => 'http://www.neustadt-ticker.de/36480/aktuell/nachrichten/buergerbuero-neustadt-ab-heute-wieder-geoeffnet',
'body' => array('//div[contains(@class,"article")]/div[@class="PostContent" and *[not(contains(@class, "navigation"))]]'),
'strip' => array(
- '//*[@id="wp_rp_first"]'
+ '//*[@id="wp_rp_first"]',
+ '//*[@class="yarpp-related"]'
),
)
)
-); \ No newline at end of file
+);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theawkwardyeti.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theawkwardyeti.com.php
index 6f0fbec06..d6d1e08cc 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theawkwardyeti.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theawkwardyeti.com.php
@@ -2,7 +2,7 @@
return array(
'filter' => array(
'%.*%' => array(
- '%-\\d+x\\d+%' => "",
+ '%-150x150%' => '',
)
)
);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php
new file mode 100644
index 000000000..3c7adc89d
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/threepanelsoul.com.php
@@ -0,0 +1,10 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'body' => array('//img[@id="cc-comic"]'),
+ 'strip' => array(),
+ 'test_url' => 'http://www.threepanelsoul.com/comic/subjective-tastes',
+ )
+ ),
+);
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/voz.vn.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/voz.vn.php
deleted file mode 100644
index 1aeb7d1bd..000000000
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/voz.vn.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-return array(
- 'grabber' => array(
- '%.*%' => array(
- 'body' => array('//div[@class="entry-content"]'),
- 'strip' => array(),
- 'test_url' => 'http://voz.vn/2015/06/06/muon-trai-nghiem-bphone-hay-den-fpt-shop/',
- )
- ),
-);