summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/factroom.ru.php
blob: a572061d07ab78797a29947b94d9fcb27d7944ea (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
25
26
27
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.factroom.ru/life/20-facts-about-oil',
            'body' => array(
                '//div[@class="post"]',
            ),
            'strip' => array(
                '//script',
                '//form',
                '//style',
                '//h1',
                '//div[@id="yandex_ad2"]',
                '//*[@class="jp-relatedposts"]',
                '//div[contains(@class, "likely-desktop")]',
                '//div[contains(@class, "likely-mobile")]',
                '//p[last()]',
                '//div[contains(@class, "facebook")]',
                '//div[contains(@class, "desktop-underpost-direct")]',
                '//div[contains(@class, "source-box")]',
                '//div[contains(@class, "under-likely-desktop")]',
                '//div[contains(@class, "mobile-down-post")]',
            ),
        ),
    ),
);