miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bbc.co.uk.php

24 lines
871 B
PHP
Raw Normal View History

<?php
return array(
2015-04-28 18:08:42 +02:00
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.bbc.co.uk/news/world-middle-east-23911833',
'body' => array(
'//div[@class="story-body"]',
'//div[@class="indPost"]'
),
'strip' => array(
'//form',
'//*[@class="warning"]',
'//*[@class="story-date"]',
'//*[@class="story-header"]',
'//*[@class="story-related"]',
'//*[contains(@class, "byline")]',
'//*[contains(@class, "story-feature")]',
'//*[@id="video-carousel-container"]',
'//*[@id="also-related-links"]',
'//*[contains(@class, "share") or contains(@class, "hidden") or contains(@class, "hyper")]',
)
)
)
);