Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes


Thread Tools Search this Thread
Old 05-14-2011, 01:45 PM   #1
schuster doesn't litterschuster doesn't litter
Posts: 116
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
recipe for Heise Newsticker - german

import string, re
from calibre import strftime
from import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import BeautifulSoup
class AdvancedUserRecipe1303841067(BasicNewsRecipe):

    title          = u'Heise Newsticker'
    __author__  = 'schuster'
    remove_tags_before = dict(id='mitte_news')
    remove_tags_after  = dict(id='ivw_pixel_intern')
    remove_tags = [dict(attrs={'class':['navi_top_logo', 'post-tools', 'side_tool', 'nextArticleLink clearfix']}),
                dict(id=['navi_top_container', 'toolsRight', 'articleInline', 'navigation', 'archive', 'side_search', 'blog_sidebar', 'side_tool', 'side_index', 'Verlinken', 'vorheriger', 'LESERKOMMENTARE', 'bei facebook', 'bei twitter', 'Schreiben Sie jetzt Ihre Meinung:', 'Thema', 'Ihr Beitrag', 'Ihr Name', 'Ich möchte über weitere Lesermeinungen zu diesem Artikel per E-Mail informiert werden.', 'banneroben', 'bannerrechts', 'inserieren', 'stellen', 'auto', 'immobilien', 'kleinanzeige', 'tiere', 'ferienwohnung', 'NGZ Card', 'Mediengruppe RP', 'Werben', 'Newsletter', 'Wetter', 'RSS', 'Abo', 'Anzeigen', 'Redaktion', 'Schulprojekte', 'Gast', 'Mein NGZ', 'Nachrichten', 'Sport', 'Wirtschaft', 'Stadt-Infos', 'Bilderserien', 'Bookmarken', '', 'Mister Wong', 'YiGG', 'Webnews', 'Shortnews', 'Twitter', 'Newsider', 'Facebook', 'StudiVZ/MeinVZ', 'Versenden', 'Drucken']),
                dict(name=['script', 'noscript', 'style'])]
    oldest_article = 7
    max_articles_per_feed = 100
    no_stylesheets         = True
    use_embedded_content   = False
    language               = 'de'
    recursions             = 0
    remove_javascript      = True

    def print_version(self, url):
          return url + '?view=print'
    feeds          = [
(u'Alle news', u'')


    filter_regexps = [r'ads\.doubleclick\.net']
schuster is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post Biegsames E-Paper KernelPanic Andere Lesegeräte 0 10-23-2009 08:20 PM
FAZ und Heise: Neue Artikel zu E-books Alexander Turcic Deutsches Forum 3 05-16-2009 03:09 AM
Sony Reader-Artikel bei Heise mtravellerh Sony Reader 1 03-11-2009 04:35 PM
Heise Artikel über Kindle im Ausland Alexander Turcic Amazon Kindle 0 06-03-2008 12:36 PM
Heise gives iRex iLiad a thumb up Alexander Turcic iRex 3 06-08-2006 01:02 PM

All times are GMT -4. The time now is 09:54 AM. is a privately owned, operated and funded community.