View Single Post
Old 02-05-2013, 04:25 AM   #3
Divingduck
Guru
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 745
Karma: 214138
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Here is an update for this small recipe

Spoiler:
Code:
__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' # 2013-02-05 V3

    oldest_article = 7  
    max_articles_per_feed = 50
    
    feeds =  [
               (u'Inhalt:', u'http://www.fluter.de/de/?tpl=907'),
              ]
    
    extra_css = '.cs_img {margin-right: 10pt;}'

    def print_version(self, url):
        return url + '?tpl=1260'


Best regards, DivingDuck
Attached Files
File Type: zip Fluter_AGe V3.zip (589 Bytes, 84 views)
Divingduck is offline   Reply With Quote