View Single Post
Old 08-05-2014, 11:20 PM   #1068
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Lucas Malor View Post
PS: I think Kobo had a good idea about ids. It's surely more faster to select a DOM element by id instead of searching it.
Hmm, don't know about faster. The ADE method simply counts tags. And I think that is roughly the same way that has been defined for epub3. The latter is what calibre does in the viewer.

The ids are an overhead. They have to be added and unique. And if the book code changes, they need to be maintained.And the way that Kobo have done it by wrapping a span around each sentence, makes editing the book a little harder.
davidfor is offline   Reply With Quote