Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2011, 08:36 AM   #1
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Echo-Online [DE]

I like to introduce a new german news feed called Echo-Online. Its a regional newspaper from the Rhein/Main area and includes the free rss news feeds from Darmstädter Echo, Rüsselsheimer Echo, Groß-Gerauer Echo, Ried Echo, Starkenburger Echo, and Odenwälder Echo.

Spoiler:
Code:
__license__   = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid at kovidgoyal.net>, Armin Geller'
'''
Fetch echo-online.de
'''

from calibre.web.feeds.recipes import BasicNewsRecipe
class Echo_Online(BasicNewsRecipe):
    title          = u' Echo Online'
    description = '-Echo Online-'
    publisher = 'Echo Online GmbH'
    category = 'News, Germany'
    __author__ = 'Armin Geller' # 2011-12-17
    language = 'de'
    lang = 'de-DE'
    encoding = 'iso-8859-1'
    timefmt = ' [%a, %d %b %Y]'

    oldest_article = 7
    max_articles_per_feed = 2
    no_stylesheets = True
    auto_cleanup = True
    remove_javascript = True
    
    feeds = [
              (u'Topnews', u'http://www.echo-online.de/storage/rss/rss/topnews.xml'),
              (u'Darmstadt', u'http://www.echo-online.de/rss/darmstadt.xml'),
              (u'Darmstadt-Dieburg', u'http://www.echo-online.de/rss/darmstadtdieburg.xml'),
              (u'Kreis Gro\xdf-Gerau', u'http://www.echo-online.de/rss/kreisgrossgerau.xml'),
              (u'R\xfcsselsheim', u'http://www.echo-online.de/rss/ruesselsheim.xml'),
              (u'Kreis Bergstra\xdfe', u'http://www.echo-online.de/rss/bergstrasse.xml'),
              (u'Odenwaldkreis', u'http://www.echo-online.de/rss/odenwald.xml'),
              (u'SV 98', u'http://www.echo-online.de/rss/sv98.xml'),
              (u'Kino', u'http://www.echo-online.de/rss/kino.xml'),
              (u'Ausstellungen', u'http://www.echo-online.de/rss/ausstellungen.xml'),
              (u'Ausflug & Reise', u'http://www.echo-online.de/rss/ausflugreise.xml'),
             ]

    def print_version(self, url):
          return self.browser.open_novisit(url).geturl() + '?_FRAME=33&_FORMAT=PRINT'

    remove_tags = [dict(name='div', attrs={'class':["header", "name"]}),]
    auto_cleanup_keep = '//div[@class="bild_gross w270"]'

#    cover_url = 'http://profile.ak.fbcdn.net/hprofile-ak-ash2/41801_145340745513489_893927_n.jpg' # 2011-12-16 AGe
    cover_url = 'http://adcounter.darmstaedter-echo.de/webdav/files/config/gui/images/Zeitungsfaecher.gif' # 2011-12-16 AGe


Feel free to contact me if there are any issues with it.
Divingduck is offline   Reply With Quote
Old 01-12-2016, 11:57 AM   #2
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Pls. find attached a new version.
Attached Files
File Type: zip Echo_online_V3_AGe.zip (3.5 KB, 224 views)
Divingduck is offline   Reply With Quote
Advert
Old 01-13-2016, 03:53 AM   #3
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Pls. find attached a update. the recipe file had a wrong code page (wrong TOC headlines for german umlauts). Sorry for that.
Attached Files
File Type: zip Echo_online_V3.1_AGe.zip (3.5 KB, 214 views)

Last edited by Divingduck; 01-13-2016 at 03:55 AM.
Divingduck is offline   Reply With Quote
Reply

Tags
echo-online, germany, recipe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Black Echo - Michael Connelly $.99 (Kindle US/Kobo/Sony/Nook) [Hachette]-Suspense NightBird Deals and Resources (No Self-Promotion or Affiliate Links) 4 06-29-2011 07:13 PM
Kyocera Echo and the eDGe ShiningT1g3R enTourage Archive 5 04-22-2011 06:51 PM


All times are GMT -4. The time now is 04:24 PM.


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