Switch to Composer
This commit is contained in:
parent
ce709fec80
commit
fda6e3d811
393 changed files with 14048 additions and 17 deletions
21
vendor/fguillot/picofeed/lib/PicoFeed/Rules/recode.net.php
vendored
Normal file
21
vendor/fguillot/picofeed/lib/PicoFeed/Rules/recode.net.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
'grabber' => array(
|
||||
'%.*%' => array(
|
||||
'test_url' => 'http://recode.net/2015/09/26/big-tech-rolls-out-red-carpet-for-indian-prime-minister-lobbies-behind-closed-doors/',
|
||||
'body' => array(
|
||||
'//img[contains(@class,"attachment-large")]',
|
||||
'//div[contains(@class,"postarea")]',
|
||||
'//li[@class,"author"]',
|
||||
),
|
||||
'strip' => array(
|
||||
'//script',
|
||||
'//div[contains(@class,"sharedaddy")]',
|
||||
'//div[@class="post-send-off"]',
|
||||
'//div[@class="large-12 columns"]',
|
||||
'//div[contains(@class,"inner-related-article")]',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
Reference in a new issue