summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php
index 113feb5fa..752e8c217 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.wsj.com.php
@@ -1,11 +1,15 @@
<?php
return array(
- 'test_url' => 'http://online.wsj.com/article/SB10001424127887324108204579023143974408428.html',
- 'body' => array(
- '//div[@class="articlePage"]',
- ),
- 'strip' => array(
- '//*[@id="articleThumbnail_2"]',
- '//*[@class="socialByline"]',
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://online.wsj.com/article/SB10001424127887324108204579023143974408428.html',
+ 'body' => array(
+ '//div[@class="articlePage"]',
+ ),
+ 'strip' => array(
+ '//*[@id="articleThumbnail_2"]',
+ '//*[@class="socialByline"]',
+ )
+ )
)
); \ No newline at end of file