summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/discovermagazine.com.php
blob: ae0dfe71953066a9f94fe94579ceb1d9946936c3 (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
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://blogs.discovermagazine.com/neuroskeptic/2017/01/25/publishers-jeffrey-beall/',
            'body' => array(
            '//div[@class="contentWell"]',
            ),
            'strip' => array(
            '//h1',
            '//div[@class="breadcrumbs"]',
            '//div[@class="mobile"]',
            '//div[@class="fromIssue"]',
            '//div[contains(@class,"belowDeck")]',
            '//div[@class="meta"]',
            '//div[@class="shareIcons"]',
            '//div[@class="categories"]',
            '//div[@class="navigation"]',
            '//div[@class="heading"]',
            '//div[contains(@id,"-ad")]',
            '//div[@class="relatedArticles"]',
            '//div[@id="disqus_thread"]'
            ),
         ),
    ),
);