HI All,
I am trying to zip up an Epub file i have made using c#
Things I have tried
- Dot Net Zip http://dotnetzip.codeplex.com/ - DotNetZip works but epubcheck fails the resulting file (**see edit below)
- ZipStorer zipstorer.codeplex.com - creates an epub file that passes validation but the file won't open in Adobe Digital Editions
- 7 zip - I have not tried this using c# but when i zip the file using there interface it tells me that the mimetype file name has a length of 9 and it should be 8
In all cases the mimetype file is the first file added to the archive and is not compressed
The Epub validator that I'am using is epubcheck http://code.google.com/p/epubcheck/
if anyone has succesfully zipped an epub file with one of these libraries please let me know how or if anyone has zipped an epub file successfully with any other open source zipping api that would also work.
EDIT
DotNetZip works, see accepted answer below.