glenrobson / SimpleAnnotationServer

A simple IIIF and Mirador compatible Annotation Server
Apache License 2.0
97 stars 29 forks source link

Is there any update in supporting mirador 3? #136

Open AndrewEffendi opened 2 years ago

AndrewEffendi commented 2 years ago

Simple Annotation Server seems to be working for mirador 3, Is there any update in supporting mirador 3?

glenrobson commented 2 years ago

Hi Andrew,

Mirador 3 is backwards compatible so you are correct it can read SAS annotations but the issue is that Mirador also supports version 3 manifests which SAS doesn't. That is the work I need to do and I should also tackle #5 at the same time.

There is an adapter here in the mirador annotations plugin which will connect to SAS in the interim:

https://github.com/ProjectMirador/mirador-annotations/blob/d6b55e038c80344fb0a3626d8a5b51475a645e29/src/SimpleAnnotationServerV2Adapter.js

faouinti commented 2 years ago

Hello,

I'm using the Python pyIIIFpres module for easing the construction of JSON manifests compliant with IIIF API 3.0. I think that this version of Simple Annotation Server supports only Presentation API v2.

Is there a new version of SAS that supports Presentation API v3? Is there another solution ?

Thank you.

glenrobson commented 2 years ago

Using this ticket to track the work of adding Mirador 3 in the Mirador 3 branch.

Todo:

glenrobson commented 2 years ago

to run Mirador:

cd src/node
npm run build
# this puts everything in the dist directory. Need to move this to the src/main/webapp/js/mirador
glenrobson commented 2 years ago

May need a local webpack file to deploy to the location I want:

https://github.com/ProjectMirador/mirador-integration/blob/master/webpack/webpack.config.js

glenrobson commented 2 years ago

Route for local testing the output bundle name