summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/happletea.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/happletea.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/happletea.com.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/happletea.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/happletea.com.php
new file mode 100644
index 000000000..1821c3bfb
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/happletea.com.php
@@ -0,0 +1,18 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'body' => array(
+ '//div[@id="comic"]',
+ '//div[@class="entry"]'
+ ),
+ 'strip' => array('//div[@class="ssba"]'),
+ 'test_url' => 'http://www.happletea.com/comic/mans-best-friend/',
+ )
+ ),
+ 'filter' => array(
+ '%.*%' => array(
+ '%title="(.+)" */>%' => "/><br/>$1"
+ )
+ )
+);