Quote:
Originally Posted by Jellby
Hand-coded XHTML, OPF and NCX, zipped with:
Code:
#!/bin/bash
FILE="The Prince and the Pauper.epub"
rm -f "$FILE"
zip -X0 "$FILE" mimetype
zip -X9Dr "$FILE" META-INF OEBPS
|
Hi Jellby
Does this code works on Mac OS-X? I have read that the sequence in which the files are zipped is important.
I am also looking at automating the coding of the HTML, OPF and NCX files with php and mysql because my book has a very repetitive structure.
Paul