View Single Post
Old 03-18-2021, 12:30 PM   #7
CloudReader
Member
CloudReader began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite 4
Quote:
Originally Posted by chaley View Post
Two ideas:
  • You could do this with a custom column "built from other columns", with "Show as HTML in book details" checked. The calibre language template would compute the HTML for what you want to see, using other metadata.
  • You create a custom comments column with an empty "template". You then manually add the data to the column instance when you add a new book.
Personally, I would do the former. That way the result is always up-to-date even if metadata changes.
Thank You for the suggestions
The first one works... kinda - It adds the empty template to the details pane, but everything gets all jumbled up with the existing details.
Also, this is display-only - I want the actual data to reside within the metadata file of the book, able to save with it to disk, etc.

The second one: I tried creating a custom comments column and adding my code, but it doesn't seem to retain the template - The field is blank when adding a new book.
Also, this would force me to have to go to the Custom Metadata tab to access/edit it, and I stay away from there if I can. I have several added columns (Origin, Price, Read, Retail) but they are all of the yes/no or checkbox variety, accessible from the main Calibre catalog window when adding the new book.

Without there being a built-in mechanism for adding a template to the Comments field, I suppose that a manual system like I've been using is going to be the only way...
CloudReader is offline   Reply With Quote