diff --git a/src/calibre/web/feeds/recipes/recipe_coding_horror.py b/src/calibre/web/feeds/recipes/recipe_coding_horror.py index ee2d0f3cf7..2caa4f2280 100644 --- a/src/calibre/web/feeds/recipes/recipe_coding_horror.py +++ b/src/calibre/web/feeds/recipes/recipe_coding_horror.py @@ -6,6 +6,8 @@ __copyright__ = '2009, Darko Miletic ' www.codinghorror.com/blog/ ''' +from calibre.web.feeds.news import BasicNewsRecipe + class CodingHorror(BasicNewsRecipe): title = 'Coding Horror' __author__ = 'Darko Miletic' @@ -25,13 +27,13 @@ class CodingHorror(BasicNewsRecipe): , '--publisher', publisher , '--author' , author ] - + html2epub_options = 'publisher="' + publisher + '"\ncomments="' + description + '"\ntags="' + category + '"\nauthors="' + author + '"' remove_tags = [ dict(name=['object','link']) ,dict(name='div',attrs={'class':'feedflare'}) ] - + feeds = [(u'Articles', u'http://feeds2.feedburner.com/codinghorror' )] - \ No newline at end of file + diff --git a/src/calibre/web/feeds/recipes/recipe_scott_hanselman.py b/src/calibre/web/feeds/recipes/recipe_scott_hanselman.py index 7b80a5b73f..a97946a018 100644 --- a/src/calibre/web/feeds/recipes/recipe_scott_hanselman.py +++ b/src/calibre/web/feeds/recipes/recipe_scott_hanselman.py @@ -6,6 +6,8 @@ __copyright__ = '2009, Darko Miletic ' www.hanselman.com/blog/ ''' +from calibre.web.feeds.news import BasicNewsRecipe + class ScottHanselman(BasicNewsRecipe): title = "Scott Hanselman's Computer Zen" __author__ = 'Darko Miletic' @@ -25,13 +27,13 @@ class ScottHanselman(BasicNewsRecipe): , '--publisher', publisher , '--author' , author ] - + html2epub_options = 'publisher="' + publisher + '"\ncomments="' + description + '"\ntags="' + category + '"\nauthors="' + author + '"' remove_tags = [ dict(name=['object','link']) ,dict(name='div',attrs={'class':'feedflare'}) ] - + feeds = [(u'Articles', u'http://feeds2.feedburner.com/ScottHanselman' )] - \ No newline at end of file + diff --git a/src/calibre/web/feeds/recipes/recipe_stackoverflow.py b/src/calibre/web/feeds/recipes/recipe_stackoverflow.py index 00fe7ce3e9..53f4642f9e 100644 --- a/src/calibre/web/feeds/recipes/recipe_stackoverflow.py +++ b/src/calibre/web/feeds/recipes/recipe_stackoverflow.py @@ -6,6 +6,8 @@ __copyright__ = '2009, Darko Miletic ' blog.stackoverflow.com ''' +from calibre.web.feeds.news import BasicNewsRecipe + class StackOverflowBlog(BasicNewsRecipe): title = 'Stack Overflow - Blog' __author__ = 'Darko Miletic' @@ -23,8 +25,8 @@ class StackOverflowBlog(BasicNewsRecipe): , '--category' , category , '--publisher', publisher ] - + html2epub_options = 'publisher="' + publisher + '"\ncomments="' + description + '"\ntags="' + category + '"' feeds = [(u'Articles', u'http://blog.stackoverflow.com/feed/' )] - \ No newline at end of file +