01-18-2019, 12:48 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2019
Device: Kindle Paperwhite
|
Updating information on retrieved news?
I started with the basic recipe to retrieve news from the RSS feed of the Florida Phoenix and send it to my Kindle Paperwhite. It works well, but I would like the author and/or publisher to show as 'Florida Phoenix'. How do I modify the recipe to do this?
|
01-18-2019, 08:55 PM | #2 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2019
Device: Kindle Paperwhite
|
Here is the recipe as I tried to customize it after creating it in the basic mode. I added the description, author, and publisher lines
#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1547443791(BasicNewsRecipe): title = 'Florida Phoenix' description = 'Quality Journalism for Critical Times' author = 'Florida Phoenix' publisher = 'Florida Phoenix' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('Florida Phoenix RSS feed', 'https://www.floridaphoenix.com/feed/'), ] |
01-18-2019, 09:57 PM | #3 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot change the author, if you want to set the publisher, use
conversion_options = {'publisher': publisher} |
01-19-2019, 01:29 PM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2019
Device: Kindle Paperwhite
|
Thanks. That worked.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with updating recipes for Slovak news | lcask | Recipes | 1 | 02-12-2012 12:16 PM |
Web server not updating when news have been collected | TomasG | Calibre | 0 | 02-07-2012 04:24 PM |
Blogspot Feeds not retrieved by Calibre | jomaweb | Calibre | 12 | 01-29-2010 10:24 AM |
Retrieved news feeds can't be downloaded to Stanza on iPhone | bthoven | Calibre | 0 | 10-27-2009 12:08 AM |
Updating RSS-news on the reader | dsip | Calibre | 3 | 03-24-2009 05:54 PM |