summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/muckrock.com.php
blob: 9e354a36d6dad95713ac4d0b2cb75bc6e39dc469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'https://www.muckrock.com/news/archives/2016/jan/13/5-concerns-private-prisons/',
            'body' => array(
                '//div[@class="content"]',
            ),
            'strip' => array(
                '//div[@class="newsletter-widget"]',
                '//div[@class="contributors"]',
                '//time',
                '//h1',
                '//div[@class="secondary"]',
                '//aside',
                '//div[@class="articles__related"]'
            ),
        ),
    ),
);