Implement #4231 (New recipe for Prague Daily Monitor in English)

This commit is contained in:
Kovid Goyal 2009-12-16 13:56:02 -07:00
parent 995a3d09ff
commit 162be5368e
2 changed files with 32 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

View File

@ -0,0 +1,32 @@
__license__ = 'GPL v3'
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
'''
praguemonitor.com
'''
from calibre.web.feeds.news import BasicNewsRecipe
class PragueDailyMonitor(BasicNewsRecipe):
title = u'Prague Daily Monitor'
__author__ = u'Darko Miletic'
description = u'Czech news in English'
category = 'news, politics, Czech republic'
publisher = 'Prague Daily Monitor'
oldest_article = 2
max_articles_per_feed = 100
language = 'en'
no_stylesheets = True
use_embedded_content = False
encoding = 'utf-8'
conversion_options = {
'comments' : description
,'tags' : category
,'language' : language
,'publisher' : publisher
}
keep_only_tags = [dict(name='div' , attrs={'id':['content-header','content-area']})]
feeds = [(u'All Articles', u'http://feeds.feedburner.com/PragueDailyMonitor?format=xml')]