Quote:
Originally Posted by Starson17
That's odd. I've seen several recipes that have tag settings, but don't produce tags in the calilbre GUI. I tested one just before posting and it failed. I've never looked into it, but I vaguely recall a post saying it can't be done, and I know I tried it once before and it failed. Would you post a recipe that sets tags and let me try it?
|
Quote:
Originally Posted by kovidgoyal
The OP is probably talking about the tags in the output file when converted via the command line.
|
Yes kovidgoyal is exactly right.
Code:
class Whatever(BasicNewsRecipe):
...
tags = 'news, sport'
...
conversion_options = { 'tags' : tags }
...
ebook-convert Whatever.recipe out.mobi
The tags 'news, sport' are shown when out.mobi is imported to Calibre.
HTH.
PS. You replied while I was writing my reply!