diff --git a/resources/recipes/sg_hu.recipe b/resources/recipes/sg_hu.recipe new file mode 100644 index 0000000000..bdb9aeb86c --- /dev/null +++ b/resources/recipes/sg_hu.recipe @@ -0,0 +1,16 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class SGhu(BasicNewsRecipe): + title = u'SG.hu' + __author__ = 'davotibarna' + description = u'Informatika \xe9s Tudom\xe1ny' + language = 'hu' + oldest_article = 5 + max_articles_per_feed = 100 + no_stylesheets = True + encoding = 'ISO-8859-2' + + feeds = [(u'SG.hu', u'http://www.sg.hu/plain/rss.xml')] + + def print_version(self, url): + return url.replace('cikkek/', 'printer.php?cid=')