iFocus.Life News News - Breaking News & Top Stories - Latest World, US & Local News,Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The iFocus.Life,

What is the EPUB Mimetype File?

106 37
EPUB is fast becoming the digital platform to learn for ebook publishing. EPUB stands for Electronic Publishing and is the XML format from the International Digital Publishing Forum. By design, EPUB works with two languages, XHTML and XML. This means once you have an understanding of the syntax and structure of these formats, creating an EPUB digital book will be a natural step up in the learning process.

EPUB comes in three separate sections, or folders.
  • Mimetype
  • META-INF
  • OEBPS

In order to create a viable EPUB document, you must have all three.

Writing the Mimetype File


Of these divisions, mimetype is the most simplistic. Mimetype is an ASCII text file. A mimetype file tells the operating system of the reader how the ebook is formatted — the MIME type. All mimetype files say the same thing. To write your first mimetype document all you need is a text editor, such as Notepad. Type in this code on to the editor screen:
application/epub+zip

Save the file as ‘mimetype’. The file must have this title in order to work correctly. Your mimetype document should only contain this code. There should be no additional characters, lines or carriage returns. Put the file into the root directory of the EPUB project. This means mimetype goes in the first folder. It is not contained in its own section.

This is the first step to creating your EPUB document and the easiest. All mimetype files are the same. If you can remember this tiny snippet of code, you can write a mimetype file for EPUB.
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time
You might also like on "Technology"

Leave A Reply

Your email address will not be published.