summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php
new file mode 100644
index 000000000..4ea41661d
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php
@@ -0,0 +1,18 @@
+<?php
+
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://www.fakingnews.firstpost.com/2016/01/engineering-student-creates-record-in-a-decade-becomes-the-first-to-completely-exhaust-ball-pen-refill/',
+ 'body' => array(
+ '//div[@class="entry"]',
+ ),
+ 'strip' => array(
+ '//*[@class="socialshare_bar"]',
+ '//*[@class="authorbox"]',
+ '//*[@class="cf5_rps"]',
+ '//*[@class="60563 fb-comments fb-social-plugin"]',
+ ),
+ ),
+ ),
+); \ No newline at end of file