Thread: Calibre rocks!
View Single Post
Old 05-13-2009, 03:33 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by camokatu
So, how do I go about getting libraries/jars to do the conversion?
The way Calibre handles conversion (in the upcoming 0.6 series) is to convert an input format into an OEB book (epub not zipped). Then the OEB book is turned into the output format. So input plugins just have to convert from the input type to OEB and output just has to convert from OEB to the output type.

As for some jars/java source that might help you. http://code.google.com/p/epub-tools/ is a number of java classes that aid in generating epub files. It also supports conversion from a limited number of formats. http://gutenpalm.sourceforge.net/ has some java classes for the ztxt pdb file format.
user_none is offline   Reply With Quote