Quote:
Originally Posted by JSWolf
Is there any easy way to make a page map that works with RMSDK if you have page number IDs in the ePub?
|
It should be fairly easy to do automatically if someone wrote a tool but I'm not aware of any existing tools. Checking the few epubs I have around that have page numbers as IDs, they also have pageList entries in the XHTML navigation document and toc.ncx files. Since pageList is a part of the epub recommendation and that 15 years ago, the comment on page-map was "the 'page-map' attribute is not supported in the OPF Package Schema and thus NOT ALLOWED.", implementing page-map is unlikely to be a good idea.
Oddly the epubs that I have the implement pageList tend to flag that portion of the XHTML navigation document as hidden.
Code:
<nav epub:type="page-list" hidden="hidden">
<ol>
<li><a href="hurkle.xhtml#page101">101</a></li>
<li><a href="hurkle.xhtml#page102">102</a></li>
<li><a href="hurkle.xhtml#page103">103</a></li>
<li><a href="hurkle.xhtml#page104">104</a></li>
</ol>
</nav>