Quote:
Originally Posted by Vintage Season
Currently, if I use 7-Zip to simply add the file in the proper location, iTunes accepts it and uses the meta tagging I've specified for grouping and sorting, but epubcheck spits out the following:
Code:
ERROR: test.epub: length of first filename in archive must be 8, but was 20
|
Just checked this, and 7-zip rewrites the archive in a way that moves the mimetype file away from its required position at the start of the archive.
No of characters in 'mimetype': 8. No of characters in 'iTunesMetadata.plist': 20.
The problem lies with 7zip re-ordering the file, and there's not much that can be done unless the 7zip team decides to change it. It looks like 7zip simply isn't suitable for editing epubs unless you're very careful in recreating the archive after edits. I use WinRAR, largely because it allows you to open internal files straight into an editor of your choice. Unfortunately it's not free, but it's never shown this problem.