Quote:
Originally Posted by JSWolf
Now that we have this, how do we use it?
|
Sorry, forgot to mention it
First of all, you should have python installed. The script only uses standard modules, so no additional components are required.
Let's say you've got a directory where you have a OEBPS conformant e-book (like you just
exploded a book using ConvertLit). The the either of the following commands should do the trick:
Code:
python oeb2epub.py <path>/<to>/<e-book>
or
Code:
python oeb2epub.py <path>/<to>/<e-book> <output>.epub
In the first case oeb2pub.py will create a .epub file with the same name as directory: if you have your OEB book in /some/path/with/my/super-ebook script will create a file called /some/path/with/my/super-ebook.epub. In the second case you just specify where to put the resulting .epub file.