View Single Post
Old 08-25-2022, 07:46 PM   #5
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by bookman156 View Post
I have a number of epub 3 files to prepare that are structurally similar. I was thinking of getting one file ready in Sigil with all the fonts and CSS etc and then just saving under another name and swapping the cover and content for each new epub.
You can create a basic "template" folder with your common:
  • HTML files
    • Title page
    • Copyright page
    • Front/Backmatter
  • CSS
  • Fonts
  • Images
    • Logos
    • Temporary covers

Then when you open an EPUB, you can "Import" those files.

Some of these methods were discussed in:

Doitsu then created an "EPUBTemplate" plugin to handle just this case.

Edit: Ahh, yes. KevinH's "Template" plugins work even better! I think he came up with that one after the discussion in those UUID threads!

Quote:
Originally Posted by bookman156 View Post
But this would mean the dc:identifier number would be the same. I guess this is generated randomly every time Sigil opens. What purpose does the dc:identifier number serve?
It is used in some devices for highlights/notes, syncing books, checking to see if file/book is new, etc.

Plus a few other technical EPUB things. (See topic below.)

Quote:
Originally Posted by bookman156 View Post
And could I just change it to something else manually in .opf file for each new epub?
Yes, it is possible.

See the discussion in:

We went through all the in-depth details.

And I swear, somewhere along the line, someone made a plugin to generate a new random UUID without needing to create a new EPUB... but maybe I'm imagining that.

I always just started from a new EPUB + imported all needed "template" files in... or in the very rare case, I manually tweaked the UUIDs (using the instructions I wrote in this post).

Last edited by Tex2002ans; 08-25-2022 at 07:49 PM.
Tex2002ans is offline   Reply With Quote