summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/bigpicture.ru.php
blob: 55c40894cabe05a4f3322fbb124afe18cbb9b7be (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
28
29
30
31
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://bigpicture.ru/?p=556658',
            'body' => array(
                '//div[@class="article container"]',
            ),
            'strip' => array(
                '//script',
                '//form',
                '//style',
                '//h1',
                '//*[@class="wp-smiley"]',
                '//div[@class="ipmd"]',
                '//div[@class="tags"]',
                '//div[@class="social-button"]',
                '//div[@class="bottom-share"]',
                '//div[@class="raccoonbox"]',
                '//div[@class="yndadvert"]',
                '//div[@class="we-recommend"]',
                '//div[@class="relap-bigpicture_ru-wrapper"]',
                '//div[@id="mmail"]',
                '//div[@id="mobile-ads-cut"]',
                '//div[@id="liquidstorm-alt-html"]',
                '//div[contains(@class, "post-tags")]',
                '//*[contains(text(),"Смотрите также")]',
            ),
        ),
    ),
);