View Single Post
Old 11-29-2011, 04:39 AM   #5
Krittika Goyal
Vox calibre
Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.Krittika Goyal ought to be getting tired of karma fortunes by now.
 
Krittika Goyal's Avatar
 
Posts: 412
Karma: 1175230
Join Date: Jan 2009
Device: Sony reader prs700, kobo
oops

oops sorry the previous recipe does not display later pages of multi page articles. So here goes:

Code:
#!/usr/bin/env  python
__license__     = 'GPL v3'
__author__      = 'Tony Stegall'
__copyright__   = '2010, Tony Stegall or Tonythebookworm on mobileread.com'
__version__     = 'v1.01'
__date__        = '07, October 2010'
__description__ = 'Rolling Stones Mag'

'''
http://www.rollingstone.com
'''

from calibre.web.feeds.news import BasicNewsRecipe

class RollingStones(BasicNewsRecipe):
    __author__    = 'Tony Stegall'
    description   = 'Rolling Stones Mag'
    cover_url     = 'http://gallery.celebritypro.com/data/media/648/kid-rock-rolling-stone-cover.jpg'
    masthead_url  = 'http://origin.myfonts.com/s/ec/cc-200804/Rolling_Stone-logo.gif'


    title          = 'Rolling Stones Mag'
    category       = 'Music Reviews, Movie Reviews, entertainment news'

    language       = 'en'
    timefmt        = '[%a, %d %b, %Y]'

    oldest_article        = 15
    max_articles_per_feed = 25
    use_embedded_content  = False
    no_stylesheets = True
    auto_cleanup = True



    feeds          = [
                       (u'News', u'http://www.rollingstone.com/siteServices/rss/allNews'),
                       (u'Blogs', u'http://www.rollingstone.com/siteServices/rss/allBlogs'),
                       (u'Movie Reviews', u'http://www.rollingstone.com/siteServices/rss/movieReviews'),
                       (u'Album Reviews', u'http://www.rollingstone.com/siteServices/rss/albumReviews'),
                       (u'Song Reviews', u'http://www.rollingstone.com/siteServices/rss/songReviews'),


                     ]



    def print_version(self, url):
	  return url +'?print=true'
Krittika Goyal is offline   Reply With Quote