summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/brewers.mlb.com.php
blob: be406faf7aa73b5c7a8c59017764014d5484eeaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://m.brewers.mlb.com/news/article/161364798',
            'body' => array(
                '//article[contains(@class,"article")]',
            ),
            'strip' => array(
                '//div[contains(@class,"ad-slot")]',
                '//h1',
                '//span[@class="timestamp"]',
                '//div[contains(@class,"contributor-bottom")]',
                '//div[contains(@class,"video")]',
                '//ul[contains(@class,"social")]',
                '//p[@class="tagline"]',
                '//div[contains(@class,"social")]',
                '//div[@class="button-wrap"]',
            ),
        ),
    ),
);