View Single Post
Old 12-10-2013, 05:21 PM   #1
slicknick001
Member
slicknick001 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2013
Device: kindle
Table of contents and related spine links incorrect

The two links described below work correctly in the Sigil editor but don't work in the pc kindle reader.

1) In the Table of Contents, the top link, "Cover", is not clickable.

2) In the "Spine" navigation panel in the Kindle, the second link, "Contents", is not clickable.

I've attached Sigil file and mobi file generated by kindlegen. I'd be grateful for any help.


Here is the pasted code for TOC.xhtml, content.opf and the toc.ncx pages:

************************************************** ******
TOC code
************************************************** ******<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Contents</title>
<link href="../Styles/sgc-toc.css" rel="stylesheet" type="text/css" />
<link href="../Styles/RichmondStyle.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h1 class="hidden">Contents</h1>

<div class="sgc-toc-title">
Table of Contents
</div>

<div class="sgc-toc-level-1">
<a href="../Text/cover.xhtml">Cover</a>
</div>

<div class="sgc-toc-level-1">
<a href="../Text/TOC.xhtml">Contents</a>
</div>

<div class="sgc-toc-level-1">
<a href="../Text/Copyright.xhtml">Copyright</a>
</div>

<div class="sgc-toc-level-1">
<a href="../Text/BenchWarfare.xhtml">Bench Warfare</a>
</div>

<div class="sgc-toc-level-1">
<a href="../Text/AboutTheAuthor.xhtml">About the Author</a>
</div>
</body>
</html>



************************************************** ******
content.opf code
************************************************** ******
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnspf="http://www.idpf.org/2007/opf">
<dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:ed910306-b456-4990-977b-c139e6691dc1</dc:identifier>
<dc:title>Bench Warfare</dc:title>
<dc:creator opf:role="aut">Nicholas Lim</dc:creator>
<dc:language>en</dc:language>
<dc:date opf:event="modification">2013-12-10</dc:date>
<meta content="0.7.4" name="Sigil version" />
<meta name="cover" content="Bench_Warfare_Linen_Letterpress_v6.jpg" />
</metadata>
<manifest>
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
<item href="Text/Copyright.xhtml" id="Copyright.xhtml" media-type="application/xhtml+xml" />
<item href="Text/AboutTheAuthor.xhtml" id="AboutTheAuthor.xhtml" media-type="application/xhtml+xml" />
<item href="Styles/RichmondStyle.css" id="RichmondStyle.css" media-type="text/css" />
<item href="Text/BenchWarfare.xhtml" id="BenchWarfare.xhtml" media-type="application/xhtml+xml" />
<item href="Text/TitlePage.xhtml" id="TitlePage.xhtml" media-type="application/xhtml+xml" />
<item href="Styles/sgc-toc.css" id="sgc-toc.css" media-type="text/css" />
<item href="Text/TOC.xhtml" id="TOC.xhtml" media-type="application/xhtml+xml" />
<item href="Text/cover.xhtml" id="cover.xhtml" media-type="application/xhtml+xml" />
<item href="Images/Amazon-small-quality.co.uk.jpg" id="Amazon-small-quality.co.uk.jpg" media-type="image/jpeg" />
<item href="Images/Amazon-small-quality.com.jpg" id="Amazon-small-quality.com.jpg" media-type="image/jpeg" />
<item href="Images/Bench%20Warfare%20Linen%20Letterpress%20v6.jpg" id="Bench_Warfare_Linen_Letterpress_v6.jpg" media-type="image/jpeg" />
<item href="Images/Goodreads-small-quality.jpg" id="Goodreads-small-quality.jpg" media-type="image/jpeg" />
</manifest>
<spine toc="ncx">
<itemref idref="cover.xhtml" linear="no" />
<itemref idref="TOC.xhtml" />
<itemref idref="Copyright.xhtml" />
<itemref idref="TitlePage.xhtml" />
<itemref idref="BenchWarfare.xhtml" />
<itemref idref="AboutTheAuthor.xhtml" />
</spine>
<guide>
<reference href="Text/Copyright.xhtml" title="Copyright Page" type="copyright-page" />
<reference href="Text/TOC.xhtml" title="Table Of Contents" type="toc" />
<reference href="Text/TitlePage.xhtml" title="Title Page" type="title-page" />
<reference href="Text/BenchWarfare.xhtml" title="Text" type="text" />
<reference href="Text/AboutTheAuthor.xhtml" title="Bibliography" type="bibliography" />
<reference href="Text/cover.xhtml" title="Cover" type="cover" />
</guide>
</package>

************************************************** ******
toc.ncx code
************************************************** ******
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!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 content="urn:uuid:ed910306-b456-4990-977b-c139e6691dc1" name="dtb:uid"/>
<meta content="1" name="dtb:depth"/>
<meta content="0" name="dtb:totalPageCount"/>
<meta content="0" name="dtb:maxPageNumber"/>
</head>
<docTitle>
<text>Bench Warfare</text>
</docTitle>
<navMap>
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="Text/cover.xhtml"/>
</navPoint>
<navPoint id="navPoint-2" playOrder="2">
<navLabel>
<text>Contents</text>
</navLabel>
<content src="Text/TOC.xhtml"/>
</navPoint>
<navPoint id="navPoint-3" playOrder="3">
<navLabel>
<text>Copyright</text>
</navLabel>
<content src="Text/Copyright.xhtml"/>
</navPoint>
<navPoint id="navPoint-4" playOrder="4">
<navLabel>
<text>Bench Warfare</text>
</navLabel>
<content src="Text/BenchWarfare.xhtml"/>
</navPoint>
<navPoint id="navPoint-5" playOrder="5">
<navLabel>
<text>About the Author</text>
</navLabel>
<content src="Text/AboutTheAuthor.xhtml"/>
</navPoint>
</navMap>
</ncx>
Attached Files
File Type: epub BenchWarfare v1.1.epub (1.89 MB, 232 views)
File Type: mobi BenchWarfare v1.1.mobi (3.95 MB, 160 views)
slicknick001 is offline   Reply With Quote