summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/chinafile.com.php
blob: 450117b3b8c1f2f1c6c081f84eb3847fc1581c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.chinafile.com/books/shanghai-faithful?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+chinafile%2FAll+%28ChinaFile%29',
            'body' => array(
            '//div[contains(@class,"pane-featured-photo-panel-pane-1")]',
            '//div[contains(@class,"video-above-fold")]',
            '//div[@class="sc-media"]',
            '//div[contains(@class,"field-name-body")]',
            ),
            'strip' => array(
                '//div[contains(@class,"cboxes")]',
                '//div[contains(@class,"l-middle")]',
            ),
        ),
    ),
);