EPUB files

http://code.google.com/p/epubcheck/

::

zip -X ../spm.epub mimetype css/style.css META-INF/container.xml book.ncx book.opf solplayaymar.xhtml

- It is what it sounds like. When you create your zip archive, the first one in has to be the mimetype file.
- When you run zip, use the -X argument so that there's no timestamps, etc. These are the 'extra fields'