summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php
blob: e20860e0ffef64c24b94e9eac77df0d8d2b6db57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'https://medium.com/lessons-learned/917b8b63ae3e',
            'body' => array(
                '//div[@class="section-content"]',
            ),
            'strip' => array(
                '//div[contains(@class,"metabar")]',
                '//img[contains(@class,"thumbnail")]',
                '//h1',
                '//blockquote',
                '//div[@class="aspectRatioPlaceholder-fill"]',
                '//footer'
            ),
        ),
    ),
);