summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/onmilwaukee.php
blob: f66ac4b8e491afa43922564a9573e352a2c6bdf0 (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
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://onmilwaukee.com/movies/articles/downerspelunking.html',
            'body' => array(
                '//article[contains(@class, "show")]',
            ),
            'strip' => array(
                '//h1',
                '//div[contains(@class,"-ad")]',
                '//div[contains(@class,"_ad")]',
                '//div[@id="pub_wrapper"]',
                '//div[contains(@class,"share_tools")]',
                '//div[@class="clearfix"]',
                '//div[contains(@class,"image_control")]',
                '//section[@class="ribboned"]',
                '//div[contains(@class,"sidebar")]',
                '//aside[@class="article_tag_list"]',
                '//section[contains(@id,"more_posts")]'
            ),
        ),
    ),
);