04-13-2011, 02:12 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2011
Device: ProMedia eBookReader
|
Recipe for Dutch newssite "Hallo Assen"
Below is my recipe for the Dutch Regionalnews website "Hallo Assen".
Have fun with it! Code:
class AdvancedUserRecipe1302341394(BasicNewsRecipe): title = u'Hallo Assen' oldest_article = 180 max_articles_per_feed = 100 __author__ = 'Reijndert - pd1rh' no_stylesheets = True cover_url = 'http://www.halloassen.nl/multimedia/halloassen/archive/00002/HalloAssen_2518a.gif' language = 'NL' country = 'NL' version = 1 category = u'Nieuws' timefmt = ' %Y-%m-%d (%a)' keep_only_tags = [dict(name='div', attrs={'class':'photoFrame'}) ,dict(name='div', attrs={'class':'textContent'}) ] remove_tags = [ dict(name='div',attrs={'id':'articleLinks'}) ,dict(name='div',attrs={'class':'categories clearfix'}) ,dict(name='div',attrs={'id':'rating'}) ,dict(name='div',attrs={'id':'comments'}) ] feeds = [(u'Ons Nieuws', u'http://feeds.feedburner.com/halloassen/onsnieuws'), (u'Politie', u'http://www.halloassen.nl/rss/?c=37'), (u'Rechtbank', u'http://www.halloassen.nl/rss/?c=39'), (u'Justitie', u'http://www.halloassen.nl/rss/?c=36'), (u'Evenementen', u'http://www.halloassen.nl/rss/?c=34'), (u'Cultuur', u'http://www.halloassen.nl/rss/?c=32'), (u'Politiek', u'http://www.halloassen.nl/rss/?c=38'), (u'Economie', u'http://www.halloassen.nl/rss/?c=33')] extra_css = ''' body {font-family: verdana, arial, helvetica, geneva, sans-serif;} ''' |
|
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 |
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 |
Dutch version of "Free" by Chris Anderson available for download | ebookreaders | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 07-15-2009 03:41 AM |