XML technologies / ePUB / Open Container Format / OCF container contents / The Mimetype file

(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)

OCF stores the media type, identifying the data format to an application, in a separate file named "mimetype" containing only application/epub+zip.

This avoids unreliable media identification by file extensions across computers and operating systems. Readers should inspect OCF and derive the type from the file mimetype. The mimetype file must therefore come first in the ZIP and remain uncompressed.

Nevertheless name the finished ePUB with the extension *.epub.

   

 

 

 

back to top