mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
commit
cd60913d8b
@ -1,39 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
__license__ = 'GPL v3'
|
|
||||||
__copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
|
|
||||||
'''
|
|
||||||
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'
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user