|
|
#16 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,157
Karma: 6565346
Join Date: Nov 2009
Device: many
|
For the record, a valid epub (zip) contains at its root level an uncompressed mimetype file and a META-INF folder that contains a container.xml file. This container.xml file tells you where to find the opf file (in Sigil this is always called the content.opf).
Here is a short example container.xml file: Code:
<?xml version="1.0"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="OEBPS/content.opf"
media-type="application/oebps-package+xml"/>
</rootfiles>
</container>
Last edited by KevinH; 06-11-2017 at 11:43 PM. |
|
|
|
|
|
#17 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Thanks. That's a good addition to my notes.
It's really hard learning all these quirks when you're just starting, especially when you're targeting multiple epub formats, ereaders, etc. So I just used my first epub as kind of a guinea pig, learning from my mistakes. |
|
|
|
| Advert | |
|
|
|
|
#18 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,182
Karma: 150263711
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've found if you make your ePub's as simple as possible it will work in more places than not.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| META-INF/container error | afpeter | ePub | 9 | 07-23-2013 02:04 AM |
| container.xml resource is missing | masheen | ePub | 2 | 07-13-2011 11:36 PM |
| NEED HELP!!! - META-INF/container.xml is missing | soulmenj | ePub | 2 | 07-12-2011 11:49 PM |
| media.xml reported missing every time 505 inserts | ndep | Calibre | 1 | 10-11-2009 12:18 AM |
| IDPF - New digital book standard released: OEBPS (XML format) & OCF (container) | CommanderROR | News | 13 | 11-04-2006 09:49 AM |