/usr/share/php/PicoFeed/Rules/www.bbc.co.uk.php is in php-picofeed 0.1.18-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.bbc.co.uk/news/world-middle-east-23911833',
'body' => array(
'//div[@class="story-body__inner"] | //div[@class="article"]',
'//div[@class="indPost"]',
),
'strip' => array(
'//form',
'//div[@id="headline"]',
'//*[@class="warning"]',
'//span[@class="off-screen"]',
'//span[@class="story-image-copyright"]',
'//ul[@class="story-body__unordered-list"]',
'//div[@class="ad_wrapper"]',
'//div[@id="article-sidebar"]',
'//div[@class="data-table-outer"]',
'//*[@class="story-date"]',
'//*[@class="story-header"]',
'//figure[contains(@class,"has-caption")]',
'//*[@class="story-related"]',
'//*[contains(@class, "byline")]',
'//p[contains(@class, "media-message")]',
'//*[contains(@class, "story-feature")]',
'//*[@id="video-carousel-container"]',
'//*[@id="also-related-links"]',
'//*[contains(@class, "share") or contains(@class, "hidden") or contains(@class, "hyper")]',
),
),
),
);
|