12-30-2010, 09:04 AM | #1 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
|
Updated Feeds for Salon
I was wondering why so many of the feeds for salon seemed to be empty these days, and in taking a look, realized that many of the authors that had dedicated feeds have left the site (and new feeds have been created). In addition, many of the salon feeds are now run through feedburner, rather than salon directly, so the old feeds were pointing to nothing (or outdated info)
So I updated the Salon recipe with the new feeds: Spoiler:
Note: I know less than nothing about python scripting or anything of the sort, but it seemed simple enough to just swap out one list of rss feeds and titles for another. I would also note that there are a few more feeds on topics I wasn't interested in (primarily food-related), so if someone wants those, they'll have to get them themselves. |
11-28-2011, 02:54 PM | #2 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: kindle
|
Quote:
|
|
Advert | |
|
11-28-2011, 11:26 PM | #3 |
Vox calibre
Posts: 412
Karma: 1175230
Join Date: Jan 2009
Device: Sony reader prs700, kobo
|
@moolash: The rolling stones magazine free content recipe is working. are you using the other one?
|
11-28-2011, 11:55 PM | #4 |
Vox calibre
Posts: 412
Karma: 1175230
Join Date: Jan 2009
Device: Sony reader prs700, kobo
|
rolling stones
here is the fixed version of the other rolling stones recipe
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'), ] |
11-29-2011, 04:39 AM | #5 |
Vox calibre
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' |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chit-Chat Le Salon du Livre 2010 | zelda_pinwheel | Forum Français | 42 | 04-04-2010 02:08 PM |
updated metadata=updated file? | jomaweb | Calibre | 13 | 01-28-2010 08:12 PM |
Salon du Livre à Paris | zelda_pinwheel | Lounge français | 24 | 03-18-2009 05:06 PM |
Salon Opened for Kindles in Maryland | Bob Russell | News | 3 | 12-21-2008 05:44 PM |