Quote:
Originally Posted by KevinH
Okay, since I hate uuid based ids, I have modified the standalone opf_id_updater to version 2 that tries much much harder to generate an id based on a filename even if a collision occurs by adding a 4 digit count field to the base id only when needed.
In case others are interested I have attached it.
It works in my tests but it really needs to be tested on an OPF that has lots more potential for collisions to validate the new routine.
See the attached. Testers and Feedback welcome.
|
Hi All,
For those interested, I found a few epub3s that use media overlays and this opf_id_updater v2 still does not properly update the refines used for media duration information in the opf:
Support for things like the following:
<meta property="media:duration" refines="#chapter_001_overlay">0:14:20.500</meta>
where the refines value (after removing the leading #) refers to the manifest id of an smil file are not properly updated.
So there will be a v3 version of opf_id_updater coming up probably this weekend with this deficiency fixed.