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.
Copyright © mitp 2011
You may print the online version for your private use.
Otherwise, this chapter from “E-Books mit ePUB” is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Verlagsgruppe Hüthig Jehle Rehm GmbH, Im Weiher 10, 69121 Heidelberg, kundenbetreuung(at)hjr-verlag.de
back to top