The Old New Thing by Darko Miletic

This commit is contained in:
Kovid Goyal 2010-04-29 07:44:21 -06:00
parent 52b3219456
commit 41e696eba1
2 changed files with 34 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

View File

@ -0,0 +1,34 @@
__license__ = 'GPL v3'
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
'''
blogs.msdn.com/oldnewthing
'''
from calibre.web.feeds.news import BasicNewsRecipe
class OldNewThing(BasicNewsRecipe):
title = 'The Old New Thing'
__author__ = 'Darko Miletic'
description = 'Famous blog by Windows guru Raymond Chen'
oldest_article = 15
max_articles_per_feed = 100
language = 'en'
encoding = 'utf-8'
no_stylesheets = True
use_embedded_content = False
publication_type = 'blog'
extra_css = ' body{font-family: Verdana,Arial,Helvetica,sans-serif} .code{font-family: "Lucida Console",monospace} '
conversion_options = {
'comment' : description
, 'tags' : 'blog, windows, microsoft, programming'
, 'publisher': 'Raymond Chen'
, 'language' : language
}
remove_attributes = ['width','height']
keep_only_tags = [dict(attrs={'class':['postsub','comment']})]
feeds = [(u'Posts', u'http://blogs.msdn.com/oldnewthing/rss.xml')]