This commit is contained in:
Kovid Goyal 2009-04-20 10:48:48 -07:00
parent 96ec49496e
commit 8dd974ff42
3 changed files with 14 additions and 8 deletions

View File

@ -6,6 +6,8 @@ __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
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' )]

View File

@ -6,6 +6,8 @@ __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
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' )]

View File

@ -6,6 +6,8 @@ __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
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/' )]