View Single Post
Old 08-30-2022, 12:48 PM   #7458
AbyssalAriel
Member
AbyssalAriel began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
Quote:
Originally Posted by JimmXinu View Post
Yes/No columns will be set True if the metadata entry is in ('t','true','1','yes','y'), False if in ('f','false','0','no','n') (case insensitive) and set 'None' for tri-state columns when any other value.

So you need to replace Competed and In-Progress to t/f or y/n etc if you want to use a yes/no column. I'd recommend making another extra entry, copy status, etc again before changing it.
Okay, sounds easy enough.

Quote:
Originally Posted by JimmXinu View Post
The make_linkhtml_entries feature is a bit of a kludge. It relies on the newentry and newentryUrl lists having corresponding values. Therefore, newentry has to be kept in original order or else the newentryUrl entries won't line up correctly.
Ah, okay.

I see.

I can't help but wonder if I could implement this myself. Call whatever part writes the titlepage normally (and consults the ini files and all) but feed it metadata from the saved column, and then replace the titlepage already in the epub. I wouldn't try getting manually filled columns to work, only the ones that can be done automatically.

If you don't mind saying, what parts of the code would be relevant/useful for this (writeTitlePage and CALIBREONLYSAVECOL look like good leads), and what are the most likely roadblocks?
AbyssalAriel is offline   Reply With Quote