Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2010, 09:19 AM   #1
marcot
Member
marcot began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2010
Device: iPod Touch
Question 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.
marcot is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 02:30 AM.


MobileRead.com is a privately owned, operated and funded community.