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 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php index 667b90ad1..d4919a2da 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php @@ -5,13 +5,18 @@ return 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"]', + '//header/h2', + '//section[@id="article-guts"]', + '//div[@class="superscroll-content show"]', + '//div[@class="gallery"]', ), + 'next_page' => '//span[@class="numbers"]/a', 'strip' => array( - '//figcaption', - '//aside', - '//div[@class="article-expander"]', + '//figcaption', + '//div[@class="post-meta"]', + '//div[@class="gallery-image-credit"]', + '//aside', + '//div[@class="article-expander"]', ), ), ), |