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

22 lines
709 B
PHP
Raw Normal View History

<?php
return array(
'test_url' => 'http://www.bbc.co.uk/news/world-middle-east-23911833',
'body' => array(
'//div[@class="story-body"]',
'//div[@class="indPost"]'
),
'strip' => array(
'//script',
'//form',
'//style',
2013-09-01 01:05:19 +02:00
'//*[@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")]',
)
);