04-15-2011, 01:43 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: none
|
aum epub fixer
How do I link a TOC in an epub, so that it renders on a kindle and has anyone seen this message before:
(iTunesMetadata.plist) exists in the zip file, but is not declared in the OPF file |
04-17-2011, 09:23 PM | #2 | |
Media Bloke
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
|
Quote:
As soon as you proof your ePub on an iPad, iTunes adds it's own file (quoted above) which invalidates the ePub. Solution: Open the ePub again. Remove the playlist which will be on the first level of the package and rezip and rename epub. I rename the file like "no itunes plist" and use that file to validate then put it in another directory that never goes near iTunes again. Regarding the linking of a TOC in ePub. It is the same way you create hyperlinks in HTML. How you do that is up to you. Manually in a text editor or there are some HTML editors. Download Sigil and have a read of the Sigil threads. Last edited by wannabee; 04-17-2011 at 09:27 PM. |
|
Advert | |
|
04-18-2011, 11:35 AM | #3 |
EPUB designer
Posts: 13
Karma: 180
Join Date: Apr 2011
Device: Nook Color
|
Fragment identifier is not defined
I have successfully created a book using HTML for Kindle. Now I am trying to create an ePub format for my next book and have run into a stubborn problem. The HTML works fine, also works when converted to PDF. But I get the "fragment identifier is not defined" error in epubcheck.
I link from my headings back to the table of contents. It is a technical book, not fiction, so this feature is quite useful and important to me. Here is the code that generates the error in epub: <p id="NavigationTips"><a href="#aTableofContents"><b><i>Navigation Tips</i></b></a></p> If I remove "<a href="#aTableofContents">", it does not generate the frag id error. This is the target code for the TOC: <h3 id="aTableofContents"><b><i>Contents</i></b></h3> I have validated the code in HTML Validator. It does not report an error with the code with the href back to the TOC. I am no expert at HTML, so it could be just a newbie coding error, but I have tried everything and I'm hoping for some expert advice. Thanks, Mary |
04-18-2011, 11:45 AM | #4 | |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
04-18-2011, 01:12 PM | #5 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
On the other hand, in spite of Jon's Excellent Opinion, you may have decided or been told that you must have an internal html TOC. Personally, I kind of like an HTML TOC.
While I haven't tried the kind of linking you are attempting, it could well be that your fragment identifier is missing a file reference, so the parser doesn't have any idea which file to find the anchor in. Just a guess, but pretty easy to check. Good luck, perhaps more knowledgeable people will have better suggestions. |
Advert | |
|
04-18-2011, 02:10 PM | #6 | |
EPUB designer
Posts: 13
Karma: 180
Join Date: Apr 2011
Device: Nook Color
|
Quote:
Maybe it's misinformation. I'll give up on it if I must. Thanks for the reply! |
|
04-18-2011, 02:15 PM | #7 | |
EPUB designer
Posts: 13
Karma: 180
Join Date: Apr 2011
Device: Nook Color
|
Quote:
Hopefully, someone has the answer. If you need more info, let me know. I would like a solution if at all possible. Thanks for your reply, Mary |
|
04-19-2011, 05:19 AM | #8 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Try validating with FlightCrew (or Sigil), it might give a more explanatory message.
|
04-20-2011, 01:50 PM | #9 |
EPUB designer
Posts: 13
Karma: 180
Join Date: Apr 2011
Device: Nook Color
|
To report my results:
I opened my files with Google Chrome and it is "nice" enough to stop on errors on the page and inform you as to which line has the error! Very cool for finding code errors. Bless little IE's heart, it is so forgiving of errors it just opened my files without any problem. So much for HTML Validator, it missed the errors. After fixing the errors, the "fragment identifier not defined" errors disappeared. Yeay! Thanks for your tip about FlightCrew. I'll check it out. Mary |
04-20-2011, 09:16 PM | #10 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you cater for broken ePub readers, you cause the author(s) to not have to fix ToC issue. If you don't have an internal ToC and the external ToC doesn't work, then maybe enough people will complain and the reader will get fixed.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kobo epub fixer (font size problems) | thekidintheclock | Kobo Reader | 85 | 01-05-2013 10:52 PM |
Epub fixer? | Gadgetguy | Sony Reader | 1 | 03-06-2011 10:46 PM |
Epub Fixer Error: "zip error: 15" | Gordo29 | Kobo Reader | 0 | 06-26-2010 01:57 PM |
epub, ePub, EPUB, warum blos ePub? | flowoeB | Lounge | 5 | 11-27-2009 09:37 AM |
The Fixer 5+ books $9.99 package price | emellaich | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 06-26-2009 01:51 AM |