From ecdb7d84eadafccd4223cf235748eedf88886072 Mon Sep 17 00:00:00 2001 From: Christoph Klein Date: Sun, 29 Nov 2015 14:06:58 +0100 Subject: [PATCH] Extend heise recipe Two minor adjustments - add two more heise feeds with articles on software development and open source software - download the print-Version of the artices. This version is easier to read on ebook viewers --- recipes/heise.recipe | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/heise.recipe b/recipes/heise.recipe index a8e41916a4..244196e586 100644 --- a/recipes/heise.recipe +++ b/recipes/heise.recipe @@ -61,5 +61,11 @@ class heiseDe(BasicNewsRecipe): remove_tags_after = [dict(name='div', attrs={'class':'news_foren'})] - feeds = [ ('heise', 'http://www.heise.de/newsticker/heise.rdf') ] + feeds = [ + ('heise online', 'http://www.heise.de/newsticker/heise.rdf'), + ('heise Developer', 'http://www.heise.de/developer/rss/news-atom.xml'), + ('heise open', 'http://www.heise.de/open/news/news-atom.xml') + ] + def get_article_url(self, article): + return article.link + "&view=print"