summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-16 18:28:11 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-16 18:28:11 +0100
commitf7d566c54c8cb80dc5425eb8d7d48ea02196bf7e (patch)
treee60f3880b804c12daff4c22a80e1bb55167216dc /vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
parentd135f8e9137ed7a18ca7ac1685fd9bd38c4acc30 (diff)
update picofeed
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