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-31-2011, 11:48 AM   #1
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 241
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
new recipe FHM UK

Spoiler:


Code:
class AdvancedUserRecipe1325006965(BasicNewsRecipe):
    title          = u'FHM UK'
    description = 'Good News for Men'
    cover_url = 'http://profile.ak.fbcdn.net/hprofile-ak-snc4/373529_38324934806_64930243_n.jpg'
    masthead_url = 'http://www.fhm.com/App_Resources/Images/Site/re-design/logo.gif'
    __author__ = 'Dave Asbury'
    # last updated 27/12/11
    language = 'en_GB'
    oldest_article = 28
    max_articles_per_feed = 12
    remove_empty_feeds = True
    no_stylesheets = True
    #auto_cleanup = True
    #articles_are_obfuscated = True
    keep_only_tags = [
	           dict(name='h1'),
	           dict(name='img',attrs={'id' : 'ctl00_Body_imgMainImage'}),
	           dict(name='div',attrs={'id' : ['articleLeft']}),
                               dict(name='div',attrs={'class' : ['imagesCenterArticle','containerCenterArticle','articleBody']}),
	                      
		] 

    
    feeds          = [
	(u'From the Homepage',u'http://feed43.com/8053226782885416.xml'),
	(u'The Final Countdown', u'http://feed43.com/3576106158530118.xml'),
	(u'Gaming',u'http://feed43.com/0755006465351035.xml'),
        	]
scissors is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
New Recipe UtahJames Recipes 3 04-18-2011 08:02 PM
Need Help with Recipe UtahJames Recipes 1 04-12-2011 09:50 AM
recipe please Torx Recipes 0 01-22-2011 12:18 PM
Recipe Help lrain5 Calibre 3 05-09-2010 10:42 PM


All times are GMT -4. The time now is 06:22 PM.


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