Default to "//h1/.." since most website use it

because it is said to be good for SEO. Debug now requires env variable "DEBUG" to be set to something else than "".
This commit is contained in:
2013-02-25 21:36:02 +01:00
parent 253bc27f17
commit ed8a45875c
2 changed files with 5 additions and 21 deletions

12
rules
View File

@@ -1,23 +1,11 @@
LeMonde
http://www.lemonde.fr/rss/une.xml
//*[contains(@class,'article') or contains(@id,'content')]
TehranTimes
http://www.tehrantimes.com/component/ninjarsssyndicator/?feed_id=1&format=raw
//div[@class='article-indent']
BBC
http://feeds.bbci.co.uk/news/rss.xml
//h1/..
FranceInfo
http://www.franceinfo.fr/rss.xml
//h2[@class='chapo']/..
Courrier International
http://www.courrierinternational.com/rss/all/rss.xml
//div[@class='story-content']
Spiegel
http://www.spiegel.de/schlagzeilen/tops/index.rss
//div[@id='spArticleSection']