Add more grabber rules: dozodomo.com, ffworld.com, kanpai.fr and lejapon.fr

This commit is contained in:
Frédéric Guillot 2014-03-19 20:10:11 -04:00
parent 61158a30e0
commit 7a3e8512b6
5 changed files with 46 additions and 42 deletions

View File

@ -55,6 +55,7 @@ People who sent a pull-request, report a bug, make a new theme or share a super
- Eauland: https://github.com/eauland
- Félix: https://github.com/dysosmus
- Geriel Castro: https://github.com/GerielCastro
- Hika0: https://github.com/hika0
- Horsely: https://github.com/horsley
- Ing. Jan Kaláb: https://github.com/Pitel
- Itoine: https://github.com/itoine
@ -397,46 +398,6 @@ Don't forget to send a pull request or a ticket to share your contribution with
### List of content grabber rules
**If you want to add new rules, just open a ticket and I will do it.**
Rules are stored here: [vendor/PicoFeed/Rules](https://github.com/fguillot/miniflux/tree/master/vendor/PicoFeed/Rules)
- *.blog.lemonde.fr
- *.blog.nytimes.com
- *.igen.fr
- *.nytimes.com
- *.phoronix.com
- *.slate.com
- *.theguardian.com
- *.wikipedia.org
- *.wired.com
- *.wsj.com
- consomac.fr
- github.com
- golem.de
- ing.dk
- karriere.jobfinder.dk
- lesjoiesducode.fr
- lifehacker.com
- lists.*
- medium.com
- pastebin.com
- plus.google.com
- rue89.com
- smallhousebliss.com
- spiegel.de
- techcrunch.com
- version2.dk
- www.bbc.co.uk
- www.bdgest.com
- www.businessweek.com
- www.cnn.com
- www.egscomics.com
- www.forbes.com
- www.futura-sciences.com
- www.lemonde.fr
- www.lepoint.fr
- www.mac4ever.com
- www.npr.org
- www.numerama.com
- www.pcinpact.com
- www.slate.fr
- www.universfreebox.com
If you want to add new rules, just open a ticket and I will do it.

11
vendor/PicoFeed/Rules/dozodomo.com.php vendored Normal file
View File

@ -0,0 +1,11 @@
<?php
return array(
'test_url' => 'http://dozodomo.com/bento/2014/03/04/lart-des-maki-de-takayo-kiyota/',
'body' => array(
'//div[@class="joke"]',
'//div[@class="story-cover"]',
'//div[@class="story-content"]',
),
'strip' => array(
)
);

9
vendor/PicoFeed/Rules/ffworld.com.php vendored Normal file
View File

@ -0,0 +1,9 @@
<?php
return array(
'test_url' => 'http://www.ffworld.com/?rub=news&page=voir&id=2709',
'body' => array(
'//div[@class="news_body"]',
),
'strip' => array(
)
);

9
vendor/PicoFeed/Rules/kanpai.fr.php vendored Normal file
View File

@ -0,0 +1,9 @@
<?php
return array(
'test_url' => 'http://www.kanpai.fr/japon/comment-donner-lheure-en-japonais.html',
'body' => array(
'//div[@class="single-left"]',
),
'strip' => array(
)
);

14
vendor/PicoFeed/Rules/lejapon.fr.php vendored Normal file
View File

@ -0,0 +1,14 @@
<?php
return array(
'test_url' => 'http://lejapon.fr/guide-voyage-japon/5223/tokyo-sous-la-neige.htm',
'body' => array(
'//div[@class="entry"]'
),
'strip' => array(
'//script',
'//*[contains(@class, "addthis_toolbox")]',
'//*[contains(@class, "addthis_default_style")]',
'//*[@class="navigation small"]',
'//*[@id="related"]',
)
);