View Single Post
Old 01-02-2010, 09:45 AM   #12
Slash5
Member
Slash5 is on a distinguished road
 
Posts: 13
Karma: 64
Join Date: Nov 2009
Location: S. Ontario, Canada
Device: Jetbook, Sony PRS-505
I was playing around in VB trying to create epub files.
The only way I could get it to work was by having a base zip file with mimetype at the right offset and the uncompressed data. I then copied that file to the filename I wanted. I then had to change directory to the files I wanted to add so that pathnames were not included. Then add my files to the canned zipfile.

This was the only reliable way I could get properly formated epubs.

Since I was modifying already created epubs, I eventually decided it was easier to extract the html, modify it and then zip back to the original epub. Solves all the problems.
Slash5 is offline   Reply With Quote