summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/economist.com.php
blob: 522032fd02530d209a2dedf8c356864eb6dcdcc1 (plain)
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
<?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"]'
            ),
        ),
    ),
);