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 01-14-2011, 12:00 PM   #1
7db
Junior Member
7db began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Freakonomics changing - heads-up

Looks like the freakonomics blog is leaving NYT (story here -

http://blogs.forbes.com/jeffbercovic...t-own-venture/

So the built-in recipe will break and need replacing.

It's a good blog and I like reading the posts there. Always thought-provoking.
7db is offline   Reply With Quote
Old 07-10-2011, 09:33 PM   #2
RickOlson
Junior Member
RickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 6
Karma: 12946
Join Date: Nov 2010
Device: Kindle 3
Quote:
Originally Posted by 7db View Post
Looks like the freakonomics blog is leaving NYT (story here -

http://blogs.forbes.com/jeffbercovic...t-own-venture/

So the built-in recipe will break and need replacing.
Has anyone developed a new recipe, or did I miss it?

Thanks--
RickOlson is offline   Reply With Quote
Advert
Old 07-11-2011, 04:44 PM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by RickOlson View Post
Has anyone developed a new recipe, or did I miss it?

Thanks--
Kovid and Rick:

Here's a replacement Freakonomics Blog recipe:

Spoiler:
Code:
#!/usr/bin/env  python
__license__   = 'GPL v3'
__copyright__ = '2011, Starson17'
__docformat__ = 'restructuredtext en'

from calibre.web.feeds.news import BasicNewsRecipe

class Freakonomics(BasicNewsRecipe):
    title = 'Freakonomics Blog'
    description = 'The Hidden side of everything'
    __author__          = 'Starson17'
    __version__         = '1.02'
    __date__            = '11 July 2011'
    language = 'en'
    cover_url           = 'http://ilkerugur.files.wordpress.com/2009/04/freakonomics.jpg'
    use_embedded_content= False
    no_stylesheets      = True
    oldest_article      = 30
    remove_javascript   = True
    remove_empty_feeds    = True
    max_articles_per_feed = 50
    
    feeds = [(u'Freakonomics Blog', u'http://www.freakonomics.com/feed/')]
    keep_only_tags = [dict(name='div', attrs={'id':['content']})]
    remove_tags_after = [dict(name='div', attrs={'class':['simple_socialmedia']})]
    remove_tags = [dict(name='div', attrs={'class':['simple_socialmedia','single-fb-share','wp-polls']})]
    extra_css = '''
                    h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
                    h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
                    p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
                    body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
		'''
Starson17 is offline   Reply With Quote
Old 07-12-2011, 12:48 AM   #4
RickOlson
Junior Member
RickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterRickOlson can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 6
Karma: 12946
Join Date: Nov 2010
Device: Kindle 3
Thanks! I really appreciate the effort.
RickOlson is offline   Reply With Quote
Old 07-13-2011, 09:58 AM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by RickOlson View Post
Thanks! I really appreciate the effort.
You're welcome
Starson17 is offline   Reply With Quote
Advert
Old 07-15-2011, 09:32 AM   #6
7db
Junior Member
7db began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Thanks! Love that blog.

Does this appear as the new recipe in the Calibre app, or does one need to manually update it?
7db is offline   Reply With Quote
Old 07-15-2011, 10:52 AM   #7
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by 7db View Post
Thanks! Love that blog.

Does this appear as the new recipe in the Calibre app, or does one need to manually update it?
When Kovid updates the recipe at his end, all Calibre versions automatically use the new updated recipe. You don't have to update Calibre. I checked, and Kovid has updated this one, so you should be good to go - just use the builtin Freakonomics Blog recipe. If Kovid's server goes down, then the old version will kick back in, so it might help to update - just in case - but it's just for backup.

FYI, here's where to check the current code for all builtin recipes:
http://bazaar.launchpad.net/~kovid/c...head:/recipes/

Last edited by Starson17; 07-15-2011 at 11:05 AM.
Starson17 is offline   Reply With Quote
Old 07-22-2011, 06:54 AM   #8
7db
Junior Member
7db began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Thanks! I'm loving Calibre and reading all my favourite blogs on the Kindle.
7db is offline   Reply With Quote
Old 07-22-2011, 10:35 AM   #9
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by 7db View Post
Thanks! I'm loving Calibre and reading all my favourite blogs on the Kindle.
You're welcome
Starson17 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting K3 bug: heads-up LUW Amazon Kindle 4 11-17-2010 08:20 AM
Freakonomics stonesown Calibre 1 07-30-2009 02:01 PM
Freakonomics blog article SpiderMatt News 0 02-23-2008 10:13 AM


All times are GMT -4. The time now is 08:35 AM.


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