View Single Post
Old 02-24-2013, 01:04 AM   #5
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 316
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
The first file in the archive must be the mimetype file. If it isn't, it won't pass validation. Also, that file must be stored uncompressed (in theory, anyway), and the directories themselves must not appear as separate entries, IIRC.

Getting this right usually requires either a command-line tool or an app that knows how to do it. For example, in OS X, you can usually get away with

Code:
cd folder_containing_extraction
zip -Xr9D ../filename.epub mimetype * -x .DS_Store
dgatwood is offline   Reply With Quote