summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php20
1 files changed, 12 insertions, 8 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php
index 1ac90a3e6..1f2ad2578 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.businessweek.com.php
@@ -1,11 +1,15 @@
<?php
return 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")]',
- ),
+ '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")]',
+ ),
+ )
+ )
);