Tools, FAQ, Tutorials:
Hello-3.0.epub - "container.xml" File
How to create the "container.xml" file of an EPUB 3.0 book?
✍: FYIcenter.com
The "container.xml" file of an EPUB 3.0 book is a required file
in the book ZIP container.
It specifies a package file of any name, for example: package.opf.
Here is the requirement on the "container.xml" file:
1. The "container.xml" file must be named as "container.xml".
2. The "container.xml" file must be an XML file and meet the EPUB Open Container Format (OCF) 3.0 specifications.
3. The "container.xml" file must specify at least 1 package file, any name, for example: package.opf.
4. The "container.xml" file must be placed in a sub-directory called META-INF of the EPUB 3.0 book ZIP container.
You can create the "container.xml" file with any text editor. Here is an example:
<?xml version="1.0" encoding="UTF-8"?> <container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0"> <rootfiles> <rootfile full-path="package.opf" media-type="application/oebps-package+xml"/> </rootfiles> </container>
Download Hello-3.0.epub, and unzip it. You see an example of "container.xml" in the META-INF directory.
⇒ Hello-3.0.epub - Package File: package.opf
⇐ Hello-3.0.epub - "mimtype" File
2018-11-29, 1803👍, 0💬
Popular Posts:
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to ...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...
How to use the "send-request" Policy statement to call an extra web service for an Azure API service...