summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/publy.ru.php
blob: bcfeeb99e4e678bd7a6f50dca1996388ce21775e (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
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.publy.ru/post/19988',
            'body' => array(
                '//div[@class="singlepost"]',
            ),
            'strip' => array(
                '//script',
                '//form',
                '//style',
                '//*[@class="featured"]',
                '//*[@class="toc_white no_bullets"]',
                '//*[@class="toc_title"]',
                '//*[@class="pba"]',
                '//*[@class="comments"]',
                '//*[contains(@class, "g-single")]',
                '//*[@class="ts-fab-wrapper"]',
                '//*[contains(@class, "wp_rp_wrap")]',
            ),
        ),
    ),
);