View Single Post
Old 03-29-2020, 02:37 AM   #11
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,649
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DNSB View Post
From your orignal post, it seems you want to use an external file to be used to replace the toc.ncx in the epub when converting an epub to epub.
Quote:
Originally Posted by hymie View Post
I use ebook-convert to convert a bunch of HTML files into an EPUB,
And again, the toc.ncx is not a one size fits all solution.. It is specific to the epub in which it is embedded. As I said, unless you can guarantee that all the filenames and the number of files in the epub are identical, your toc.ncx is useless. For example, the code below is the toc.ncx file file from an edition of "The Beast That Shouted Love at the Heart of the World", a collection of Harlan Ellison stores. A valid toc.ncx for this epub and this one only. If nothing else, are you planning on generating a collection of epubs with the same identifiers?

Spoiler:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
<head>
    <meta content="urn:uuid:c277af8f-256f-4c97-afd2-5e8746cd3f89" name="dtb:uid"/>
<meta content="1" name="dtb:depth"/>
<meta content="0" name="dtb:totalPageCount"/>
<meta content="0" name="dtb:maxPageNumber"/>
</head>
<docTitle>
<text>The Beast That Shouted Love At the Heart of the World</text>
</docTitle>
<navMap>
<navPoint id="navpoint-1" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_cov.html"/>
</navPoint>
<navPoint id="navpoint-2" playOrder="2">
<navLabel>
<text>Title Page</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_tit01.html#tit01"/>
</navPoint>

<navPoint id="navpoint-3" playOrder="3">
<navLabel>
<text>THE BEAST THAT SHOUTED LOVE AT THE HEART OF THE WORLD</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_fm1.html#fm1"/>
</navPoint>
<navPoint id="navpoint-4" playOrder="4">
<navLabel>
<text>Dedication</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ded01.html#ded01"/>
</navPoint>
<navPoint id="navpoint-5" playOrder="5">
<navLabel>
<text>Contents</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_con01.html#con01"/>
</navPoint>
<navPoint id="navpoint-6" playOrder="6">
<navLabel>
<text>FORWORD</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_fm01.html#fm01"/>
</navPoint>
<navPoint id="navpoint-7" playOrder="7">
<navLabel>
<text>INTRODUCTION</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_fm02.html#fm02"/>
</navPoint>
<navPoint id="navpoint-8" playOrder="8">
<navLabel>
<text>THE BEAST THAT SHOUTED LOVE AT THE HEART OF THE WORLD</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch01.html#ch01"/>
</navPoint>
<navPoint id="navpoint-9" playOrder="9">
<navLabel>
<text>ALONG THE SCENIC ROUTE</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch02.html#ch02"/>
</navPoint>
<navPoint id="navpoint-10" playOrder="10">
<navLabel>
<text>PHOENIX</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch03.html#ch03"/>
</navPoint>
<navPoint id="navpoint-11" playOrder="11">
<navLabel>
<text>ASLEEP: WITH STILL HANDS</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch04.html#ch04"/>
</navPoint>
<navPoint id="navpoint-12" playOrder="12">
<navLabel>
<text>SANTA CLAUS VS. S.P.I.D.E.R.</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch05.html#ch05"/>
</navPoint>
<navPoint id="navpoint-13" playOrder="13">
<navLabel>
<text>TRY A DULL KNIFE</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch06.html#ch06"/>
</navPoint>
<navPoint id="navpoint-14" playOrder="14">
<navLabel>
<text>THE PITLL PAWOB DIVISION</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch07.html#ch07"/>
</navPoint>
<navPoint id="navpoint-15" playOrder="15">
<navLabel>
<text>THE PLACE WITH NO NAME</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch08.html#ch08"/>
</navPoint>
<navPoint id="navpoint-16" playOrder="16">
<navLabel>
<text>WHITE ON WHITE</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch09.html#ch09"/>
</navPoint>
<navPoint id="navpoint-17" playOrder="17">
<navLabel>
<text>RUN FOR THE STARS</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch10.html#ch10"/>
</navPoint>
<navPoint id="navpoint-18" playOrder="18">
<navLabel>
<text>ARE YOU LISTENING?</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch11.html#ch11"/>
</navPoint>
<navPoint id="navpoint-19" playOrder="19">
<navLabel>
<text>S.R.O.</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch12.html#ch12"/>
</navPoint>
<navPoint id="navpoint-20" playOrder="20">
<navLabel>
<text>WORLDS TO KILL</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch13.html#ch13"/>
</navPoint>
<navPoint id="navpoint-21" playOrder="21">
<navLabel>
<text>SHATTERED LIKE A GLASS GOBLIN</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch14.html#ch14"/>
</navPoint>
<navPoint id="navpoint-22" playOrder="22">
<navLabel>
<text>A BOY AND HIS DOG</text>
</navLabel>
<content src="Text/beastthatshoutedloveattheheartoftheworldthe_ch15.html#ch15"/>
</navPoint>
<navPoint id="navpoint-23" playOrder="23">
<navLabel>
<text>Copyright Page</text>
</navLabel>
<content src="Text/backmatter.html"/>
</navPoint>
</navMap>
</ncx>


Anyhow, I'm outta here.

To argue with a man who has renounced the use and authority of reason is like administering medicine to the dead, or endeavoring to convert an atheist by scripture.” —Thomas Paine, The American Crisis
DNSB is offline   Reply With Quote