07-11-2013, 01:12 PM | #1 |
Addict
Posts: 294
Karma: 1196776
Join Date: Nov 2008
Location: Bulgaria
Device: Kindle 4 NT, Onyx Boox M92
|
auto_cleanup true and false at the same time
Hello,
I have a recipe, which is composed of several rss feeds. All of them are set up to clean automatically. Calibre gives good results for all but one. This is the rss for the SF signal website, which has full article rss anyway and probably for this reason Calibre truncates the articles only to the title of the article when in auto_cleanup=true mode. So, my question is, how do I use auto_cleanup=true for all rss feeds in the recipe, but disable it for the SF signal feed? Here is the autogenerated recipe: Code:
class AdvancedUserRecipe1373561687(BasicNewsRecipe): title = u'Science fiction and fantasy blogs' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True feeds = [(u'A Dribble of Ink', u'http://feeds2.feedburner.com/aidanmoher/eiaU'), (u'Fantasy faction', u'http://fantasy-faction.com/feed'), (u'Fantasy literature', u'http://feeds.feedburner.com/FantasyLiteratureNewsInterviews'), (u'SF Signal', u'http://feeds.feedburner.com/Sfsignal'), (u'The Night Bazaar', u'http://night-bazaar.com/feed'), (u'Fantasy Book Critic', u'http://fantasybookcritic.blogspot.com/feeds/posts/default'), (u'SF Site', u'http://www.sfsite.com/depts/front.xml'), (u'SFF world reviews', u'http://www.sffworld.com/rsfreviews.xml'), (u'SFFscope', u'http://www.sfscope.com/feed/'), (u'Strange Horizons Reviews', u'http://www.strangehorizons.com/reviews/atom.xml'), (u'Speculative Book Review', u'http://speculativebookreview.blogspot.com/feeds/posts/default?alt=rss')] |
07-11-2013, 10:19 PM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot, create two recipes, or set use_embedded_content = False in your recipe, then it wont use the content from the RSS feed.
|
Advert | |
|
07-12-2013, 04:58 AM | #3 |
Addict
Posts: 294
Karma: 1196776
Join Date: Nov 2008
Location: Bulgaria
Device: Kindle 4 NT, Onyx Boox M92
|
Yes, I did a separate recipe for this particular feed. Thanks!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rating:false works but ISBN:false does not? | rahlquist | Calibre | 2 | 06-01-2012 03:48 PM |
Replacing item with while using auto_cleanup = True | hiperlink | Recipes | 1 | 01-18-2012 11:45 AM |
using auto_cleanup and manual clean up together | scissors | Recipes | 5 | 11-06-2011 09:13 PM |
True or False: Rooting voids the warranty? | RockdaMan | Nook Color & Nook Tablet | 61 | 06-09-2011 04:54 PM |