MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Plugins (https://www.mobileread.com/forums/forumdisplay.php?f=268)
-   -   Generate a UUID ; Plugin? (https://www.mobileread.com/forums/showthread.php?t=333280)

un_pogaz 09-19-2020 09:42 AM

Generate a UUID ; Plugin?
 
Is already a plugin to replaces unique identifier="" in a existing book with a new UUID?

I'm going to try on my side, but it's going to be tough (I'll try on my side, but it's going to be a bit rough (since it comes out of the classic editable elements).

Thanks

JSWolf 09-19-2020 11:22 AM

If you don't have a duplicate UUID, why is it you want to replace the UUID?

KevinH 09-19-2020 12:01 PM

Under epub3 the modification date and time is considered part of the book identifier so that duplicate uuids need not be a worry allowing multiple revisions of the book to keep the same base uuid.

Also, be careful to turn off any and all font obfuscation before making any uuid change and sync it with the ncx metadata, and make sure not to mess with any id attributes on the dc:identifier in case it is referenced in the package bookid attribute or in other metadata (under epub3) and to set the scheme properly for epub2 vs epub3.


All times are GMT -4. The time now is 08:39 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.