diff --git a/recipes/applefobia.recipe b/recipes/applefobia.recipe index 78e4b79b21..9dcc5c2954 100644 --- a/recipes/applefobia.recipe +++ b/recipes/applefobia.recipe @@ -1,16 +1,22 @@ -class BasicUserRecipe1395137685(AutomaticNewsRecipe): +# vim:fileencoding=UTF-8 +from __future__ import unicode_literals +from calibre.web.feeds.news import BasicNewsRecipe + +class BasicUserRecipe1395137685(BasicNewsRecipe): title = u'Applefobia' + __author__ = 'koliberek' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True - language = 'pl' # dwuliterowe oznaczenie języka - remove_empty_feeds = True # usuń puste wiadomości - remove_javascript = True # usuń skrypty JavaScript - conversion_options = { 'tags' : u'newsy, Apple, humor', + language = 'pl' + remove_empty_feeds = True + remove_javascript = True + conversion_options = { + 'tags' : u'newsy, Apple, humor', 'smarten_punctuation' : True, 'authors' : 'Ogrodnik January', 'publisher' : 'Blogspot.pl' - } # opcje konwersji. Tu można ustawić wartość pól w metadanych książki. - reverse_article_order = True # odwraca domyślną kolejność i czytamy od najstarszej do najnowszej a nie odwrotnie. + } + reverse_article_order = True feeds = [(u'Aktualne', u'http://applefobia.blogspot.com/feeds/posts/default')]