View Single Post
Old 09-27-2014, 06:42 AM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,604
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by roger64 View Post
Let me remark also that the navpoint id must be a unique identifier. If I select only the play-order number to replace them (i.e. a plain number with single or double digits), it seems very probable that this number will NOT be an unique identifier suitable for this purpose. If I name them, 'text1', ou 'navpoint-1' (the Sigil way), this risk disappear.
I never suggested using the play order number alone. But that number should be unique (if the playorder exists in the ncx). If it wasn't, adding 'text' or 'navpoint-' in front of it wouldn't help make it so.

Play orders don't have to be consecutive, but they can't repeat if present. So if they ARE present in your epubs, it should be trivial to create your "prettier" (and still unique) navpoint id from them using regex search and replace.
DiapDealer is online now   Reply With Quote