diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php new file mode 100644 index 00000000..522032fd --- /dev/null +++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php @@ -0,0 +1,25 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'http://www.economist.com/blogs/buttonwood/2017/02/mixed-signals?fsrc=rss', + 'body' => array( + '//article', + ), + 'strip' => array( + '//span[@class="blog-post__siblings-list-header "]', + '//h1', + '//aside', + '//div[@class="blog-post__asideable-wrapper"]', + '//div[@class="share_inline_header"]', + '//div[@id="column-right"]', + '//div[contains(@class,"blog-post__siblings-list-aside")]', + '//div[@class="video-player__wrapper"]', + '//div[@class="blog-post__bottom-panel"]', + '//div[contains(@class,"latest-updates-panel__container")]', + '//div[contains(@class,"blog-post__asideable-content")]', + '//div[@aria-label="Advertisement"]' + ), + ), + ), +); |