|
|
#1 | |
|
Colonel Mustard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPod Touch, Kindle 3, iPad 2
|
Sigil 0.5.3 keeps rebuilding my content.opf file from scratch
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. |
|
|
|
|
|
|
#2 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,818
Karma: 23139990
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
|
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.
__________________
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.” Last edited by DiapDealer; 04-26-2012 at 10:43 PM. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Colonel Mustard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPod Touch, Kindle 3, 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:
Is that something new? I can't believe I never saw that. Thank you for that. In my specific case, for example, is there a way to add those two separate dates — original-publication and epub-publication — with the GUI editor? Doesn't seem so. Closest match is "Date of publication".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!
|
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,098
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
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.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#5 | ||
|
Colonel Mustard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPod Touch, Kindle 3, iPad 2
|
Quote:
Is my first solution acceptable? This one: Quote:
![]() Thanks again, Michael |
||
|
|
|
|
|
#6 |
|
Det
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 716
Karma: 450180
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.
|
|
|
|
|
|
#7 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,818
Karma: 23139990
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
|
Quote:
__________________
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.” |
|
|
|
|
|
|
#8 |
|
Colonel Mustard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPod Touch, Kindle 3, iPad 2
|
You guys rock—thanks again!
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 | Mobi | 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 |