04-26-2012, 12:52 PM | #1 | |
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
Sigil 0.5.3 keeps rebuilding my content.opf file from scratch
Old routine, new problem? I've been doing the same thing in the content.opf files I've been working on for a year now and recently Sigil started rebuilding them from scratch, saying they were broken. Only things I add is:
Quote:
Thank you in advance, Michael PS. Feel free to move my post to the ePub forum if it happens to be an ePub problem and not a Sigil problem. Edit: And when content.opf file is rebuilt, all the files in the spine lose their order. Why is that? Last edited by mtrahan; 04-27-2012 at 12:21 PM. Reason: Another info/question. |
|
04-26-2012, 10:18 PM | #2 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Are you sure you're not overwriting something with those additions? I'm only asking because I can add those three items to existing epubs and save them with no broken/rebuilt OPFs.
My guess is you might be overwriting the existing dc:indentifier entry—which is also being referenced as the unique-identifier in the "package" tag. That will result in a broken/rebuilt OPF. You'll want to add the ISBN identifier to the dc-metadata... not overwrite the existing one. Quote:
One more reason to use Sigil's GUI metadata editor to initially add new metadata. You can always alter the details manually later if need be. Last edited by DiapDealer; 04-26-2012 at 10:43 PM. |
|
Advert | |
|
04-27-2012, 12:20 PM | #3 | |
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
Overwriting? You mean that if there is already a <dc:identifier id="bookid">urn:uuid:KEY</dc:identifier> in my content.opf file, I can't add the ISBN aswell in the way I've been doing it? Dang, how come I don't know that and FlightCrew never told me?
Quote:
Well... Thanks a lot. This was quite helpful. Good thing I posted this question, it was about time I learn about this GUI medata editor! Karma for you! |
|
04-27-2012, 12:27 PM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Actually the more option is there for quite some time. At least in 0.3 I believe.
The metadata you can add there are the official metadata according to the specs. You cannot add metadata there which is not according to the spec. So, if you want to add the metadata for series Calibre style, you cannot do that (as an example). You need to paste that directly in the opf. |
04-27-2012, 12:35 PM | #5 | ||
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
Quote:
Is my first solution acceptable? This one: Quote:
Thanks again, Michael |
||
Advert | |
|
04-27-2012, 12:43 PM | #6 |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
There's a simple workaround. Immediately after rebuilding, the files in the file-browser window are still in the old (correct) order. Now change the position of just one file by dragging it to a new place and then drag it back. The spine will be updated with the old order.
|
04-27-2012, 01:00 PM | #7 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
04-28-2012, 09:10 AM | #8 |
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
You guys rock—thanks again!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? | DHahn | Kindle Formats | 3 | 04-17-2012 04:06 AM |
Sigil corrupting content.opf (0.4, 0.5) | cyana | Sigil | 21 | 02-11-2012 05:25 PM |
Sigil resets edits to content.opf | adv_dp_fan | Sigil | 7 | 09-28-2011 06:50 PM |
editing OPF on sigil and adding flash file | shlomof | Sigil | 5 | 02-23-2011 02:39 PM |
cleaning the content.opf file | Adjust | ePub | 6 | 09-01-2010 05:54 PM |