Command line examples

Clean up the epub, try and fix the coverpage

Cleaning up the epub, trying and fix the coverpage is done everytime an epub is written

[sourcecode gutter="false" wraplines="true"]

java -jar epublib-1.0-SNAPSHOT.one-jar.jar –in inputbook.epub –out result.epub –type epub

[/sourcecode]

Change the title of an epub

[sourcecode gutter="false" wraplines="true"]

java -jar epublib-1.0-SNAPSHOT.one-jar.jar –in inputbook.epub –out result.epub –title "new title" –type epub

[/sourcecode]

Apply XSL stylesheet to every section of the book

[sourcecode gutter="false" wraplines="true"]

java -jar epublib-1.0-SNAPSHOT.one-jar.jar –in inputbook.epub –out result.epub –xsl "my_stylesheet.xsl" –type epub

[/sourcecode]