miniflux-legacy/vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php

26 lines
990 B
PHP
Raw Normal View History

2017-04-05 22:05:48 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.economist.com/blogs/buttonwood/2017/02/mixed-signals?fsrc=rss',
'body' => array(
2017-06-12 03:08:00 +02:00
'//article',
2017-04-05 22:05:48 +02:00
),
'strip' => array(
2017-06-12 03:08:00 +02:00
'//span[@class="blog-post__siblings-list-header "]',
'//h1',
2017-04-05 22:05:48 +02:00
'//aside',
'//div[@class="blog-post__asideable-wrapper"]',
2017-06-12 03:08:00 +02:00
'//div[@class="share_inline_header"]',
'//div[@id="column-right"]',
'//div[contains(@class,"blog-post__siblings-list-aside")]',
2017-04-05 22:05:48 +02:00
'//div[@class="video-player__wrapper"]',
2017-06-12 03:08:00 +02:00
'//div[@class="blog-post__bottom-panel"]',
2017-04-05 22:05:48 +02:00
'//div[contains(@class,"latest-updates-panel__container")]',
2017-06-12 03:08:00 +02:00
'//div[contains(@class,"blog-post__asideable-content")]',
'//div[@aria-label="Advertisement"]'
2017-04-05 22:05:48 +02:00
),
),
),
);