06-15-2010, 09:19 AM | #1 |
Member
Posts: 10
Karma: 10
Join Date: May 2010
Device: iPod Touch
|
User-Editable HTML in Templates?
If there are users out there who are interested in being able to easily edit the HTML in the Calibre templates that are used to form the page structure of ebooks including navbars, I hope you would leave a comment here.
I had been looking into the possibility of modifying the Calibre source to make such editing possible, but recent development on the template code has resulted in a switch from using HTML strings embedded in the code (which could easily be imported from a custom user-created textfile) to implementing the lxml library to generate the HTML. This does not make the proposal of user-editable templates impossible, but it seems to me to have made realizing such functionality either more complex or require unnecessary redundancy of code. If the developers who have been involved in modifying the template code find sufficient interest for user-editable templates on this thread, it might be useful to hear from them about alternative suggestions about how to realize this functionality, or about whether it might make sense to revert, in the template code, to using a string that can be imported from a text file. Last edited by marcot; 06-16-2010 at 08:13 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LaTeX eBook Templates | ahi | Workshop | 17 | 02-16-2011 11:42 AM |
editable files on Kindle3 like htm/txt | tocatoca | Amazon Kindle | 0 | 10-13-2010 07:28 PM |
Calibre Recipe HTML content differs from raw html of index.html. | krunk | Calibre | 4 | 09-20-2010 09:48 PM |
Post Your Writepad Templates | Adam B. | iRex | 36 | 08-07-2009 07:47 AM |
Iliad Templates | Pitchfork | iRex | 3 | 07-17-2006 11:40 AM |