summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php22
1 files changed, 10 insertions, 12 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php
index 7f3281494..d43db2c81 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php
@@ -4,19 +4,17 @@ return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.thestandard.com.hk/breaking_news_detail.asp?id=67156',
- 'body' => array(
- '//span[@class="bodyCopy"]',
- ),
+ 'body' => '//div[contains(@class,"storyBody")]',
'strip' => array(
- '//script',
- '//br',
- '//map[@name="gif_bar"]',
- '//img[@usemap=""gif_bar"]',
- '//a',
- '//span[@class="bodyHeadline"]',
- '//i',
- '//b',
- '//table',
+ '//script',
+ '//br',
+ '//map[@name="gif_bar"]',
+ '//img[contains(@usemap,"gif_bar")]',
+ '//a',
+ '//span[@class="bodyHeadline"]',
+ '//i',
+ '//b',
+ '//table',
),
),
),