Tools, FAQ, Tutorials:
Minimum Requirement of EPUB 2.0.1 File
What Is the minimum requirement of an EPUB 2.0.1 file?
✍: FYIcenter.com
If you want to build an EPUB file that meets the minimum requirements of EPUB 2.0.1 specification, you need to prepare the following:
1. A text file called "mimetype" with one line listed below. It specifies the mimetype of an EPUB 2.0.1 book file.
application/epub+zip
2. An XML file called "container.xml" in a sub folder named as "META-INF". The "container" file uses the XML format defined in "Open Container Format (OCF) 2.0.1". It specifies a package file of any name, for example: package.opf.
3. A package file named like package.opf, that uses the XML format defined in "Open Packaging Format (OPF) 2.0.1". It defines required some meta data, one or content files, and a navigation file.
4. A navigation file named like navigation.xml that uses the Navigation Center eXtended (NCX) specification. It provides navigation information like a table of contents of the book.
5. A content file named like content.xhtml that uses the XHTML language. It provides the content of the book.
6. Package all above 5 files into a ZIP file named like Hello-2.0.epub. Note that the "mimetype" should not be compressed.
The resulting ZIP file, Hello-2.0.epub, is an EPUB 2.0.1 file that meets the minimum requirements of EPUB 2.0.1 specifications.
⇒ Hello-2.0.epub - "mimtype" File
⇐ What Is EPUB 2.0 Specification
2023-05-09, 1951🔥, 0💬
Popular Posts:
How to register and get an application ID from Azure AD? The first step to use Azure AD is to regist...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...
What validation keywords I can use in JSON Schema to specifically validate JSON Array values? The cu...
How To Protect Special Characters in Query String in PHP? If you want to include special characters ...
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encod...