View Single Post
Old 02-20-2023, 08:44 PM   #8
Sunshine82
Enthusiast
Sunshine82 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2022
Device: Kindle Paperwhite
Thank you very much for the help, BetterRed and ownedbycats.

I have resolved the issue with Additional Restrictions and Search and Replace commands. Making progress.

However, the Calibre template language is a bit daunting. I have done some coding before, but it's not my specialty. So, I'm not quite sure what I'm looking for. From what I can tell, I almost need an inverse of the subitems and sublist functions -- but I'm still not sure.

It might be easier to explain what I am looking to accomplish in order to determine whether it is possible or if there is another way of accomplishing my goal. I am wondering if it's possible to pre-program the customized column I created entitled Genre with a comprehensive list of possible entries in advance; if so, this would allow me to create the hierarchy tree ahead of time before then assigning the designated genre path to particular books. [I have attached a screenshot to provide context.]

The issue that I foresee is that if I build one column from another (i.e. basing my customized Genre column off of the Tags column), I can mine the content/vocab from Tags but wouldn't be able to specify the context/logic for the Genre column. In other words, is it possible to replicate the arbitrary user-defined hierarchy of a customized column (like what I created for Genre) in a way that is systematic and applies globally to an entire library independently of particular pre-existing book entries? Does this make sense? I am wondering if there is a more efficient way of creating and assigning genre hierarchies to a bulk range of books.
Attached Thumbnails
Click image for larger version

Name:	Virtual Column Creation for Genre.png
Views:	192
Size:	114.8 KB
ID:	199842  
Sunshine82 is offline   Reply With Quote