From 6fee05be5cb47526fa3fa83446377a7708ad4118 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 18 Sep 2011 19:40:19 -0600 Subject: [PATCH] Fix IDG.se --- recipes/idg_se.recipe | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/recipes/idg_se.recipe b/recipes/idg_se.recipe index b4e86f9643..e5f0203e09 100644 --- a/recipes/idg_se.recipe +++ b/recipes/idg_se.recipe @@ -4,19 +4,19 @@ from calibre.web.feeds.news import BasicNewsRecipe class IDGse(BasicNewsRecipe): title = 'IDG' - description = 'IDG.se' - language = 'se' __author__ = 'zapt0' + language = 'sv' + description = 'IDG.se' oldest_article = 1 - max_articles_per_feed = 40 + max_articles_per_feed = 256 no_stylesheets = True encoding = 'ISO-8859-1' remove_javascript = True - feeds = [(u'Senaste nytt',u'http://feeds.idg.se/idg/vzzs')] + feeds = [(u'Dagens IDG-nyheter',u'http://feeds.idg.se/idg/ETkj?format=xml')] def print_version(self,url): - return url + '?articleRenderMode=print&m=print' + return url + '?articleRenderMode=print&m=print' def get_cover_url(this): return 'http://idgmedia.idg.se/polopoly_fs/2.3275!images/idgmedia_logo_75.jpg' @@ -30,4 +30,3 @@ class IDGse(BasicNewsRecipe): dict(name='div', attrs={'id':['preamble_ad']}), dict(name='ul', attrs={'class':['share']}) ] -