[openbiblio-dev] First cut of AsyncUpload branch

Etienne Posthumus etienne.posthumus at okfn.org
Thu Feb 16 10:57:31 UTC 2012

On 15 February 2012 19:48, Tom Morris <tfmorris at gmail.com> wrote:
> It's actually pretty useful to have format handlers (e.g. parsers)
> either register what they can handle or provide a method by which the
> calling framework can query whether or not they can handle something.

A BibServer parser/scraper is seen as such by virtue of returning a
JSON dict of it's capabilities when called with a -bibserver command
line parameter
(it used to be -v but then I thought the likelihood of accidental
conflicts too high for such a short generic switch)

An example calling a file like this:    bibtex -bibserver
Produces output:
 {"display_name": "BibTex", "contact": "john.smith at okfn.org",
"bibserver_plugin": true, "BibJSON_version": "0.81",
"does_download":true, "format":"bibtex"}

The work-in-progress plugin scanner code can be viewed at:

More information about the openbiblio-dev mailing list