#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Hiroshi Miura ' ''' www.h-online.com ''' from calibre.web.feeds.news import BasicNewsRecipe class TheHeiseOnline(BasicNewsRecipe): title = u'The H' __author__ = 'Hiroshi Miura' oldest_article = 3 description = 'In association with Heise Online' publisher = 'Heise Media UK Ltd.' category = 'news, technology, security, OSS, internet' max_articles_per_feed = 100 language = 'en' encoding = 'utf-8' conversion_options = { 'comment' : description ,'tags' : category ,'publisher': publisher ,'language' : language } feeds = [ (u'The H News Feed', u'http://www.h-online.com/news/atom.xml') ] cover_url = 'http://www.h-online.com/icons/logo_theH.gif' remove_tags = [ dict(id="logo"), dict(id="footer") ] def print_version(self, url): return url + '?view=print'