Treeline arranges your notes in a hierarchical manner. Each note is set to a type that defines which fields can be filled. That way you can define lists of books, lists of tasks or create a contacts list. Viewing a node shows a summary of all subordinated notes. Have a look at the screenshots to see a book database.
The file format of a Treeline file is easy to read XML. That predestinates these files for archiving, compressing, versioning and further automated processing.
Bitbucket hosts the plugin, so you can avoid the fiddling HTML language. Start using Textile to fast format your texts and get the same results in the final export to a HTML file.