Thread: kath.net
View Single Post
Old 03-20-2013, 04:02 AM   #3
msel
Connoisseur
msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.
 
msel's Avatar
 
Posts: 74
Karma: 143132
Join Date: Sep 2010
Device: Kindle Keyboard 3G
Hello,

the kath.net site has a rebuild, so the recipe need to be update:

Code:
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1295262156(BasicNewsRecipe):
    title          = u'kath.net'
    __author__     = 'Bobus'
    description    = u'Katholische Nachrichten'
    oldest_article = 7
    language = 'de'
    max_articles_per_feed = 100
    no_stylesheets = True
    auto_cleanup = True
    encoding='iso-8859-1'

    feeds          = [(u'kath.net', u'http://www.kath.net/2005/xml/index.xml')]

    def print_version(self, url):
        return url+"/print/yes"

extra_css = 'td.textb {font-size: medium;}'
msel is offline   Reply With Quote