View Single Post
Old 09-03-2010, 04:39 AM   #2
Iain
Enthusiast
Iain began at the beginning.
 
Posts: 49
Karma: 14
Join Date: Jul 2010
Location: Harrogate, England
Device: iPad
I wouldn't bother if you are a programmer.

epub is simply a zip file with some (x) html files, a stylesheet and some management files. It's terribly easy to write (though there are one or two gotchas - mainly that one file must appear at the start at a fixed location which means you must write this ('mimetype') first and esnure that the zip has no added attributes on the files.

I've attached a .cs file which will do this. Mainly you will need to add something which generates html files (IDCDoc parses Word2007 and generates html snippets).

Disclaimer. The usual applies. This code produces legal perfect epub files (according to epubchecker), but they still don't always work in all devices! I'm looking into that...
Iain is offline   Reply With Quote