View Single Post
Old 10-24-2009, 01:36 PM   #37
rtype doesn't litterrtype doesn't litterrtype doesn't litter
Posts: 40
Karma: 200
Join Date: May 2009
Device: none

First of all thanks for writing such a great tool!

I wanted to use the functionality in your program from calibre (i.e. the convert from imp to HTML bit) since I use calibre to orgainize all my books.

I created my plugin in calibre, and also modified your code slightly giving it the ability to accept the path to an imp and a path to an output file have that conversion happen automatically.

I think it would be a good feature for the program to have I can pass on the few changes if you would like to incorporate them.

In looking at this I also made a change to the FormatDATAToHTML method
changing the string strFile to a StringBuilder gives a huge performance benifit with large files (or at least on the couple I've tried)

Last edited by rtype; 10-24-2009 at 02:39 PM.
rtype is offline   Reply With Quote