View Single Post
Old 11-22-2022, 11:48 AM   #2
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
MCS "TXT Query" Tab: extract-then-update-a-custom-column

Quote:
Originally Posted by thesn00ze View Post
Hi,

I was wondering if it would be a possibility to include an option to add characters from the book directly to metadata. In the same way we can now add tags for genres.

This would greatly help to quickly filter all the books with a character named XZY, etc. Especially handy for books set in universes with 100+ books.

I've tried searching for a plugin but couldn't find any.

Easy. The Multi-Column Search plugin has had that extract-then-update-a-custom-column functionality for years after it was specifically requested by Fan Fiction users. See the "TXT Query" Tab in MCS. There are explanatory images in the first and the second Original Posts. Read the ToolTips of every widget as well.

If you do not download your FF in .TXT format, you can either add a .TXT format to your other formats (via Conversion), or use the new Calibre FTS Full-Text Search feature for your FF Library. MCS looks for the .TXT format first, and then secondly FTS. Either way works. MCS considers the text of a book as a "Virtual Metadata Column".


https://www.mobileread.com/forums/sh...d.php?t=261712

There are some recent posts concerning the above in the MCS thread. Example: https://www.mobileread.com/forums/sh...7&postcount=12



You will need the "OR" operator in your regular expression, "|", so you can perhaps use just one or so for all of your Universes.



DaltonST

Last edited by DaltonST; 11-22-2022 at 11:51 AM.
DaltonST is offline   Reply With Quote