Switch to Composer
This commit is contained in:
parent
ce709fec80
commit
fda6e3d811
393 changed files with 14048 additions and 17 deletions
23
vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php
vendored
Normal file
23
vendor/fguillot/picofeed/lib/PicoFeed/Rules/arstechnica.com.php
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?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(
|
||||
'//header/h2',
|
||||
'//section[@id="article-guts"]',
|
||||
'//div[@class="superscroll-content show"]',
|
||||
'//div[@class="gallery"]',
|
||||
),
|
||||
'next_page' => '//span[@class="numbers"]/a',
|
||||
'strip' => array(
|
||||
'//figcaption',
|
||||
'//div[@class="post-meta"]',
|
||||
'//div[@class="gallery-image-credit"]',
|
||||
'//aside',
|
||||
'//div[@class="article-expander"]',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
Reference in a new issue