diff --git a/resources/recipes/aftenposten.recipe b/resources/recipes/aftenposten.recipe new file mode 100644 index 0000000000..304c7c0e02 --- /dev/null +++ b/resources/recipes/aftenposten.recipe @@ -0,0 +1,17 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class Aftenposten(BasicNewsRecipe): + title = u'Aftenposten' + __author__ = 'davotibarna' + description = 'Norske nyheter' + language = 'no' + oldest_article = 5 + max_articles_per_feed = 100 + no_stylesheets = True + encoding = 'ISO-8859-1' + + feeds = [(u'Aftenposten', u'http://www.aftenposten.no/eksport/rss-1_0/')] + + def print_version(self, url): + return url.replace('#xtor=RSS-3', '?service=print') +