|12-19-2012, 11:10 AM||#1|
Join Date: Dec 2012
Device: Kindle Fire, IPad
Epub 3 -Epub 2 Apple Errors
First of all thanks for the help with my last post, I have a new problem with a different file.
I have an Apple Fixed Layout epub which works great on my IPad, however when I try to upload it to my IBooks account I get a 5107 error ( No Landmarks) after researching for about a week I have found out a few things but Apple is soo slow in replying so I thought I'd ask here.
It seems that any epub done using epub2 needs to have a guide in the content.opf file ( this is present in the book)
but I then read that any file in Epub3 needs to have a Landmarks code inserted in the toc.ncx.
I left the guide in the content and added the Landmarks code in the .opf and the file just hangs when trying to upload thru ITunes Producer.
My question here is this, to distinguish the difference between epub2 and 3 where do I look for the code that will tell me this?
IBooks Display options,container.xml, and doc.ncx do not seem to have any indication if the file is Epub 2 or 3. But idf I look in the content I see
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="en" unique-identifier="uid">
I would think this would be where I would identify epub2 or 3?
Common sense tells me that if this was an epub 2 file I would not be having these problems as I have the correct <guide> code there already. So it has to be epub3 .
Now since I'm having a problem adding the <landmarks> code can I change the epub from 3 to 2 bypass adding the Landmarks?
or can someone show me exactly how to add as the way I did ha\s to be wrong.
|12-19-2012, 03:26 PM||#2|
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Have you run an EPUB validator on the content? It might prove illuminating. Or it might pass, in which case you should go to bugreport.apple.com and file a bug against iTunes Producer about the hang.
Last edited by dgatwood; 12-19-2012 at 03:34 PM.
|12-19-2012, 08:49 PM||#3|
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
if you have the content.opf sorted out and it contains the guide element with at least one reference to the text/bodymatter, ie:
<guide> <reference href="cover.html" title="Cover" type="cover"/> <reference href="page01.html" title="Chapter One" type="text"/> </guide>
nav.html will look something like this:
you'll notice that <nav epub:type="toc"> is epub3's ncx, and <nav epub:type="landmarks"> is basically the guide from the opf.
once you've got that done, you'll need to declare nav.html in the <manifest> in the opf like any other html page, and also assign it the properties="nav":
<item href="toc.html" id="toc" media-type="application/xhtml+xml" properties="nav"/>
hope that helps
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Help with Apple error - ERROR ITMS-9000: ".epub: wrong namespace in filename.epub fil||muzammil||ePub||1||11-30-2012 06:25 AM|
|epub errors||Harden Taylor||Introduce Yourself||2||07-17-2012 03:22 AM|
|Epub errors||John123||ePub||2||06-07-2012 04:13 PM|
|Help with EPUB errors||overholt001||Workshop||4||04-09-2011 11:43 PM|
|ePub Errors||mrbillb||ePub||1||08-11-2010 09:24 PM|