View Single Post
Old 08-30-2022, 02:07 PM   #7459
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,045
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by AbyssalAriel View Post
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?
Generating and injecting the title page are the easy parts. The hard part is fitting it into the existing FFF plugin logically, intuitively, and cleanly.

If you are of a mind to write code, it might be worthwhile to consider either making a general purpose plugin for creating and injecting a metadata jacket (aka title page) from the existing Calibre data, or improving the existing metadata jacket feature in Calibre.
JimmXinu is offline   Reply With Quote