kisom/dystopia — Issue #1: add books
Author: kisom
Created: 2012-02-07 17:14:57+00:00
State: open

Function to upload books to server.

Books are stored on the file system in the BOOK_DIR (books under the top level directory, i.e. /Users/kyle/Code/dystopia/books). I've been thinking about organising them by format, and the books are named as the SHA-256 hex digest of their contents.

For example:
`books/epub/978139021582e3ebd88a803a9707bff942bbcf705bc6a74b2e3e3d4a54dff3f3.epub`