diff options
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php new file mode 100644 index 000000000..d5e2de811 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php @@ -0,0 +1,17 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'http://arstechnica.com/tech-policy/2015/09/judge-warners-2m-happy-birthday-copyright-is-bogus/', + 'body' => array( + '//section[@id="article-guts"]', + '//div[@class="superscroll-content show"]', + ), + 'strip' => array( + '//figcaption', + '//aside', + '//div[@class="article-expander"]', + ), + ) + ) +); |