View Single Post
Old 12-04-2015, 12:53 PM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by crankypants View Post
An EPUB is just a zipped file with certain files and directories in it. How in the world do I force the mimetype file to not be compressed and be the first file using 7zip?
Like I said, either use the magical incantation with zip.exe, as blessed by the IPDF, or special tools written specifically to "zip up an EPUB properly".

It is not enough to simply create a zipped folder with 7-Zip.

...

Didn't you mention somewhere you were using perl? Why not use the perl module for creating EPUB automatically as part of the scripting?

http://search.cpan.org/~oty/EBook-EPUB-0.6/


Quote:
Why would the creators of EPUB even ask for something bizarre like that? There should be a mimetype file in there, and the EPUB validator should find it regardless of what physical order it has in the zip/epub file. Can someone help me understand?
As DaleDe said, the mimetype is needed for the zipfile itself, not the unpacked representation.

Quote:
Is Flightcrew free?
It is released under the same umbrella as Sigil (these days, it is no longer a builtin but decoupled and turned into a plugin).

https://github.com/Sigil-Ebook/flightcrew

Binary releases as a Sigil plugin are available, but you should also be able to build it as a standalone gui or cli tool.
eschwartz is offline   Reply With Quote