I have a custom user recipe that I created in the Calibre GUI. I want to copy the code so that I can make a .recipe file so that I can fetch the feeds from the command line.
I have successfully done that, except that the resulting feed is formatted differently compared to the feed which is downloaded using the GUI. What I did was to copy all of the code in the "Advanced" window for my custom recipe, then paste it into a new text file which I called test.recipe.
I notice that the code for my custom recipe is quite brief compared to the code for most of the built-in recipes. Is there something missing that gets added when fetching from the GUI as opposed to fetching from the command line?
FYI, here is my recipe:
Code:
class AdvancedUserRecipe1310748698(BasicNewsRecipe):
title = u"My Feeds"
oldest_article = 7
max_articles_per_feed = 100
feeds = [(u'Blog and Mablog', u'http://www.dougwils.com/index.php?format=feed&type=rss'), (u'A Slice of Infinity', u'http://www.rzim.org/rss/rss-slice.aspx'), (u'Desiring God Blog', u'http://feeds.feedburner.com/DGBlog'), (u'The Gospel Coalition', u'http://feeds.feedburner.com/tgcblog')]