View Single Post
Old 01-22-2010, 01:14 AM   #23
subhash4d1
Junior Member
subhash4d1 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2008
Device: Kindle, SONY, MOBI, PALM, ePUB
Cool Solution of mimetype error in ePub.

First make a zip of mimetype file then add ur all files/folders in the zip. Or provide me your sample ePub in "hello_subhash@yahoo.com". I will fix the error then you can compare zipping properties and implement.

Quote:
Originally Posted by Jellby View Post
As the error says, the mimetype file has to be the first file in the zip, and must be stored without compression.

What I do (on linux) is create the zip/epub file in two steps. First create the zip only with mimetype, without compression:

Code:
zip -0 file.epub mimetype
Then add the rest of the files with maximum compression:

Code:
zip -9 -r file.epub META-INF OEBPS
You can probably do the same with Winzip or similar.
subhash4d1 is offline   Reply With Quote