summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/aljazeera.com.php
blob: c02eb2192f6e0736aecbe005a38f5ec6402e8783 (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://www.aljazeera.com/news/2015/09/xi-jinping-seattle-china-150922230118373.html',
            'body' => array(
                '//article[@id="main-story"]',
            ),
            'strip' => array(
                '//script',
                '//header',
                '//ul',
                '//section[contains(@class,"profile")]',
                '//a[@target="_self"]',
                '//div[contains(@id,"_2")]',
                '//div[contains(@id,"_3")]',
                '//img[@class="viewMode"]',
                '//table[contains(@class,"in-article-item")]',
                '//div[@data-embed-type="Brightcove"]',
                '//div[@class="QuoteContainer"]',
                '//div[@class="BottomByLine"]',
            ),
        ),
    ),
);