01-17-2011, 06:47 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
kath.net
Hello,
a recipe for kath.net: Code:
class AdvancedUserRecipe1295262156(BasicNewsRecipe): title = u'kath.net' oldest_article = 7 max_articles_per_feed = 100 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;}' |
03-09-2013, 07:04 AM | #2 |
Connoisseur
Posts: 61
Karma: 141502
Join Date: Sep 2010
Device: Kindle Keyboard 3G
|
Hello,
i've modified the recipe of kath.net because there were some encodings problems. 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;}' |
03-20-2013, 04:02 AM | #3 |
Connoisseur
Posts: 61
Karma: 141502
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;}' |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FanFictionDownloader.net | rxmom03 | Calibre | 2 | 01-04-2011 12:03 AM |
Manybooks.net down? | Robotech_Master | Deals and Resources (No Self-Promotion or Affiliate Links) | 12 | 10-23-2008 03:09 PM |
Manybooks.net | Colin Dunstan | Deals and Resources (No Self-Promotion or Affiliate Links) | 8 | 01-29-2005 01:51 PM |
MobileRSS.net | Colin Dunstan | Lounge | 1 | 06-17-2004 12:38 PM |