Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 02-24-2011, 12:59 PM   #1
rickydh
Junior Member
rickydh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Recipe for Flickr Blog

Hello.

I've added english and spanish versions.
Other languages can be added.

Code:
__license__   = 'GPL v3'
__author__    = 'Ricardo Jurado'
__copyright__ = 'Ricardo Jurado'
__version__     = 'v0.1'
__date__        = '22 February 2011'

'''
http://blog.flickr.net/
'''


class AdvancedUserRecipe1297031650(BasicNewsRecipe):

    title          = u'Flickr Blog'
    masthead_url   = 'http://flickrtheblog.files.wordpress.com/2008/11/flickblog_logo.gif'
    cover_url      = 'http://flickrtheblog.files.wordpress.com/2008/11/flickblog_logo.gif'
    publisher      = u''

    __author__            = 'Ricardo Jurado'
    description           = 'Pictures Blog'
    category              = 'Blog,Pictures'

    oldest_article = 120
    max_articles_per_feed = 10
    no_stylesheets = True
    use_embedded_content = False
    encoding = 'UTF-8'
    remove_javascript = True
    language = 'en'

    extra_css             = """
                               p{text-align: justify; font-size: 100%}
                               body{ text-align: left; font-size:100% }
                               h2{font-family: sans-serif; font-size:130%; font-weight:bold; text-align: justify; }
                               .published{font-family:Arial,Helvetica,sans-serif; font-size:80%; }
                               .posted{font-family:Arial,Helvetica,sans-serif; font-size:80%; }
                                 """					   

    keep_only_tags = [
                 dict(name='div', attrs={'class':'entry'})
                 ]    

    feeds          = [
                     (u'BLOG (EN)', u'http://feeds.feedburner.com/Flickrblog'),
                     (u'BLOG (ES)', u'http://blog.flickr.net/es/feed/atom/')
                     ]
--
Regards,
Ricardo.
rickydh is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LRB BLOG - -RECIPE HELP JFS-NMF Recipes 0 01-28-2011 10:00 PM
Recipe for "Science Based Medicine" blog BuzzKill Recipes 0 12-12-2010 04:18 PM
GUIDE: Recipe For ebook Blog XATAKA news KRorschachZ Recipes 0 11-03-2010 11:37 AM
New recipe for Frederik Pohl's blog kiklop74 Recipes 0 09-27-2010 03:34 PM
Recipe for Washington Post blog oski24601 Calibre 1 11-25-2009 05:22 PM


All times are GMT -4. The time now is 01:32 PM.


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