diff options
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.php | 22 |
1 files changed, 22 insertions, 0 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 new file mode 100644 index 000000000..24f1237bd --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php @@ -0,0 +1,22 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'http://www.thestandard.com.hk/breaking_news_detail.asp?id=67156', + 'body' => array( + '//span[@class="bodyCopy"]', + ), + 'strip' => array( + '//script', + '//br', + '//map[@name="gif_bar"]', + '//img[@usemap=""gif_bar"]', + '//a', + '//span[@class="bodyHeadline"]', + '//i', + '//b', + '//table' + ), + ) + ) +); |