Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2010, 09:59 AM   #1
Matt.Geiger
Junior Member
Matt.Geiger began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
NCX file issue with comma's

We ran into an interesting Problem in our NCX file the other day.
We have 13 locations in our NCX file the Copyright being the last navigation point.
We would generate the epub file and run it thru all the verifications and it would pass fine. When we would view it in kindle previewer we never saw the "cover" showing up as a Navigation point. We knew the problem was some place in the NCX file but we could not locate it we would remove the copyright from the NCX and the cover would show.
See the NCX below of the original issue

Quote:
<?xml version="1.0"?>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
<head>
<meta name="dtb:uid" content="removed ISBin"/>
<meta name="dtb:depth" content="1"/>
<meta name="dtb:totalPageCount" content="316"/>
<meta name="dtb:maxPageNumber" content="0"/>
</head>
<docTitle>
<text>Title hidden </text>
</docTitle>
<navMap>
<navPoint id="navpoint-1" playOrder="1">
<navLabel><text>Cover</text></navLabel>
<content src="xhtml/cover.xml"/></navPoint>
<navPoint id="navpoint-2" playOrder="2">
<navLabel><text>Title Page</text></navLabel>
<content src="xhtml/title.html"/></navPoint>
<navPoint id="navpoint-3" playOrder="3">
<navLabel><text>Dedication</text></navLabel>
<content src="xhtml/dedication.html"/></navPoint>
<navPoint id="navpoint-4" playOrder="4">
<navLabel><text>Acknowledgments</text></navLabel>
<content src="xhtml/acknowledgments.html"/></navPoint>
<navPoint id="navpoint-5" playOrder="5">
<navLabel><text>Contents</text></navLabel>
<content src="xhtml/contents.html"/></navPoint>
<navPoint id="navpoint-6" playOrder="6">
<navLabel><text>Batchcombe, Wessex, 1628</text></navLabel>
<content src="xhtml/batchcombe.html"/></navPoint>
<navPoint id="navpoint-7" playOrder="7">
<navLabel><text>Imbolg</text></navLabel>
<content src="xhtml/part1.html"/></navPoint>
<navPoint id="navpoint-8" playOrder="8">
<navLabel><text>Beltane</text></navLabel>
<content src="xhtml/part2.html"/></navPoint>
<navPoint id="navpoint-9" playOrder="9">
<navLabel><text>Litha</text></navLabel>
<content src="xhtml/part3.html"/></navPoint>
<navPoint id="navpoint-10" playOrder="10">
<navLabel><text>Samhain</text></navLabel>
<content src="xhtml/part4.html"/></navPoint>
<navPoint id="navpoint-11" playOrder="11">
<navLabel><text>Teaser</text></navLabel>
<content src="xhtml/teaser.html"/></navPoint>
<navPoint id="navpoint-12" playOrder="12">
<navLabel><text>Also by Author </text></navLabel>
<content src="xhtml/adcard.html"/></navPoint>
<navPoint id="navpoint-13" playOrder="13">
<navLabel><text>Copyright</text></navLabel>
<content src="xhtml/copyright.html"/></navPoint>
</navMap>
</ncx>
What we discovered is that having
Commas in the Nav Label would mess it up.
<navLabel><text>Batchcombe, Wessex, 1628</text></navLabel>
we changed the commas to entities and it worked fine.
What i can't understand is why removing the Copyright from the navlabel worked as well.
What are comma's doing to the file in the NCX and why will it not error out?

Thank you
Matt
Matt.Geiger is offline   Reply With Quote
Old 12-21-2010, 10:28 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
I've moved this thread to the Mobi workshop forum - you're much more likely to get an answer here than in the Kindle forum.

I really hope you haven't got monstrosities such as "comma's" in your actual book .
HarryT is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a toc.ncx file to the .prc package cyberbaffled Amazon Kindle 4 09-14-2010 02:21 PM
Re: Issue 412 in sigil: Codeview suddenly moves to top of file. crutledge Sigil 11 06-26-2010 04:30 PM
Issue sending PDF file to Sony 505 jabberwock_11 Calibre 4 12-28-2009 02:14 PM
Compiling HTML,NCX and OPF file pakiyabhai Calibre 8 12-25-2009 11:12 AM
adjusting toc.ncx file to restore missing chapters viewed in Adobe Digital Editions cyberbaffled ePub 5 12-06-2009 09:44 PM


All times are GMT -4. The time now is 09:35 AM.


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