Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2014, 03:03 PM   #1
brownetu
Junior Member
brownetu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2014
Device: none
iBooks TOC error in EPUB3

I'm working on an EPUB3, and the Table of Contents (the toc.xhtml file) shows in iBooks for iPhone & iPad, but will not link to the proper chapters. The file functions on other devices and other readers & validates perfectly, but I cannot figure out why the ibooks TOC will not function properly. I've scoured the iBooks Asset Guide, but have built the file according to specifications as far as I can see, so have not been able to come up with a solution.

Has anyone come across this before and/or have any ideas for fixes? I've tried the extra apple namespace, and tinkering with the file path in the href, removing the ol class...

Alternatively is there a way to force iBooks to read the .ncx file instead of the .xhtml as it's not functioning properly?

------from the .opf file------------------
<item href="Text/toc.xhtml" id="toc" media-type="application/xhtml+xml" properties="nav" />
----------------------------------------------------

-----toc.xhtml-----------------------------------

<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>Table_of_Contents</title>
<link href="../Styles/Instructio_idstyles.css" rel="stylesheet" type="text/css"/>
</head>


<body id="Table_of_Contents" xml:lang="en-US">
<section epub:type="frontmatter">
<header>
<h1>Table of Contents</h1>
</header>


<nav epub:type="toc">


<ol class="TOC">
<li id="Preface">
<a href="Preface.xhtml">Preface</a>
</li>


<li id="Chapter_1_Challenging_Behaviors_of_Individual s _with_Developmental_Disabilit ies">
<a href="Chapter_1_Challenging_Behaviors_of_Individua ls_with_Developmental_Disabil ities.xhtml">Chapter 1: Challenging Behaviors of Individuals with Developmental Disabilities</a>
</li>
<li id="Chapter_2_The_Methodology_of_Functional_Asses s ment"><a href="Chapter_2_The_Methodology_of_Functional_Asse ssment.xhtml">Chapter 2: The Methodology of Functional Assessment: Process and Products</a>
</li>


<li id="Chapter_3_Treatment_Implications_Based_on_the _ Functional_Assessment">
<a href="Chapter_3_Treatment_Implications_Based_on_th e_Functional_Assessment.xhtml ">Chapter 3: Treatment Implications Based on the Functional Assessment</a>
</li>


<li id="Chapter_4_Teaching_Functional_Assessment_Cont e nt_and_Process">
<a href="Chapter_4_Teaching_Functional_Assessment_Con tent_and_Process.xhtml">Chapt er 4: Teaching Functional Assessment Content</a>
</li>


<li id="Chapter_5_Teaching_Functional_Analysis">
<a href="Chapter_5_Teaching_Functional_Analysis.xhtml ">Chapter 5: Teaching Functional Analysis</a>
</li>


<li id="Chapter_6_Functional_Analysis_Case_Training">
<a href="Chapter_6_Functional_Analysis_Case_Training. xhtml">Chapter 6: Functional Analysis Case Training/FACT</a>
</li>


<li id="Chapter_7_Resources">
<a href="Chapter_7_Resources.xhtml">Chapter 7: Resources for Team Members of Interdisciplinary Professionals</a>
</li>


<li id="References">
<a href="References.xhtml">References</a>
</li>


<li id="Glossary">
<a href="Glossary.xhtml">Glossary</a>
</li>
</ol>
</nav>
</section>
</body>
</html>
-----------------------------------------
brownetu is offline   Reply With Quote
Old 07-28-2014, 06:51 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,253
Karma: 11710167
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Did you declare the toc in your landmarks section? I don't see it. I see this:

Quote:
<nav epub:type="toc">
but not the landmark pointing TO it.

If I may, I'd also add: you do realize that nobody with first-gen ipads will be able to use this, right?

Hitch
Hitch is offline   Reply With Quote
 
Enthusiast
Old 07-29-2014, 05:46 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,239
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Hitch View Post
Did you declare the toc in your landmarks section? I don't see it. I see this:



but not the landmark pointing TO it.

If I may, I'd also add: you do realize that nobody with first-gen ipads will be able to use this, right?

Hitch
HAHAHAHAHA! Even iBooks isn't compatible with iBooks.
JSWolf is offline   Reply With Quote
Old 07-29-2014, 10:19 AM   #4
brownetu
Junior Member
brownetu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2014
Device: none
I've tried declaring it in the landmarks section, but it didn't make a difference. Also a landmarks section isn't a required section for ibooks or for general validation, so it shouldn't make a difference.
brownetu is offline   Reply With Quote
Old 07-29-2014, 02:07 PM   #5
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,510
Karma: 4597184
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by JSWolf View Post
HAHAHAHAHA! Even iBooks isn't compatible with iBooks.
Well the current version of iBooks won't run on the iPad 1. It looks like Apple's foresight was a bit off the mark when the iPad 1 was designed. They did not look forward enough to give it enough hardware to make it useable in the future releases. I think Apple recognized this error and from the Apple 2 on they have attempted to do better in this regard although there is no guarantee that at some point they will have to give up on older units.

