summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.cnn.com.php
blob: 31d03ed9251d8c57d3bfd3e3116a9d102098ad9f (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.cnn.com/2013/08/31/world/meast/syria-civil-war/index.html?hpt=hp_t1',
            'body' => array(
                '//div[@class="cnn_strycntntlft"]',
            ),
            'strip' => array(
                '//div[@class="cnn_stryshrwdgtbtm"]',
                '//div[@class="cnn_strybtmcntnt"]',
                '//div[@class="cnn_strylftcntnt"]',
                '//div[contains(@class, "cnnGalleryContainer")]',
                '//div[contains(@class, "cnn_strylftcexpbx")]',
                '//div[contains(@class, "articleGalleryNavContainer")]',
                '//div[contains(@class, "cnnArticleGalleryCaptionControl")]',
                '//div[contains(@class, "cnnArticleGalleryNavPrevNextDisabled")]',
                '//div[contains(@class, "cnnArticleGalleryNavPrevNext")]',
                '//div[contains(@class, "cnn_html_media_title_new")]',
                '//div[contains(@id, "disqus")]',
            ),
        ),
    ),
);