summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/arstechnica.com.php
blob: 55e01ce322231c206662e0a44c81be872bc4e709 (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
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://arstechnica.com/tech-policy/2015/09/judge-warners-2m-happy-birthday-copyright-is-bogus/',
            'body' => array(
                '//article',
            ),
            'strip' => array(
                '//h4[@class="post-upperdek"]',
                '//h1',
                '//ul[@class="lSPager lSGallery"]',
                '//div[@class="lSAction"]',
                '//section[@class="post-meta"]',
                '//figcaption',
                '//aside',
                '//div[@class="gallery-image-credit"]',
                '//section[@class="article-author"]',
                '//*[contains(@id,"social-")]',
                '//div[contains(@id,"footer")]',
            ),
        ),
    ),
);