View Single Post
Old 03-16-2017, 10:56 AM   #7
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,705
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Oldeyes View Post
Howdy, apologies for arriving late to this party. Just looking for a little clarification on this topic.
1. Are these "filepos" placemarks only referenced in the ebook's Table Of Contents and/or Index (or other places as well)?
2. Suppose I created a "filepos=chapter", same id in every chapter, and in the Table of Contents referenced them as:
chapt01.xhtml#chapter
chapt02.xhtml#chapter
.....
Would that work? In other words, they don't have to be globally unique within the book?
Thanks!
Correct. The id attributes that url fragments point to need only be unique to the html file they occur in, and not the entire book.

The two references you included ARE globally unique to the book (even though the fragments are identical).
DiapDealer is online now   Reply With Quote