summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thehindu.com.php
blob: 1e6735ba44d5e91131c7ef08e0f3862912ea11d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.thehindu.com/sci-tech/science/why-is-the-shape-of-cells-in-a-honeycomb-always-hexagonal/article7692306.ece?utm_source=RSS_Feed&utm_medium=RSS&utm_campaign=RSS_Syndication',
            'body' => array(
                '//div/img[@class="main-image"]',
                '//div[@class="photo-caption"]',
                '//div[@class="articleLead"]',
                '//p',
                '//span[@class="upper"]',
            ),
            'strip' => array(
                '//div[@id="articleKeywords"]',
                '//div[@class="photo-source"]',
            ),
        ),
    ),
);