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 05-21-2011, 09:56 AM   #1
xXxXxXxXxXx
Enthusiast
xXxXxXxXxXx began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Apr 2011
Device: none
National Geographic (DE)

Code:
class AdvancedUserRecipe1305567197(BasicNewsRecipe):
    title          = u'National Geographic (DE)'
    __author__  = 'xXxXxXxXxXx'
    oldest_article = 7
    max_articles_per_feed = 1000
    no_stylesheets         = True
    use_embedded_content   = False
    remove_javascript      = True
    cover_url = 'http://www.nationalgeographic.de/images/national-geographic-logo.jpg'
    keep_only_tags = [
                              dict(name='div', attrs={'class':['contentbox_no_top_border']}) ]

    remove_tags =  [
                            dict(name='div', attrs={'class':'related'}),
                            dict(name='li', attrs={'class':'first'}),
                            dict(name='div', attrs={'class':'extrasbox_inner'}),
                           
                            ]
   
    feeds          = [	(u'National Geographic', u'http://feeds.nationalgeographic.de/ng-neueste-artikel'),
                                        
		]
xXxXxXxXxXx is offline   Reply With Quote
Reply

Tags
recipe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for National Geographic *Updated* gagsays Recipes 3 05-19-2011 01:30 PM
National Geographic Recipe (need some improvement) gagsays Recipes 6 05-19-2011 01:21 PM
National Geographic Request Oilfieldtrash Recipes 5 11-29-2010 09:35 AM
National Doughnut Day!!! NormHart Lounge 3 06-04-2010 10:07 AM
The Complete National Geographic (released Oct. 30) Syniurge News 38 11-25-2009 12:29 PM


All times are GMT -4. The time now is 02:51 PM.


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