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-20-2011, 05:39 PM   #1
xXxXxXxXxXx began at the beginning.
Posts: 37
Karma: 10
Join Date: Apr 2011
Device: none
recipe for Deutsche Welle (Deutsch als Fremdsprache

This recipe is for German learners (like me)
provide access to text (simpler than normal) specialty designed to this purpose

class AdvancedUserRecipe1305567197(BasicNewsRecipe):
    title          = u'Deutsche Welle (Deutsch als Fremdsprache)'
    __author__  = 'xXxXxXxXxXx'
    oldest_article = 7
    max_articles_per_feed = 1000
    no_stylesheets         = True
    use_embedded_content   = False
    remove_javascript      = True
    cover_url = ''
    keep_only_tags = [
                              dict(name='div', attrs={'id':['mainContent']}) ]

    remove_tags = [dict(name='p', attrs={'class':'actionFooter'}),
                            dict(name='div', attrs={'class':'socialBookmarks'}),
                            dict(name='div', attrs={'class':'mediaLink symDW'}),
                            dict(name='div', attrs={'class':'mediaLink symAudioVideo'}),
                            dict(name='div', attrs={'class':'mediaLink symExtern'}),
                            dict(name='div', attrs={'class':'mediaLink symDownload'}),
                            dict(name='div', attrs={'class':'mediaLink symFeedback'}),
                            dict(name='div', attrs={'class':'dossierLinkTitle'}),  
                            dict(name='div', attrs={'class':'mediaLink symDW dossierLinks'}),
                            dict(name='div', attrs={'class':'linkLine'}),
                            dict(name='div', attrs={'class':'linkLine'}),
                            dict(name='div', attrs={'class':'mediaLink symSurvey'})
    feeds          = [	(u'Deutsch im Fokus', u''),
                                        (u'Alltagsdeutsch', u''),
                                        (u'Wort der Woche', u''),
                                        (u'Sprachbar', u''),
                                        (u'Stichwort', u''),
                                        (u'Top-Thema mit Vokabeln', u''),
                                        (u'Langsam gesprochene Nachrichten', u''),
xXxXxXxXxXx is offline   Reply With Quote
Old 09-20-2012, 09:19 AM   #2
laca began at the beginning.
Posts: 11
Karma: 10
Join Date: Sep 2012
Location: Hungary
Device: Kindle Keyboard
Recipe for Deutsche Welle

English as a foreign language

I have made the English Edition of Deutsche Welle.

The recipe:

class AdvancedUserRecipe1348131911(BasicNewsRecipe):
    title          = u'Deutsche Welle - English Edition'
    oldest_article = 2
    language = 'en_DE'
    masthead_url          = ''
    use_embedded_content  = False
    auto_cleanup = True
    encoding              = 'cp1252'

    author = 'laca'
    simultaneous_downloads= 1
    max_articles_per_feed = 50

    no_stylesheets = True

    feeds          = [(u'Top Stories', u''),
	(u'Germany', u''),
	(u'Europe', u''),
	(u'Asia', u''),
	(u'World', u''),
	(u'Business', u''),
	(u'Culture & Lifestyle', u''),
	(u'Sports', u''),
	(u'Visit Germany', u'')]

Unfortunately I didn't find more suitable DW logo.
Moreover it does not download every pictures.

Last edited by laca; 09-20-2012 at 05:37 PM. Reason: To try the forum functions and make my recipe downloadable.
laca is offline   Reply With Quote
Old 09-30-2014, 05:47 PM   #3
xav began at the beginning.
Posts: 11
Karma: 10
Join Date: Mar 2014
Device: Kindle paperwhite 2
Hi ! I was searching for an up to date version of a receipe for welle/Deutsch XXL. I tried the one above but the news are not inside.
My receipe works, I fetch news once a week, it is very nice, the dictionnary works and I also installed a german english dic on my kindle so it helps if I really don't understand.
I share with 2 other friends learning german they like it as well !
I would like to apply a layout to the news (feed "Langsam gesprochene Nachrichten"), because for the moment it is everything in a packet so not confortable to read, we need at least title in bold. I have to search if it is possible, it might be ?
Contribution very welcomed, germanophile friends Here is my very simple receipe:

class AdvancedUserRecipe1398527969(BasicNewsRecipe):
title = u'DW-Deutsch XXL'
language = 'ger'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
feeds = [(u'Top Thema mit Vokabeln', u''), (u'Langsam gesprochene Nachrichten', u''), (u'Alltagsdeutsch', u''), (u'Sprachbar', u''), (u'Wort der Woche', u'')]
xav 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
E-books in Deutsch mtravellerh E-Books 3429 Yesterday 12:38 PM
Calibre - deutsch StDo Sony Reader 55 09-14-2013 05:33 AM
FBReader deutsch mtravellerh PocketBook 20 09-18-2011 09:24 AM
DaF (Deutsch als Fremdsprache) Logseman Lounge 6 12-24-2010 09:46 AM
Deutsch-Deutsch (Bedeutungs-)wörterbuch bunique PocketBook 16 08-17-2010 06:06 PM

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