summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/.wired.com.php
blob: 952b09ac30fe483ef9c4e93fcfdddb1978436075 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
return array(
    'grabber' => array(
        '%.*%' => array(
            'test_url' => 'http://www.wired.com/gamelife/2013/09/ouya-free-the-games/',
            'body' => array(
                '//div[@data-js="gallerySlides"]',
                 '//div[starts-with(@class,"post")]',
            ),
            'strip' => array(
                '//h1',
                '//nav',
                '//button',
                '//figure[starts-with(@class,"rad-slide")]',
                '//figure[starts-with(@class,"end-slate")]',
                '//div[contains(@class,"mobile-")]',
                '//div[starts-with(@class,"mob-gallery-launcher")]',
                '//div[contains(@id,"mobile-")]',
                '//span[contains(@class,"slide-count")]',
                '//div[contains(@class,"show-ipad")]',
                '//img[contains(@id,"-hero-bg")]',
                '//div[@data-js="overlayWrap"]',
                '//ul[contains(@class,"metadata")]',
                '//div[@class="opening center"]',
                '//p[contains(@class="byline-mob"]',
                '//div[@id="o-gallery"]',
                '//div[starts-with(@class,"sm-col")]',
                '//div[contains(@class,"pad-b-huge")]',
                '//a[contains(@class,"visually-hidden")]',
                '//*[@class="social"]',
                '//i',
                '//div[@data-js="mobGalleryAd"]',
                '//div[contains(@class,"footer")]',
                '//div[contains(@data-js,"fader")]',
                '//div[@id="sharing"]',
                '//div[contains(@id,"related")]',
                '//div[@id="most-pop"]',
                '//ul[@id="article-tags"]',
                '//style',
                '//section[contains(@class,"footer")]'
            ),
        )
    )
);