Fluter by Armin Geller

This commit is contained in:
Kovid Goyal 2011-08-19 21:57:04 -06:00
parent 16af96badc
commit 039d2ae54f
2 changed files with 70 additions and 31 deletions

View File

@ -6,7 +6,7 @@ class BrasilDeFato(BasicNewsRecipe):
news = True
title = u'Brasil de Fato'
__author__ = 'Alex Mitrani'
description = u'Uma visão popular do Brasil e do mundo.'
description = u'Uma visão popular do Brasil e do mundo.'
publisher = u'SOCIEDADE EDITORIAL BRASIL DE FATO'
category = 'news, politics, Brazil, rss, Portuguese'
oldest_article = 10
@ -27,5 +27,5 @@ class BrasilDeFato(BasicNewsRecipe):
,(u'Internacional', u'http://www.brasildefato.com.br/rss_internacional')
,(u'Entrevista', u'http://www.brasildefato.com.br/rss_entrevista')
,(u'Cultura', u'http://www.brasildefato.com.br/rss_cultura')
,(u'Análise', u'http://www.brasildefato.com.br/rss_analise')
,(u'Análise', u'http://www.brasildefato.com.br/rss_analise')
]

39
recipes/fluter_de.recipe Normal file
View File

@ -0,0 +1,39 @@
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
'''
Fetch fluter.de
'''
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1313693926(BasicNewsRecipe):
title = u'Fluter'
description = 'fluter.de Magazin der Bundeszentrale für politische Bildung/bpb'
language = 'de'
encoding = 'UTF-8'
__author__ = 'Armin Geller' # 2011-08-19
oldest_article = 7
max_articles_per_feed = 50
remove_tags = [
dict(name='div', attrs={'id':["comments"]}),
dict(attrs={'class':['commentlink']}),
]
keep_only_tags = [
dict(name='div', attrs={'class':["grid_8 articleText"]}),
dict(name='div', attrs={'class':["articleTextInnerText"]}),
]
feeds = [
(u'Inhalt:', u'http://www.fluter.de/de/?tpl=907'),
]
extra_css = '.cs_img {margin-right: 10pt;}'