View Single Post
Old 09-02-2012, 03:03 AM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
outsourced long text

I've been thinking if using some long text custom columns to hold some chunks of HTML that would show up in Book Details. However I prefer to create & maintain the HTML outside of Calibre because a) I use things like tables & drop downs, and b) the space & function available in Calibre's Metadata Editor is limited.

I can cut the HTML from my IDE editor and paste into a Long Text Custom Column and it works fine, but its tedious and fraught with version management pitfalls.

I would suit me better if there was a Column Type of 'outsourced long text' that contained a file link to my HTML file, which the Book Details painter would read and render the same as an 'embedded long text' Column.

For the record I do not want to put the HTML in the book folder, in the HTML itself I put a link to the file which is located elsewhere (i.e. self reference), that location is managed by subversion.

All I'm seeking at this stage is an opinion on
  1. is it 'doable'
  2. how difficult is it
  3. whether it would undermine the Calibre architecture,

I don't want to take on something that will 'break' Calibre, nor do I want to take on something that someone au fait with Calibre's internals could and is willing to do in 30 minutes what would probably take me a week. After 40+ years at it, I now find programming tedious, so make that three weeks

BR
BetterRed is offline   Reply With Quote