diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php new file mode 100644 index 00000000..0acc44ec --- /dev/null +++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php @@ -0,0 +1,15 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'http://www.businessweek.com/articles/2013-09-18/elon-musks-hyperloop-will-work-says-some-very-smart-software', + 'body' => array( + '//div[@id="lead_graphic"]', + '//div[@id="article_body"]', + ), + 'strip' => array( + '//*[contains(@class, "related_item")]', + ), + ), + ), +); |