This temp directory is fine but unfortunately the path changes slightly every time. I have a script which processes toc.ncx, (so that it can be easily edited), and it would be handy to specify a fixed path so that my script could know where to find this file.
At the moment I - 1) explode the ePub, 2) copy the toc.ncx to C:\Books\Work, 3) run the script, 4) make the edits, 5) copy the rebuilt toc.ncx back to the temp folder, 6) rebuild the exploded ePub.
Having a fixed path would eliminate steps 2 and 5.
I can probably add some code to process the temp path to find the toc.ncx file.
|