Read tomshardware on your iPad or Kindle in no time. Click download to load the free ebook on your reader.

Check out all the available public recipes or write your own with these quick start guides. ReadBeam is built on calibre, so everything in the docs and the fora applies here as well.

Download for free »

computer news in german

Language: de

Requires Subscription: No, it's available as free ebook

Schedule Every morning

			  __license__   = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'

'''
Fetch tomshardware.
'''

from calibre.web.feeds.news import BasicNewsRecipe


class cdnet(BasicNewsRecipe):

    title = 'tomshardware'
    description = 'computer news in german'
    __author__ = 'Oliver Niesner'
    use_embedded_content   = False
    timefmt = ' [%d %b %Y]'
    max_articles_per_feed = 50
    no_stylesheets = True
    encoding = 'utf-8'
    language = 'de'


    remove_tags = [dict(id='outside-advert'),
		   dict(id='advertRightWhite'),
		   dict(id='header-advert'),
		   dict(id='header-banner'),
		   dict(id='header-menu'),
		   dict(id='header-top'),
		   dict(id='header-tools'),
		   dict(id='nbComment'),
		   dict(id='commentTools'),
		   dict(id='internalSidebar'),
		   dict(id='header-news-infos'),
		   dict(id='header-news-tools'),
		   dict(id='breadcrumbs'),
		   dict(id='emailTools'),
		   dict(id='bookmarkTools'),
		   dict(id='printTools'),
		   dict(id='header-nextNews'),
		   dict(id='commentsBox'),
		   dict(id='showComments'),
		   dict(id='footer'),
		   dict(id=''),
		   dict(name='div', attrs={'class':'pyjama'}),
		   dict(name='div', attrs={'class':'basicCentral'}),
		   dict(name='li', attrs={'class':'simplePagination-previous'}),
		   dict(name='form', attrs={'id':'commentForm'}),
		   dict(name='href', attrs={'class':'comment'}),
		   dict(name='div', attrs={'class':'greyBoxR clearfix'}),
		   dict(name='div', attrs={'class':'greyBoxL clearfix'}),
		   dict(name='div', attrs={'class':'greyBox clearfix'}),
		   dict(name='div', attrs={'class':'labelized'}),
		   dict(id='')]
    #remove_tags_before = [dict(id='header-news-title')]
    remove_tags_after = [dict(name='div', attrs={'class':'labelized'})]
    #remove_tags_after = [dict(name='div', attrs={'class':'intelliTXT'})]

    feeds =  [ ('tomshardware', 'http://www.tomshardware.com/de/feeds/rss2/tom-s-hardware-de,12-1.xml') ]