miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php

24 lines
878 B
PHP
Raw Normal View History

2016-02-10 02:30:07 +01:00
<?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(
2017-04-05 22:05:48 +02:00
'//div[@class="article-content"]',
2016-02-10 02:30:07 +01:00
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//*[@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"]',
2016-02-10 02:30:07 +01:00
),
),
),
2017-04-05 22:05:48 +02:00
);