summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/geek.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/geek.com.php')
-rw-r--r--vendor/miniflux/picofeed/lib/PicoFeed/Rules/geek.com.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/geek.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/geek.com.php
new file mode 100644
index 00000000..d9ccecc2
--- /dev/null
+++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/geek.com.php
@@ -0,0 +1,17 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://www.geek.com/news/the-11-best-ways-to-eat-eggs-1634076/',
+ 'body' => array(
+ '//div[@class="articleinfo"]/figure',
+ '//div[@class="articleinfo"]/article',
+ '//span[@class="by"]',
+ ),
+ 'strip' => array(
+ '//span[@class="red"]',
+ '//div[@class="on-target"]'
+ ),
+ ),
+ ),
+);