-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include handling of Presentation API 3.0 structures
and ranges
?
#546
Comments
structures
and ranges
structures
and ranges
?
Have you actually found a ranges ordering manifest in the wild? It’s a theoretical possibility but I’ve never actually seen one. |
I haven't! So yes, maybe not an issue -- if you haven't seen it, then let's not worry. Have you seen anyone using the Image API 3.0? Because that would also break things... Here, if your context pointed to diva.js/source/js/parse-iiif-manifest.js Line 164 in 5f53048
Which means here you set the quality to "native" which would not be recognized by a server operating API 3.0: diva.js/source/js/iiif-source-adapter.js Line 17 in 5f53048
Maybe that is also not adopted? I only found these because yesterday I created an IIIF Manifest using the 3.0 APIs, so maybe no one is doing that! |
Lots of people have adopted IIIF v3, but are figuring out how to manage both 2 and 3. The Bodleian's IIIF server is a good example of IIIF v3 manifests, but you have to specifically request it with an https://digital.bodleian.ox.ac.uk/developer/iiif/
Their image server also supports Image API v3:
|
Good to know! I think this is definitely something that does not need an immediate change. |
Diva currently supports the IIIF Presentation API 3.0. However, when obtaining the canvases in a manifest, Diva looks for either an array in a
sequences
array in the manifest or anitems
array in the manifest (seediva.js/source/js/parse-iiif-manifest.js
Line 70 in 5f53048
Ranges
attribute is used to provide these ordering structures (https://iiif.io/api/presentation/3.0/#54-range), and there are nosequences.
Diva's logic will still work with the 3.0 API because it will use the ordering of canvases found in the manifest'sitems
array, but will not show a different ordering if defined (because this will be defined in arange
.For more information about this change, see https://iiif.io/api/presentation/3.0/change-log/#141-remove-sequence-in-favor-of-ranges-items-and-behavior-value-sequence
The text was updated successfully, but these errors were encountered: