summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/e-w-e.ru.php
blob: 8139cc9ad873ae6ee52938031f33ef09fbe035f5 (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://e-w-e.ru/16-prekrasnyx-izobretenij-zhenshhin/',
            'body' => array(
                '//div[contains(@class, "post_text")]',
            ),
            'strip' => array(
                '//script',
                '//form',
                '//style',
                '//*[@class="views_post"]',
                '//*[@class="adman_mobile"]',
                '//*[@class="adman_desctop"]',
                '//*[contains(@rel, "nofollow")]',
                '//*[contains(@class, "wp-smiley")]',
                '//*[contains(text(),"Источник:")]',
            ),
        ),
    ),
);