mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
33 lines
905 B
Plaintext
33 lines
905 B
Plaintext
|
|
__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')]
|