Hi tkeo,
Quote:
Originally Posted by tkeo
Your are quite right. Retrieval of original idrefs causes much complication of the code; however, I'd like to keep it in KindleUnpack, in order to reconstruct the source more precisely.
In addition, to get cover page creation condition needs skelid in RESC and part in k8proc.
|
But why keep it? The idrefs are just temporary tags and they are truly meaningless in that they convey no information other than uniqueness. They don't help make reconstructing the source more precisely since any unique id work to do that. You can not use them to deduce anything new that we actually need.
That means the code that tries to generate uniqueness of idrefs is just a source of potential problems, and adds code complications and code size for no true added benefit. Please remove it unless you can demonstrate that using the idrefs actually improves functionality in some way. For the cover, you can parse the idref and then let opf give it our own unique idref with no extra code.
Thanks,
KevinH