diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-02-02 15:39:47 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-02-02 15:39:47 -0800 |
commit | bab2fb3899cc243e2f67ccf787f3657b250f6e61 (patch) | |
tree | 07ddb755330b320fbd2e2803fdb978cfff3bd452 /vendor/miniflux/picofeed/lib/PicoFeed/Rules/cnet.com.php | |
parent | 5c4d06d26b808ea50d08f83ae02ac82373fd2208 (diff) |
Remove dependency on PicoFeed
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/cnet.com.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/cnet.com.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/cnet.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/cnet.com.php deleted file mode 100644 index 60767a53..00000000 --- a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/cnet.com.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -return array( - 'grabber' => array( - '%^/products.*%' => array( - 'test_url' => 'http://www.cnet.com/products/fibaro-flood-sensor/#ftag=CADf328eec', - 'body' => array( - '//li[contains(@class,"slide first"] || //figure[contains(@class,(promoFigure))]', - '//div[@class="quickInfo"]', - '//div[@class="col-6 ratings"]', - '//div[@id="editorReview"]', - ), - 'strip' => array( - '//script', - '//a[@class="clickToEnlarge"]', - '//div[@section="topSharebar"]', - '//div[contains(@class,"related")]', - '//div[contains(@class,"ad-")]', - '//div[@section="shortcodeGallery"]', - ), - ), - '%.*%' => array( - 'test_url' => 'http://cnet.com.feedsportal.com/c/34938/f/645093/s/4a340866/sc/28/l/0L0Scnet0N0Cnews0Cman0Eclaims0Eonline0Epsychic0Emade0Ehim0Ebuy0E10Emillion0Epowerball0Ewinning0Eticket0C0Tftag0FCAD590Aa51e/story01.htm', - 'body' => array( - '//p[@itemprop="description"]', - '//div[@itemprop="articleBody"]', - ), - 'strip' => array( - '//script', - '//a[@class="clickToEnlarge"]', - '//div[@section="topSharebar"]', - '//div[contains(@class,"related")]', - '//div[contains(@class,"ad-")]', - '//div[@section="shortcodeGallery"]', - ), - ), - ), -); |