summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
new file mode 100644
index 000000000..ee95495fd
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
@@ -0,0 +1,24 @@
+<?php
+
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://www.bgr.in/news/xiaomi-redmi-3-with-13-megapixel-camera-snapdragon-616-launched-price-specifications-and-features/',
+ 'body' => array(
+ '//div[@class="article-content"]',
+ ),
+ 'strip' => array(
+ '//*[@class="article-meta"]',
+ '//*[@class="contentAdsense300"]',
+ '//*[@class="iwpl-social-hide"]',
+ '//iframe[@class="iframeads"]',
+ '//*[@class="disqus_thread"]',
+ '//*[@class="outb-mobile OUTBRAIN"]',
+ '//*[@class="wdt_smart_alerts"]',
+ '//*[@class="footnote"]',
+ '//*[@id="gadget-widget"]',
+ '//header[@class="article-title entry-header"]',
+ ),
+ ),
+ ),
+); \ No newline at end of file