View Single Post
Old 08-19-2011, 05:50 PM   #2
Divingduck
Fanatic
Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.Divingduck can talk all four legs off a donkey... then persuade it to go for a walk.
 
Posts: 562
Karma: 124000
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
If you like, you can use this one:

Spoiler:


__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;}'


Last edited by Divingduck; 08-20-2011 at 12:02 PM. Reason: put in spoiler
Divingduck is offline   Reply With Quote