mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
__license__ = 'GPL v3'
|
|
__copyright__ = '2009-2012, 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'
|
|
description = 'programming and human factors - Jeff Atwood'
|
|
category = 'blog, programming'
|
|
publisher = 'Jeff Atwood'
|
|
language = 'en'
|
|
oldest_article = 30
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
use_embedded_content = True
|
|
encoding = 'utf8'
|
|
auto_cleanup = True
|
|
|
|
conversion_options = {
|
|
'comment' : description
|
|
, 'tags' : category
|
|
, 'publisher': publisher
|
|
, 'language' : language
|
|
, 'authors' : publisher
|
|
}
|
|
|
|
remove_tags = [
|
|
dict(name=['object','link'])
|
|
,dict(name='div',attrs={'class':'feedflare'})
|
|
]
|
|
|
|
feeds = [(u'Articles', u'http://feeds2.feedburner.com/codinghorror' )] |