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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-18-2011, 03:46 PM   #1
schuster
Zealot
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 "ALDI Süd Wochenflyer" - german

then you know what in your basket.
only for german shopper interesting


Code:
from time import strftime
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1305470859(BasicNewsRecipe):
    title                 = 'Aldi Süd - Wochenflyer'
    __author__            = 'schuster'
    oldest_article        = 15
    max_articles_per_feed = 100
    language              = 'de'
    lang                  = 'de-DE'
    cover_url = 'http://www.aldi-sued.de/de/html/layout_img/ALDI_SUED_Logo_weiss.jpg'
    masthead_url = 'http://www.aldi-sued.de/de/html/layout_img/ALDI_SUED_Logo_weiss.jpg'
    extra_css = '''
                    h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
                    h4{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
                    img {min-width:300px; max-width:600px; min-height:300px; max-height:800px}
                    p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
                    body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
	'''
    remove_tags = [dict(attrs={'class':['path', 'header', 'footer', 'teasercontent', 'info', 'zwischenhead', 'artikelsplit']}),
                dict(id=['navTop', 'header', 'list', 'banner', 'topbutton', 'buttons', 'product_pagination', 'top1nav', 'scalecontrol']),
                dict(span=['ratingtext', 'Gesamtranking', 'h3','']),
	dict(rel=['canonical'])]
    feeds          = [(u'Aldi - Angebote der Woche', u'http://aldi-sued.de/de/angebote_aldi_sued_rss.xml')]
schuster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for Dutch newspaper "Dagblad van het Noorden" reijndert Recipes 2 05-18-2011 07:52 AM
Passing parameters to recipe from "Schedule News Download" Window (e.g. for filtering oecherprinte Recipes 6 05-13-2011 11:38 AM
Request: recipe for google new "Think Quarterly" magazine gloomygod Recipes 0 03-24-2011 08:08 AM
How to prevent recipe read "files" pdf on web rss? KRorschachZ Recipes 12 11-10-2010 02:59 PM
Calibre recipe for daily Portuguese newspaper "Correio da Manhã" jmst Recipes 2 11-01-2010 01:01 PM


All times are GMT -4. The time now is 08:27 AM.


MobileRead.com is a privately owned, operated and funded community.