summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/linuxinsider.com.php
blob: 4e0a4cc1ce7f1f542637dab891c5d724308fe256 (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' => 'http://www.linuxinsider.com/story/82526.html?rss=1',
            'body' => array(
                '//div[@id="story"]',
            ),
            'strip' => array(
                '//script',
                '//h1',
                '//div[@id="story-toolbox1"]',
                '//div[@id="story-byline"]',
                '//div[@id="story"]/p',
                '//div[@class="story-advertisement"]',
                '//iframe',
            ),
        ),
    ),
);