summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/zdnet.com.php
blob: 79b35ddba465ca295d0b4b6613249c30d369a031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://zdnet.com.feedsportal.com/c/35462/f/675637/s/4a33c93e/sc/11/l/0L0Szdnet0N0Carticle0Cchina0Eus0Eagree0Eon0Ecybercrime0Ecooperation0Eamid0Econtinued0Etension0C0Tftag0FRSSbaffb68/story01.htm',
            'body' => array(
                '//p[@class="summary"]',
                '//div[contains(@class,"storyBody")]',
            ),
            'strip' => array(
                '//*[contains(@class,"ad-")]',
                '//p/span',
                '//script',
                '//p[@class="summary"]',
                '//div[contains(@class,"relatedContent")]',
                '//div[contains(@class,"loader")]',
                '//p[@class="photoDetails"]',
                '//div[@class="thumbnailSlider"]',
                '//div[@class="shortcodeGalleryWrapper"]',
            ),
        ),
    ),
);