EPUB: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
==Contents== | ==Contents== | ||
* There must be a file <tt>mimetype</tt> in the toplevel containing the string <tt>application/epub+zip</tt> | * There must be a file <tt>mimetype</tt> in the toplevel containing the string <tt>application/epub+zip</tt> | ||
* There must be a directory <tt>META-INF</tt> in the toplevel | * There must be a directory <tt>META-INF</tt> in the toplevel containing: | ||
** <tt>container.xml</tt> specifies one or more ''rootfiles'', using their locations relative to the toplevel: | |||
<pre> | |||
<?xml version="1.0"?> | |||
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0"> | |||
<rootfiles> | |||
<rootfile full-path="PATHPATHPATH" media-type="application/oebps-package+xml"/> | |||
</rootfiles> | |||
</container> | |||
</pre> | |||