mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Implement #4231 (New recipe for Prague Daily Monitor in English)
This commit is contained in:
parent
995a3d09ff
commit
162be5368e
BIN
resources/images/news/praguemonitor.png
Normal file
BIN
resources/images/news/praguemonitor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 921 B |
32
resources/recipes/praguemonitor.recipe
Normal file
32
resources/recipes/praguemonitor.recipe
Normal 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')]
|
Loading…
x
Reference in New Issue
Block a user