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 10-05-2012, 09:20 AM   #1
BobbyQ began at the beginning.
Posts: 10
Karma: 10
Join Date: Oct 2012
Device: Kindle 4
Request : (german newspaper)

Hey recipe gurus !

Being a man of honour I have read through all the available instructions and examples first and then tried my best to get working properly, which is a german newspaper. Luckily, the basic recipe algorithm works quite nicely and gets the basic job done.

class AdvancedUserRecipe1344926684(BasicNewsRecipe):
    title          = u'Neue Osnabrücker Zeitung'
    oldest_article = 7
    max_articles_per_feed = 100
    auto_cleanup = True
    no_stylesheets         = True
    use_embedded_content   = False
    language               = 'de'
    remove_javascript      = True
    feeds          = [(u'Lokales', u''),
(u'Vermischtes', u''),
(u'Politik', u''),
(u'Wirtschaft', u''),
(u'Kultur', u''), 
(u'Medien', u''),
(u'Wissenschaft', u''),
(u'Sport', u''),
(u'Computer', u''),
(u'Musik', u''),
(u'Szene', u''),
(u'Niedersachsen', u''),
(u'Kino', u'')]
But then I noticed that the algorithm has problems with some of the categories, e.g. Somehow it does not recognize the main article text and picture but outputs some other article previews on the same page (I have to admit that the pages are not very rss-friendly indeed).
So I used some of the tricks to filter the bad parts out and keep the good ones, but I couldn't get anything running better than the basic recipe. If only i could have figured out how to create some helpful debug output ...
Most of my tried resulted in empty ebooks and I couldn't locate my mistakes.

Who would like to help me cooking this recipe ?
BobbyQ 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
recipe request: atlantique Recipes 2 05-13-2012 07:24 PM
recipe for newspaper subscription NicoDeMus! Recipes 0 11-24-2011 06:02 PM recipe request jonathan22 Recipes 0 09-10-2011 03:50 AM
recipe request: jshzh Recipes 0 02-07-2011 02:00 AM request please trott3r Recipes 11 10-15-2010 03:20 PM

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