On 06/11/11 Robert P. J. Day said:
> i'm currently checking out some possibilities for ebook/epub
> publishing but if someone has the recipe to do the following on my
> ubuntu system, that would be ducky.
All you need is a few files, and zip.
Zipping up an epub book.
Given an unzipped epub like this...
.
|-- content.opf
|-- cover.jpg
|-- index_split_0.xhtml
|-- index_split_1.xhtml
|-- index_split_2.xhtml
|-- index_split_3.xhtml
|-- index_split_4.xhtml
|-- index_split_5.xhtml
|-- index_split_6.xhtml
|-- index_split_7.xhtml
|-- META-INF
| `-- container.xml
|-- mimetype
|-- stylesheet.css
|-- titlepage.xhtml
`-- toc.ncx
You can zip it up with the following commands:
zip -0X ~/mybook.epub mimetype
zip -rDX9 ~/mybook.epub * -x mimetype
The trick is populating those files. Unzip an existing .epub and examine them.
Mike