...
The code for the demo is here.
The item from the digital collections used is hardcoded, as this was just a proof of concept.
The serializers that we use to serve our metadata to the bookreader are at this PR. (Don’t merge it!)
Note this demo uses single JPG images – so is not appropriate for delivering full-resolution pan-and-zoom, which needs a tiling solution (such as IIIF, see below), which we have not yet been able to make work
How to use the demo above:
In your
scihist_digicoll
sandbox, check out the bookreader branch and make sure your server is running at port 3000.Make sure the indanthren book is available at http://127.0.0.1:3000/works/6lkg923 . If not, fetch it from staging.
Check out the code for the demo
run
npm run build && npm run serve
The demo will then be running at http://127.0.0.1:8000.
IIIF
IIIF is a standard that could theoretically allow us to use the BookReader to consume our images and metadata. (The APIs that interest us are the image API and the content search API.) This would notably allow us to offer pan-and-zoom functionality, among other useful features. For this to work:
...