Add new content rules

This commit is contained in:
Frédéric Guillot 2013-11-26 21:01:13 -05:00
parent 963287a273
commit c2039bcfc4
3 changed files with 17 additions and 0 deletions

View File

@ -372,6 +372,7 @@ Don't forget to send a pull request or a ticket to share your contribution with
- *.wired.com - *.wired.com
- *.wsj.com - *.wsj.com
- github.com - github.com
- golem.de
- lifehacker.com - lifehacker.com
- lists.* - lists.*
- medium.com - medium.com
@ -379,6 +380,7 @@ Don't forget to send a pull request or a ticket to share your contribution with
- plus.google.com - plus.google.com
- rue89.com - rue89.com
- smallhousebliss.com - smallhousebliss.com
- spiegel.de
- techcrunch.com - techcrunch.com
- www.bbc.co.uk - www.bbc.co.uk
- www.businessweek.com - www.businessweek.com

8
vendor/PicoFeed/Rules/golem.de.php vendored Normal file
View File

@ -0,0 +1,8 @@
<?php
return array(
'test_url' => 'http://www.golem.de/news/breko-telekom-verzoegert-gezielt-den-vectoring-ausbau-1311-102974.html',
'body' => array(
'//header[@class="cluster-header"]',
'//div[@class="formatted"]'
)
);

7
vendor/PicoFeed/Rules/spiegel.de.php vendored Normal file
View File

@ -0,0 +1,7 @@
<?php
return array(
'test_url' => 'http://www.spiegel.de/politik/ausland/afrika-angola-geht-gegen-islam-vor-und-schliesst-moscheen-a-935788.html',
'body' => array(
'//h2[contains(@class, "article-section")]'
)
);