When you extract files from an EPUB, fix them and update the archive, that changes the ordering inside.
When you try to submit a revised EPUB, you will get this error:
ERROR: Mimetype entry missing or not the first in archive
To fix it, extract all content and make a new archive with an UNCOMPRESSED mimetype file FIRST like so in Linux/Unix/Apple:
zip -X0 book.epub mimetype
then remove the mimetype from the contents and add the rest like this:
zip -X8Dur book.epub *
That should refresh the order and compress all the other files.
No comments:
Post a Comment