biblatex
biblatex copied to clipboard
Open Library identifier support
Open Library is used to reference lots of online materials, for instance https://openlibrary.org/works/OL18103893W
It would be useful for the biblatex package to provide a default means of handling such references.
I have used these declarations
\DeclareFieldFormat{eprint:openlibrary}{%
openlibrary\addcolon\space
\ifhyperref
{\href{https://openlibrary.org/#1}{\nolinkurl{#1}}}
{\nolinkurl{#1}}}
\DeclareFieldAlias{eprint:OpenLibrary}{eprint:openlibrary}
This is used in a biblatex reference like this
eprint = {works/OL18103893W};
eprinttype = {openlibrary},
to produce an annotation like this in the PDF file:
openlibrary: books/OL23475181M
which provides the above URL to a page where the resource can be found.
Open Library has multiple APIs: "works", "edition", "isbn", "books", One could make a separate eprinttype for each of these, but I don't think there is much advantage to the user.