Code from the "I, Librarian" web-based reference-management software (http://www.bioinformatics.org/librarian/index.php)