I am rolling my own epub files, and I'm getting an error on epubcheck.
Quote:
mimetype entry missing or not the first in archive
A valid epub file must contain an uncompressed file named mimetype as a first entry in the zip archive. That file must contain epub mime type (application/epub+zip).
|
That's the only error message I get. Everything else validates through epubcheck. Frankly, this is driving me crazy!
my .epub file has this structure
Code:
myfile.epub
OEBPS/
images
index.html
content.opf
chapter1.html
etc....
META-INF/
container.xml
mimetype (this is a file and exists at root of the epub directory.)
the mimetype file has no file extension and only one line:
"application/epub+zip."
I am generating most of my files from docbook, but i just used the same mimetype file from other valid epub file, with identical results.
As I said, everything else is right. Is there something special I need to do about the way I zip up these directories, or is conceivably a whitespace issue? How fussy is the validator about the substance of the mimetype file?
Thanks for your help.
rj