02-12-2019, 07:20 PM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
|
Change Content.opf, save, close and go back in and it's reverted
Hi
I'm having the same problem as below with uploading to Ingramspark https://www.mobileread.com/forums/sh...d.php?t=282146 I get the errors [ERROR]content.opf: 1,133: URL expected instead of calibre: [ERROR]content.opf: 40,41: Undecleared prefix: calibre [ERROR]content.opf: 41,50: Undecleared prefix: calibre But when I edit and go into content.opf (Right Click, Edit Book) and remove the references as the previous post indicated, save and export and epub3 file I get the same errors. I go back into content.opf and they're back! It's driving me mad and I know it's going to be user error! |
02-12-2019, 09:57 PM | #2 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
By default, Calibre updates the metadata (opf) inside the epub upon export (in Preferences > Save to disk). You need to disable that option.
For that matter, Edit Book/Tweak might be doing the same thing so you'll need to find and disable that option there, too. |
Advert | |
|
02-12-2019, 10:11 PM | #3 |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Try running it through the Modify PI with the Update metadata option unchecked and the Remove non dc: metadata elements option checked.
And if that doesn't satisfy IGS, open the epub in an archive utility like WinRAR or 7Zip and edit the file in place with a regular text editor like TextPad or Notepad++. BR Last edited by BetterRed; 02-12-2019 at 10:20 PM. |
02-13-2019, 03:29 AM | #4 | |
Member
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
|
Quote:
|
|
02-13-2019, 03:30 AM | #5 | |
Member
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
|
Quote:
|
|
Advert | |
|
02-13-2019, 03:43 AM | #6 |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
You'll find its thread in here == Index of plugins -
However, in calibre, go to Preferences (Ctrl+P) Plugins, click Get new plugins, click the plugin name header to sort the list, scroll down to the Modify ePub, double click, click OK to the warning, leave toolbar/menu stuff as is, then let it restart. Now you'll have the Modify ePub icon in the toolbar, select your book and click the Modify icon, set the options previously mentioned and let it rip. If it's not War and Peace should only take a few seconds BR |
02-13-2019, 04:10 AM | #7 | |
Member
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
|
Quote:
|
|
02-13-2019, 04:30 AM | #8 |
Member
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
|
OK all fine but now getting another error - will post a seperate thread. Many thanks for your time fellas - you should do this for a living
|
Tags |
content.opf, saving |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IngramSpark citing content.opf errors I can't find in the .opf | persand | Calibre | 4 | 03-21-2019 10:49 AM |
How to change markup in content.opf when importing .epub file? | Tom11880 | Library Management | 3 | 12-29-2018 06:21 AM |
Writing to the content.opf | CalibUser | Plugins | 6 | 09-05-2015 10:45 AM |
erroneous content.opf | rubeus | Sigil | 9 | 01-05-2015 04:30 PM |
Change opf filename from content.opf to title.opf | northstar7 | Sigil | 3 | 09-23-2013 12:44 PM |