Add new content downloader rules
This commit is contained in:
parent
242234c0a0
commit
3b8d62a237
@ -333,11 +333,15 @@ Don't forget to send a pull request or a ticket to share your contribution with
|
||||
- *.blog.nytimes.com
|
||||
- *.nytimes.php
|
||||
- *.slate.com
|
||||
- *.wikipedia.org
|
||||
- *.wsj.com
|
||||
- rue89.com
|
||||
- smallhousebliss.com
|
||||
- techcrunch.com
|
||||
- www.bbc.co.uk
|
||||
- www.cnn.com
|
||||
- www.egscomics.com
|
||||
- www.lemonde.fr
|
||||
- www.numerama.com
|
||||
- www.slate.fr
|
||||
- www.theguardian.com
|
||||
|
15
vendor/PicoFeed/Rules/smallhousebliss.com.php
vendored
Normal file
15
vendor/PicoFeed/Rules/smallhousebliss.com.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
return array(
|
||||
'test_url' => 'http://smallhousebliss.com/2013/08/29/house-g-by-lode-architecture/',
|
||||
'body' => array(
|
||||
'//div[@class="single-entry-content"]',
|
||||
),
|
||||
'strip' => array(
|
||||
'//style',
|
||||
'//script',
|
||||
'//*[contains(@class, "gallery")]',
|
||||
'//*[contains(@class, "share")]',
|
||||
'//*[contains(@class, "wpcnt")]',
|
||||
'//*[contains(@class, "entry-meta")]',
|
||||
)
|
||||
);
|
1
vendor/PicoFeed/Rules/www.bbc.co.uk.php
vendored
1
vendor/PicoFeed/Rules/www.bbc.co.uk.php
vendored
@ -8,6 +8,7 @@ return array(
|
||||
'//script',
|
||||
'//form',
|
||||
'//style',
|
||||
'//*[@class="warning"]',
|
||||
'//*[@class="story-date"]',
|
||||
'//*[@class="story-header"]',
|
||||
'//*[@class="story-related"]',
|
||||
|
Loading…
Reference in New Issue
Block a user