New answers tagged

1

As the accepted answer states, the mimetype file should be stored uncompressed in the archive. For those looking for a programmatic way to validate and package an EPUB I recommend using the Java EPUBCheck tool by W3C. You can use it as a command line tool and as a Java library. The tool allows you to validate an expanded EPUB folder and save it as an EPUB ...


1

Here are the steps I used to force the "mimetype" file to be the first in the EPUB archive using 7-Zip in Windows: Make a copy of your EPUB (zip) file (e.g. MyBookCopy.epub), so to not damage your original EPUB file in case things go wrong. Extract all of the files from MyBookCopy.epub into an empty folder (e.g. MyFolder) Using the 7-zip UI, ...


Top 50 recent answers are included