PC Magazine: “Stanza is the best e-book reader for the iPhone, and my favorite.”
21 Cool iPhone Apps - Stanza

Import Failed...

I've generated an epub file using the dita4publishers DITA Open Toolkit plugin. When I try to downloa/import it into Stanza on my iPhone I get an Import Failed message which is very obscure as to the real problem ..

Import Failed
Failed to download and import FILENAME.epub: Unable to translate FILENAME.epub for import: Unable to parse OPF data from zip:

I'll do more testing with this to see if this is a fundamental problem with epub files generated with this tool or if there's something special about the content I'm converting.

Are there some fundamental reasons that an import will fail? I know that the URL is good since Safari was able to locate it .. so that's not the problem.

Any tips would be appreciated .. thanks!

...scott

Resolved...

The dita4publishers plugin was not compressing the epub archive .. once I changed things to compress the archive, it seems to load properly in Stanza.

This may actually be a bug in Stanza though since most other epub readers handle an archive that's just stored and not compressed.

I thought an epub file was by

I thought an epub file was by definition a zip file?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.