View Single Post
Old 08-15-2016, 10:12 AM   #1
brahms
Enthusiast
brahms began at the beginning.
 
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
mobi from kindlegen contents list problem

Hi all, and thanks for your help.

I've made an ePub directly (not using calibre etc), and it validates fine.

However, converting with kindlegen produces a mobi contents list (in PC kindle reader) that ignores clicks on the second page (title page) instead showing the cover image.

All pages display perfectly navigating by page forward/back and by the html toc so I presume the problem is in the .ncx?

Curiously, if i use Calibre to convert from epub to mobi, the resulting mobi works properly. Where am I going wrong? I'd prefer to get kindlegen to work if possible.

Code:
navMap> 

<navPoint id ="title001" playOrder="1">
<navLabel> <text>Title Page</text> </navLabel> <content src ="content/title001.html"/> 
</navPoint> 

<navPoint id ="toc" playOrder="2">
<navLabel> <text>Contents</text> </navLabel> <content src ="content/toc.html"/> 
</navPoint> 

<navPoint id ="content001" playOrder="3">
<navLabel> <text>Find Gold</text> </navLabel> <content src ="content/content001.html"/> 
</navPoint>

<navPoint id ="content002" playOrder="4">
<navLabel> <text>About the Author</text> </navLabel> <content src ="content/content002.html"/> 
</navPoint>

<navPoint id ="content003" playOrder="5">
<navLabel> <text>Copyright Page</text> </navLabel> <content src ="content/content003.html"/>
</navPoint> 

	</navMap>
		</ncx>
The manifest etc is this (I've taken out header stuff):

Code:
<manifest> 
  
  <item href="content/title001.html" id="title001" media-type="application/xhtml+xml"/> 
  <item href="content/content001.html" id="htmlcontent001" media-type="application/xhtml+xml"/> 
  <item href="content/content002.html" id="htmlcontent002" media-type="application/xhtml+xml"/>
  <item href="content/content003.html" id="htmlcontent003" media-type="application/xhtml+xml"/>
 
  <item href="content/toc.html" id="toc" media-type="application/xhtml+xml"/>
  <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/> 
  <item href="css/style001.css" id="cssstylesheet" media-type="text/css"/> 
  <item href="images/cover.jpg" id="My_Cover_ID" media-type="image/jpeg"/> <!-- Required for KindleGen, Barnes and Noble, and iBooks --> 
  </manifest>

<spine toc="ncx">

<itemref idref="title001"/>
<itemref idref="toc"/>
<itemref idref="htmlcontent001"/> 
<itemref idref="htmlcontent002"/>
<itemref idref="htmlcontent003"/>
</spine >

<guide> 
 
<reference href ="content/title001.html" type ="text" title ="Begin Reading"/>
<reference href ="content/toc.html" type ="toc" title ="Table of Contents"/>
 
</guide >
</package>

Many thanks.
brahms is offline   Reply With Quote