From a97772aab9bfdea937eaccc262c070d48a2f62da Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Wed, 29 Oct 2014 21:35:59 +0100 Subject: [PATCH 1/2] add Planet Python --- recipes/planet_python.recipe | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 recipes/planet_python.recipe diff --git a/recipes/planet_python.recipe b/recipes/planet_python.recipe new file mode 100644 index 0000000000..47866b3433 --- /dev/null +++ b/recipes/planet_python.recipe @@ -0,0 +1,9 @@ +from calibre.web.feeds.news import AutomaticNewsRecipe + +class BasicUserRecipe(AutomaticNewsRecipe): + title = u'Planet Python' + language = 'en' + __author__ = 'Jelle van der Waa' + oldest_article = 10 + max_articles_per_feed = 100 + feeds = [(u'Planet Python', u'http://planetpython.org/rss20.xml')] From a1260c3f983ae5d5aafb56761b3123b85ca782af Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Wed, 29 Oct 2014 21:40:48 +0100 Subject: [PATCH 2/2] do not mix tabs and spaces --- recipes/planet_python.recipe | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes/planet_python.recipe b/recipes/planet_python.recipe index 47866b3433..82d4af9789 100644 --- a/recipes/planet_python.recipe +++ b/recipes/planet_python.recipe @@ -1,9 +1,9 @@ from calibre.web.feeds.news import AutomaticNewsRecipe class BasicUserRecipe(AutomaticNewsRecipe): - title = u'Planet Python' - language = 'en' - __author__ = 'Jelle van der Waa' - oldest_article = 10 - max_articles_per_feed = 100 - feeds = [(u'Planet Python', u'http://planetpython.org/rss20.xml')] + title = u'Planet Python' + language = 'en' + __author__ = 'Jelle van der Waa' + oldest_article = 10 + max_articles_per_feed = 100 + feeds = [(u'Planet Python', u'http://planetpython.org/rss20.xml')]