View Single Post
Old 05-18-2011, 04:23 PM   #1
MattScott
Junior Member
MattScott began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2011
Device: ipad
Question NavPoints and Page Maps

I'm working on creating an ebook with KindleGen to generate the .mobi file.
Everything has been created properly as far as I know, but I'm getting a few errors when it genertates the file.

KindleGen Output:
Info(prcgen): Building Table of Contents - url: ...\toc.ncx
Info(prcgen): Atleast one <navPoint> tag must be there in ncx file.
Info(prcgen): No Page map found in book

I've got 21 <navPoint> tags in my TOC.ncx file yet still getting errors? I have no idea what the 'No page map found' is referencing. I have a page map in my mcx file. Do i need some reference to the page map in my html source?

Thanks in advance!

My .ncx code:
Code:
<?xml version=”1.0? encoding=”UTF-8??>
<!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?>

<docTitle>
<text>Get Rid of Stinkin' Thinking</text>
</docTitle>

<navMap>
<navPoint playOrder=”1?>
<navLabel>
<text>1. Objective: Becoming a Millionaire</text>
</navLabel>
<content src=”StinkinThinking.html#start”/>
</navPoint>

<navPoint playOrder=”2?>
<navLabel>
<text>2. Luke 5: Simon Peter’s Stinkin’ Thinking</text>
</navLabel>
<content src=”StinkinThinking.html#chap2“/>
</navPoint>

<navPoint playOrder=”3?>
<navLabel>
<text>3. Identify the Opposition to Change</text>
</navLabel>
<content src=”StinkinThinking.html#chap3“/>
</navPoint>

<navPoint playOrder=”4?>
<navLabel>
<text>4. Opposing Force #1: Perception vs. Reality</text>
</navLabel>
<content src=”StinkinThinking.html#chap4“/>
</navPoint>

<navPoint playOrder=”5?>
<navLabel>
<text>5. Opposing Force #2: A Lack of Teaching</text>
</navLabel>
<content src=”StinkinThinking.html#chap5“/>
</navPoint>

<navPoint playOrder=”6?>
<navLabel>
<text>6. Opposing Force #3: A Lack of Trust</text>
</navLabel>
<content src=”StinkinThinking.html#chap6“/>
</navPoint>

<navPoint playOrder=”7?>
<navLabel>
<text>7. Opposing Force #4: A Lack of Submission</text>
</navLabel>
<content src=”StinkinThinking.html#chap7“/>
</navPoint>

<navPoint playOrder=”8?>
<navLabel>
<text>8. Opposing Force #5: Your Core Values</text>
</navLabel>
<content src=”StinkinThinking.html#chap8“/>
</navPoint>

<navPoint playOrder=”9?>
<navLabel>
<text>9. Where’s My Increase?</text>
</navLabel>
<content src=”StinkinThinking.html#chap9“/>
</navPoint>

<navPoint playOrder=”10?>
<navLabel>
<text>10. It’s Time to Change!</text>
</navLabel>
<content src=”StinkinThinking.html#chap10“/>
</navPoint>

<navPoint playOrder=”11?>
<navLabel>
<text>11. Change Your Thinking</text>
</navLabel>
<content src=”StinkinThinking.html#chap11“/>
</navPoint>

<navPoint playOrder=”12?>
<navLabel>
<text>12. Step 4: Develop a Bigger Vision</text>
</navLabel>
<content src=”StinkinThinking.html#chap12“/>
</navPoint>

<navPoint playOrder=”13?>
<navLabel>
<text>13. Overcoming Stinkin’ Thinking</text>
</navLabel>
<content src=”StinkinThinking.html#chap13“/>
</navPoint>

<navPoint playOrder=”14?>
<navLabel>
<text>14. Effecting a Lasting Change</text>
</navLabel>
<content src=”StinkinThinking.html#chap14“/>
</navPoint>

<navPoint playOrder=”15?>
<navLabel>
<text>15. Conclusion</text>
</navLabel>
<content src=”StinkinThinking.html#chap15“/>
</navPoint>

</navMap>

</ncx>
And here is my .opf code:
Code:
<?xml version="1.0? encoding="utf-8??>

<package unique-identifier="uid">

<metadata>

<dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openebook.org/namespaces/oeb-package/1.0/">

<dc:Title>Get Rid of Stinkin' Thinking</dc:Title>

<dc:Language>en-us</dc:Language>

<dc:Identifier id="uid">978-0-9814522-2-7</dc:Identifier>

<dc:Creator>Dr. Brian D. Scott</dc:Creator>

<dc:Publisher>Wealth Producers</dc:Publisher>

<dc:Subject BASICCode="FIC031000">Religious</dc:Subject>

<dc:Description><em>You were created to increase and live in victory, but<strong> the way you think</strong> may be your greatest obstacle.</em><br />
A series of hurdles lie between you and your increase. We also call them barriers, attitudes, or mindsets. No matter their name or label, they all do the same thing -- they resist and oppose change! There resistant forces prevent clear thinking, clear vision, and clear decision-making. They create chaos in your mind and muddle your thoughts and desires. If you don't fight hard for change, this will become your 'normal mindset' and you will end up living a life od stinkin' thinking! In this book, Dr. Scott examines many of the forces that resist change and how to make changes to get rid of them.<br />
<strong> You must get rid of stingin' thinking!</strong>

</dc:Description>

<dc:Date>05/15/2010</dc:Date>

</dc-metadata>

<x-metadata>

<output encoding="utf-8?" content-type="text/x-oeb1-document"></output>

<EmbeddedCover>GROST-cover.jpg</EmbeddedCover>

<SRP Currency="USD">18.99</SRP>

<Demo>StinkinThinkingSample.prc</Demo>

</x-metadata>

</metadata>

<manifest>
<item id="item1" media-type="text/x-oeb1-document" href="StinkinThinking.html"></item>
<item id="TOC" media-type="application/x-dtbncx+xml" href="toc.ncx"></item>
</manifest>

<spine toc="TOC"/>
<itemref idref="item1"/>
<itemref idref="TOC"/>
</spine>

<tours></tours>

<guide>

<reference type="TOC" title="Table of Contents" href="StinkinThinking.html%23toc"></reference>

<reference type="start" title="Startup Page" href="StinkinThinking.html%23start"></reference>

</guide>

</package>
MattScott is offline   Reply With Quote