Dale
DaleDe is offline   Reply With Quote
Old 07-29-2014, 02:41 PM   #6
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,253
Karma: 11710167
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by brownetu View Post
I've tried declaring it in the landmarks section, but it didn't make a difference. Also a landmarks section isn't a required section for ibooks or for general validation, so it shouldn't make a difference.
brownetu:

Well, the Landmarks section replaces the guide section, so yes, I'd think it would need to be included. Can you post your landmarks section, please?

Have you tried posting the toc sans anything but the page links themselves? Try some bracket navigation troubleshooting? First start by removing the id's, then the ol class, etc.? And what other nav elements do you have declared, in the book?

@Wolfie:

Nope, you are 100% correct. iBooks ePUB3 isn't compatible with iBooks on first-gen iPads. As usual, Apple has not only cavalierly abandoned the first-gen tablet, but was instrumental in driving the ePUB3 bus in such a way that the books made with it (which not only are giant wastes of bandwidth full of pretty-shiny things) won't work on their own device. Given that they were the prime mover in ePUB3, and how it's come out (utterly idiotically, I'd add; there wasn't a damn thing wrong with the NCX, nor how it worked; the point of this whole new nav element scheme makes NO sense), it's just typical Apple.

I mean, at least, with Amazon, whilst you have different devices, you CAN design reasonably graceful fallbacks. Not so with something like this--anyone with a first-gen either a) shan't be able to buy the book, or b) won't have the book work properly on their device. What's sensible about that?

Hitch
Hitch is offline   Reply With Quote
Old 07-29-2014, 02:54 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,239
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Hitch View Post
@Wolfie:

Nope, you are 100% correct. iBooks ePUB3 isn't compatible with iBooks on first-gen iPads. As usual, Apple has not only cavalierly abandoned the first-gen tablet, but was instrumental in driving the ePUB3 bus in such a way that the books made with it (which not only are giant wastes of bandwidth full of pretty-shiny things) won't work on their own device. Given that they were the prime mover in ePUB3, and how it's come out (utterly idiotically, I'd add; there wasn't a damn thing wrong with the NCX, nor how it worked; the point of this whole new nav element scheme makes NO sense), it's just typical Apple.

I mean, at least, with Amazon, whilst you have different devices, you CAN design reasonably graceful fallbacks. Not so with something like this--anyone with a first-gen either a) shan't be able to buy the book, or b) won't have the book work properly on their device. What's sensible about that?

Hitch
What's also wrong is that if you ave a 1st gen iPad and you go to the iBooksstore to buy a book, you have no idea if it will work or not because Apple doesn't label them as to what version you need. Even more stupidity.
JSWolf is offline   Reply With Quote
Old 07-29-2014, 08:00 PM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,510
Karma: 4597184
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by JSWolf View Post
What's also wrong is that if you ave a 1st gen iPad and you go to the iBooksstore to buy a book, you have no idea if it will work or not because Apple doesn't label them as to what version you need. Even more stupidity.
That would indeed be stupid. Of course claiming it is stupid doesn't make it stupid. At the bottom of the page of each book on the store is a requirements section that identifies the iOS version and the iBooks version required. Calling something stupid when its not can make you look stupid.

Dale
DaleDe is offline   Reply With Quote
Old 07-29-2014, 08:38 PM   #9
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,253
Karma: 11710167
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by DaleDe View Post
That would indeed be stupid. Of course claiming it is stupid doesn't make it stupid. At the bottom of the page of each book on the store is a requirements section that identifies the iOS version and the iBooks version required. Calling something stupid when its not can make you look stupid.

Dale
Yes, it does. That's one thing about Apple: they do constantly remind you, if you don't have the latest and greatest, that you can't do X. ;-)

Hitch
Hitch is offline   Reply With Quote
Reply

Tags
epub3, ibooks, nav, toc, toc problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mimetype contains wrong type (application/epub+zip expected) error in epub3 Nautan ePub 15 06-29-2014 07:06 AM
Ibooks, Epub3 and fixed layout overflow? fdeandao ePub 5 05-15-2014 11:30 PM
Different image next to TOC than iBooks shelf Alan Newson ePub 0 03-19-2012 07:17 AM
Why does automatic TOC disappear in iBooks? nonsequito ePub 1 06-07-2011 02:52 PM


All times are GMT -4. The time now is 02:25 AM.


MobileRead.com is a privately owned, operated and funded community.