Quote:
Originally Posted by hobnail
What happens if I forget to run the EpubCheck plugin? What blows up when that line is missing? I.e., if I upload it here or read it on my kobo.
|
The unique-identifier is mandatory in EPUB.
Not too sure what happens on readers when it's missing. But its main uses are:
- Font Obfuscation
- Telling a file is unique.
- On some devices.
- Let's say you stick a 2nd EPUB with the same UUID onto your reader, the device may scan and say: "Nope, no new book here."
- Store Notes/Highlights
- On some devices.
- On my old Nook, in an EPUB with matching UUID, the Notes/Highlights would carry over, being completely mangled since text/locations wouldn't match.
For more detail, also see:
2019: "@DiapDealer ISBN vs UUID"
Side Note: And I may be going cookoo, but didn't I remember a Sigil plugin made to randomly generate a new UUID? (Or was this just mentioned in passing?)
Side Note #2: Also see the
EPUB spec on unique-identifier.
Quote:
Originally Posted by hobnail
I think what I'm going to do is use the same template.epub file [...] then I'll fire up a new sigil and copy the one from that and paste it into the one I've just finished.
|
Yep. That's similar to what I do when I accidentally used the wrong file as my base.
Sigil, fresh EPUB, then go digging into the blank EPUB's UUID and carefully swap lines over.
(See thread above for more details on how to manually adjust UUID.)
Quote:
Originally Posted by Turtle91
I think Sigil will automatically correct that line if it is missing???
|
No. I don't believe so.
I just tested in Sigil 1.7.0 + 0.9.14.
I deleted the lines (in content.opf + toc.ncx), saved the EPUB, reopened, saved again, and the UUID lines continued to be missing.