
: Re: Command line extraction of metadata (title. author) from epub file I would like to use a command line to extract the title of a book (possibly also other metadata) from its epub file and return
An EPUB file is just a zip file, and the book's metadata is contained in the OPF (Open Packaging Format) file, which is an XML file. The title is located in the /package/metadata/dc:title element. The other info you're looking for is probably also in children of the metadata element. Here's a good intro to the EPUB format: www.ibm.com/developerworks/xml/tutorials/x-epubtut/.
I'm not very familiar with Linux, so I don't know exactly how you'd do all this from the command line. I suspect it would involve writing or finding a script that would uncompress or dig around in the EPUB file, find the OPF file, parse its XML, and locate the element with the metadata you specify, perhaps using XPath.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Angie

: Rich e-book authoring, other than iBooks Author? i am writing (or should i say, developing) an ebook on iBooks Author with all the cool features it provides. After this I wanted to do a version

: EBook Portfolio / Resume Has anyone created an eBook portfolio to attract clients? I have been working at a publishing house and have converted many titles (some complex and impressive) and