diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/upi.com.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/upi.com.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/upi.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/upi.com.php new file mode 100644 index 00000000..ec8d1a1a --- /dev/null +++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/upi.com.php @@ -0,0 +1,15 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'http://www.upi.com/Top_News/US/2015/09/26/Tech-giants-Hollywood-stars-among-guests-at-state-dinner-for-Chinas-Xi-Jinping/4541443281006/', + 'body' => array( + '//div[@class="img"]', + '//div/article[@itemprop="articleBody"]', + ), + 'strip' => array( + '//div[@align="center"]', + ), + ), + ), +); |