diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/linuxinsider.com.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/linuxinsider.com.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/linuxinsider.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/linuxinsider.com.php new file mode 100644 index 00000000..4e0a4cc1 --- /dev/null +++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/linuxinsider.com.php @@ -0,0 +1,20 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'http://www.linuxinsider.com/story/82526.html?rss=1', + 'body' => array( + '//div[@id="story"]', + ), + 'strip' => array( + '//script', + '//h1', + '//div[@id="story-toolbox1"]', + '//div[@id="story-byline"]', + '//div[@id="story"]/p', + '//div[@class="story-advertisement"]', + '//iframe', + ), + ), + ), +); |