Hello-3.1.epub - "container.xml" File
How to create the "container.xml" file of an EPUB 3.1 book?
The "container.xml" file of an EPUB 3.1 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.1 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.1 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>
2018-04-15, 102👍, 0💬
How To Write a String to a File with a File Handle in PHP? If you have a file handle linked to a fil...
How To Insert Rows Based on SELECT Statements in PHP? If want to insert rows into a table based on d...
How To Specify Argument Default Values? in PHP? If you want to allow the caller to skip an argument ...
How To Get All the Values Out of an Array in PHP? Function array_values() returns a new array that c...
How To Submit Values without Using a Form in PHP? If you know the values you want to submit, you can...