summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/lifehacker.ru.php
blob: bc140f67f74108333a485eaafb9687ed7b0b0e99 (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://lifehacker.ru/2016/03/03/polymail/',
            'body' => array(
                '//div[@class="post-content"]',
            ),
            'strip' => array(
                '//script',
                '//form',
                '//style',
                '//*[@class="wp-thumbnail-caption"]',
                '//*[contains(@class, "social-likes")]',
                '//*[@class="jp-relatedposts"]',
                '//*[contains(@class, "wpappbox")]',
                '//*[contains(@class, "icon__image")]',
                '//div[@id="hypercomments_widget"]',
            ),
        ),
    ),
);