View Full Version : ePub OPF file error

10-03-2011, 04:38 PM
When I try to validate my ePub, I get this error message:

Validate EPUB documents

empowered_10_1_11.epub is not valid or contains warnings!

WARNING: empowered_10_1_11.epub: item (iTunesMetadata.plist) exists in the zip file, but is not declared in the OPF file
Check finished with warnings or errors!

How do I fix this? Thanks.

10-03-2011, 04:59 PM
It its mentioned a couple of times on the forum. If I recall correctly, you need to validate before adding/opening the book in iTunes, since iTunes adapts the book.

10-03-2011, 05:29 PM
1) You mean by dragging the ePub file into iTunes, the original file on the desktop gets this added code?

2) My book is already available in the iBook Store. I made some typo corrections. Can I sent this file with iTunes error, or do I need to go back to the original ePub before I uploaded to iBook Store?


10-03-2011, 05:29 PM
In Windows you can rename the file extension from .epub to .zip, open the .zip file, delete the iTunesMetadata.plist file, the rename back to .epub. On a Mac I think there's a AppleScript somewhere on this forum that you can use to unzip and rezip the .epub after deleting the file. Also if I recall correctly Sigil removes unmanifested files from .epubs.

If I need to test a ebook in iTunes I always make a copy and open that because iTunes adds that file when you add an ebook.

10-03-2011, 06:09 PM
Yes. Thanks for the tip.