diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/biztimes.com.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/biztimes.com.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/biztimes.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/biztimes.com.php new file mode 100644 index 00000000..d21aa98c --- /dev/null +++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/biztimes.com.php @@ -0,0 +1,22 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'https://www.biztimes.com/2017/02/10/settlement-would-revive-fowler-lake-condo-project-in-oconomowoc/', + 'body' => array( + '//h2/span[@class="subhead"]', + '//div[contains(@class,"article-content")]', + ), + 'strip' => array( + '//script', + '//div[contains(@class,"mobile-article-content")]', + '//div[contains(@class,"sharedaddy")]', + '//div[contains(@class,"author-details")]', + '//div[@class="row ad"]', + '//div[contains(@class,"relatedposts")]', + '//div[@class="col-lg-12"]', + '//div[contains(@class,"widget")]', + ), + ), + ), +); |