diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thestandard.com.hk.php new file mode 100644 index 00000000..1163b345 --- /dev/null +++ b/vendor/miniflux/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( + '//table/tr/td/span[@class="bodyCopy"]', + ), + 'strip' => array( + '//script', + '//br', + '//map[@name="gif_bar"]', + '//img[contains(@usemap,"gif_bar")]', + '//a', + '//span[@class="bodyHeadline"]', + '//i', + '//b', + '//table', + ), + ), + ), +); |