Quote:
Originally Posted by chaley
It is behaving as designed. If show as html is checked then the column is considered as black box text containing html that does who-knows-what. Calibre attempts to render this text as html in book details without further processing.
If the box is unchecked then calibre treats it as plain text and adds the necessary html to turn the values into links. This is the same processing that is applied to tags.
The previous code did the same thing, with the exception of adding the linkify html.
|
@chaley - it maybe the same processing/code but the results are inconsistent
To get links in the tag browser, that I can click to do a search, I have to check
Show in Tag Browser - to me that makes sense.
I need to check the column in question in L&F->Book Details to get it to show anything - to me that makes sense too. But to get it displayed as a clickable link to do a search, I have to uncheck
Show as HTML in Book Details - to me that makes no sense
See attachments
Added : I think this is a case of overloading the same object with multiple purposes.
I want something that I can click on to do a database search, same as I can with a Publisher or Tag. But you have anticipated something much more sophisticated - to create a uri in a template and open an external resource. Maybe the second check box should be something like a tri-state radio button eg
Book Details : Do Nothing ● Create a database search link o Create HTML for URL link o
BR