summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/oglaf.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/oglaf.com.php')
-rw-r--r--vendor/miniflux/picofeed/lib/PicoFeed/Rules/oglaf.com.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/oglaf.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/oglaf.com.php
new file mode 100644
index 00000000..8b2b5b65
--- /dev/null
+++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/oglaf.com.php
@@ -0,0 +1,19 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'body' => array(
+ '//img[@id="strip"]',
+ '//a/div[@id="nx"]/..',
+ ),
+ 'strip' => array(),
+ 'test_url' => 'http://oglaf.com/slodging/',
+ ),
+ ),
+ 'filter' => array(
+ '%.*%' => array(
+ '%alt="(.+)" title="(.+)" */>%' => '/><br/>$1<br/>$2<br/>',
+ '%</a>%' => 'Next page</a>',
+ ),
+ ),
+);