summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theonion.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/theonion.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/theonion.com.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theonion.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theonion.com.php
new file mode 100644
index 000000000..81f69bada
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/theonion.com.php
@@ -0,0 +1,12 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://www.theonion.com/article/wild-eyed-jim-harbaugh-informs-players-they-must-k-51397?utm_medium=RSS&utm_campaign=feeds',
+ 'body' => array(
+ '//div[@class="content-masthead"]/figure/div/noscript/img',
+ '//div[@class="content-text"]',
+ ),
+ )
+ )
+);