summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/networkworld.com.php
blob: 94f346ee607044ce0007f10cdfc0b01bf8f4ff04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.networkworld.com/article/2986764/smartphones/samsung-tried-to-troll-apple-fans-waiting-in-line-for-the-iphone-6s.html#tk.rss_all',
            'body' => array(
            '//figure/img[@class="hero-img"]',
            '//section[@class="deck"]',
            '//div[@itemprop="articleBody"] || //div[@itemprop="reviewBody"]',
            '//div[@class="carousel-inside-crop"]',
            ),
            'strip' => array(
            '//aside',
            '//div[@class="credit"]',
            '//div[@class="view-large"]',
            ),
        ),
    ),
);