09-02-2012, 03:03 AM | #1 |
null operator (he/him)
Posts: 20,565
Karma: 26954694
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
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 |
09-02-2012, 05:06 AM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It should be pretty trivial to do, but it is not something I will accept in calibre, as maintain links to external files breaks the portability of the calibre library. You are of course welcome to make the changes in your local copy of calibre.
|
09-02-2012, 05:07 AM | #3 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you do want to implement this, I woudl instead suggest making a plugin like the open with plugin that opens your external editor of choice with the contents of the custom column and updates the column when the editor exits.
|
09-03-2012, 12:30 AM | #4 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 09-03-2012 at 12:33 AM. |
|
09-03-2012, 12:44 AM | #5 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
By Book List are you referring to the Book Details pane? If so comments are not excluded, if selected they just always show up at the end of the pane and can not be moved within the Book details pane.
Last edited by DoctorOhh; 09-03-2012 at 12:46 AM. |
09-03-2012, 01:00 AM | #6 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can exclude whatever you want from search: Preferences->Searching
|
09-03-2012, 04:42 AM | #7 | ||
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Comments, a predefined longtext column, must go at the end of book details, but custom longtext can go anywhere I please, except after Comments Quote:
Any thoughts on the performance impact of adding a 2-3K chunk of HTML to each book. Now that I know how to exclude them from search I will, so the only thing Calibre will do with the HTML is to render it in the Book Details. br Last edited by BetterRed; 09-03-2012 at 05:46 AM. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre taking a long, long time to update metadata on sony prs650 | hydin | Calibre | 5 | 06-05-2012 12:21 AM |
Fonts for body text - a small study (long) | derangedhermit | Workshop | 9 | 08-25-2011 04:27 AM |
No search/replace on custom long text column? | CWatkinsNash | Library Management | 2 | 06-20-2011 05:57 PM |
Support officially outsourced to Phillippines (paid support) | larka | enTourage eDGe | 5 | 06-08-2011 12:48 AM |
Free Download: Santa Gets Outsourced: A Short Story | gayletiller | Self-Promotions by Authors and Publishers | 3 | 12-26-2010 01:23 AM |