Quote:
Originally Posted by Steve Jordan
I didn't know anything about the "PK00" sequence. But everything else about the ePub files was the same with the older and latest sets, and the older sets opened fine. As another recent example, I have an ePub of "6 of One...", which opens fine in DE, created with the same tools. (It's free, so feel free to check, compare and contrast.) How do I check the older epub documents to see which "PK" sequence is on them?
|
Use a text editor to display the first few characters.
test.epub has:
Quote:
PK00PK^C^D^T^@^@^@^H^@¨*;9oa«,^V^@^@^@^T^@^@^@^H^@ ^@^@mimetypeK,(ÈÉLN
|
6of1.epub has:
Quote:
PK^C^D
^@^@^@^@^@`«Ü6oa«,^T^@^@^@^T^@^@^@^H^@^@^@mimetype application/epub+zipPK
|
A "good" ePub needs the "mimetypeapplication/epub+zipPK" starting at character 31, and it needs the "PK\3\4" initial string, rather than "PK00PK\3\4" which seems to be some extended ZIP header (extended ZIP is bad here). Also test.epub has compressed the contents of the mimetype file (application/epub+zipPK) and so it has the wrong string starting at character 31 (in fact mimetype starts is at character 35, presumably because of PK00PK vs PK).
It is hard to see why any ePub viewer would care about this, since its built in unzip probably still works. It it does care, then it needs to be explicit about what the problem is.