Thread: Epub errors
View Single Post
Old 06-07-2012, 04:01 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Most of the error messages are self-explanatory and can be easily fixed.
Your mimetype file contains a linebreak character at the end that needs to be deleted and the file reference in the <guide> section of your package.opf file is missing the full path. You'll need to change it:

From: <reference type="cover" title="Cover Image" href="cover.xml"/>
To: <reference type="cover" title="Cover Image" href="xhtml/cover.xml"/>

To implement these changes, change the file extension from .epub to .zip and then extract all files. (If you still have the original project folder you can of course update the files there.)
Then use epubzip (OS X) or epubpack (Windows) to re-create the .epub file.

Last edited by Doitsu; 06-07-2012 at 04:05 AM.
Doitsu is offline   Reply With Quote