View Single Post
Old 03-28-2018, 10:45 AM   #31
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@DiapDealer...You're right, I did assume that all epubs contain a toc -- my mistake with apologies to both you and KevinH. OK I'll add some code that walks through the ncx and opf looking for hrefs with ids. I think the safest way would be to gather the href ids from both the xhtml files and toc.ncx and just use that as a check list for id removal from the xhtml files.

Last edited by slowsmile; 03-28-2018 at 10:52 AM.
slowsmile is offline   Reply With Quote