mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Carta
This commit is contained in:
parent
ccc3be19ac
commit
577e6337ae
@ -1,30 +1,32 @@
|
|||||||
__license__ = 'GPL v3'
|
#!/usr/bin/env python2
|
||||||
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
# vim:fileencoding=utf-8
|
||||||
|
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||||
'''
|
|
||||||
Fetch Carta.info.
|
|
||||||
'''
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net, Armin Geller>'
|
||||||
|
|
||||||
|
|
||||||
class Carta(BasicNewsRecipe):
|
class Carta(BasicNewsRecipe):
|
||||||
|
# Update 2017-09-01
|
||||||
|
# Armin Geller
|
||||||
|
|
||||||
title = u'Carta'
|
title = u'Carta'
|
||||||
description = 'News about electronic publishing'
|
description = 'Authors blog for politics, economics and digital community'
|
||||||
__author__ = 'Armin Geller' # AGe Update 2014-09-28
|
__author__ = 'Armin Geller' # AGe Update 2017-09-01
|
||||||
|
|
||||||
timefmt = ' [%a %d %b %Y]'
|
timefmt = ' [%a %d %b %Y]'
|
||||||
oldest_article = 7
|
oldest_article = 14
|
||||||
max_articles_per_feed = 50
|
max_articles_per_feed = 50
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
|
remove_empty_feeds = True
|
||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
language = 'de'
|
language = 'de'
|
||||||
|
|
||||||
cover_url = 'http://carta.info/carta/wp-content/uploads/2012/09/gross.jpg'
|
cover_url = 'http://www.carta.info/wp-content/themes/carta2014/img/carta-logo.svg' # AGe Update 2014-10-05 new cover
|
||||||
masthead_url = 'http://upload.wikimedia.org/wikipedia/de/b/ba/Carta_logo.png'
|
masthead_url = 'http://upload.wikimedia.org/wikipedia/de/b/ba/Carta_logo.png'
|
||||||
extra_css = '''
|
# masthead_url ='http://www.carta.info/wp-content/themes/carta2014/img/carta-logo.svg'
|
||||||
|
extra_css = '''
|
||||||
h2 {font-size: 1.3em; font-style: italic}
|
h2 {font-size: 1.3em; font-style: italic}
|
||||||
.excerpt {font-size: 1.2em; font-style: italic}
|
.excerpt {font-size: 1.2em; font-style: italic}
|
||||||
'''
|
'''
|
||||||
@ -38,4 +40,10 @@ class Carta(BasicNewsRecipe):
|
|||||||
dict(name='ul', attrs={'class': 'meta'}),
|
dict(name='ul', attrs={'class': 'meta'}),
|
||||||
]
|
]
|
||||||
|
|
||||||
feeds = [(u'Carta', u'http://feeds2.feedburner.com/carta-standard-rss')]
|
feeds = [
|
||||||
|
(u'CARTA - Standard', u'http://feeds2.feedburner.com/carta-standard-rss'),
|
||||||
|
(u'CARTA - Homepage', u'http://feeds2.feedburner.com/carta-homepage-rss'),
|
||||||
|
(u'CARTA - Agenda', u'http://feeds2.feedburner.com/carta-agenda-rss'),
|
||||||
|
(u'CARTA - Ökonomie', u'http://feeds2.feedburner.com/carta-oekonomie-rss'),
|
||||||
|
(u'CARTA - Medien', u'http://feeds2.feedburner.com/carta-medien-rss'),
|
||||||
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user