summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/crash.net.php
blob: 9d9b35a6680a3ddf228434ec5303df9b0b5babfb (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
26
27
28
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.crash.net/motogp/interview/247550/1/exclusive-andrea-dovizioso-interview.html',
            'body' => array(
                '//div[@id="content"]',
            ),
            'strip' => array(
                '//script',
                '//style',
                '//*[@title="Social Networking"]',
                '//*[@class="crash-ad2"]',
                '//*[@class="clearfix"]',
                '//*[@class="crash-ad2"]',
                '//*[contains(@id, "divCB"]',
                '//*[@class="pnlComment"]',
                '//*[@class="comments-tabs"]',
                '//*[contains(@class, "ad-twocol"]',
                '//*[@class="stories-list"]',
                '//*[contains(@class, "btn")]',
                '//*[@class="content"]',
                '//h3',
            ),
        ),
    ),
);