That's why I also include the sources in this post. License is WTFPL ;-)
Basically each book is stored in a folder, and there is a file in XML format (metadata.opf) in each folder, which contains the ID. Read the source code, it's pretty straightforward.
Last edited by Mattes; 04-22-2013 at 06:12 PM.
|