01-10-2012, 04:30 PM | #1 |
Dylanologist
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
Modifying Identifiers
Friends,
Can I change the modifer ID in a file (and still have it function properly)? I created 5 ePub files. #1 works fine, I used it as a template for #2, then #2 as a template for #3 and so on. I ran into some issues with old files names remaining in the resourses of the opf, but was able to fix that with checkers sugestion. In doing this, it appears all the files have the same Identifier as #1 <dc:identifier id="BookID" opf:scheme="UUID">urn:uuid:5f65047c-bc4f-4121-9594-9511c5d68a8b</dc:identifier> <dc:identifier id="BookID" opf:scheme="UUID">urn:uuid:5f65047c-bc4f-4121-9594-9511c5d68a8b</dc:identifier> So what are my options? Thanks. - Fabe Running an iMac with Mac OS 10.7.2 / Sigil version 0.4.2 |
01-10-2012, 05:01 PM | #2 |
Dylanologist
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
Here's the real question: does it matter if there are ePub files with the same identifier?
The five ePubs I am working on are in a series. So, a person is likely to download all five. Will this cause any problems for them or their e-reader of choice? - Fabe |
Advert | |
|
01-10-2012, 05:06 PM | #3 |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Yes! Because you can't guarantee that they wont
|
01-10-2012, 05:11 PM | #4 |
Dylanologist
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
|
01-10-2012, 06:28 PM | #5 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Why chance it? Just delete the "identifier" metadata entry from your template epub's opf file and Sigil will happily generate a new one when next you save it (it will rebuild the OPF file in fact). There's no need to wonder if it will cause any issues.
Last edited by DiapDealer; 01-10-2012 at 06:31 PM. |
Advert | |
|
01-10-2012, 11:02 PM | #6 |
Dylanologist
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
Thanks. I have no idea how these internals work. I shall do this after a nights sleep. More anon. - Fabe
|
01-11-2012, 07:46 AM | #7 |
Dylanologist
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
This morning I deleted the Identifier id's in the content.opf files from 4 out of 5 files I created in Sigil. I closed the files and then reopened them. Each had a new and unique Identifier.
After doing this, Chapters in the Text folder were sorted into (I believe) alphabetical order and had to be rearranged into my book order. Then the Table of Contents had to be recreated. These were easy tasks. So now my 5 ePub files should open in Firefox and other readers without an Identifier id conflict. Lesson Learned: Do not duplicate an ePub file and use it as a template, because you will duplicate the Identifier. Thanks to everyone who helped me with this. - Fabe |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying different feeds in one recipe | rjchew | Recipes | 1 | 08-03-2011 01:27 PM |
Modifying Feed descriptions? | MidnightWombat | Recipes | 1 | 05-05-2011 09:40 AM |
Internal and User Categories = Identifiers | ViktorShchedrin | Library Management | 11 | 03-30-2011 01:42 AM |
Help modifying LRFTools | Demented | LRF | 0 | 08-30-2009 02:03 PM |
Modifying Headsets | iggypop | Lounge | 0 | 03-05-2007 05:31 PM |