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 an items array in the manifest (see
|
const sequence = manifest.sequences ? manifest.sequences[0] : null; |
). In the Presentation API 3.0, the
Ranges attribute is used to provide these ordering structures (
https://iiif.io/api/presentation/3.0/#54-range), and there are no
sequences. Diva's logic will still work with the 3.0 API because it will use the ordering of canvases found in the manifest's
items array, but will not show a different ordering if defined (because this will be defined in a
range.
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
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
sequencesarray in the manifest or anitemsarray in the manifest (seediva.js/source/js/parse-iiif-manifest.js
Line 70 in 5f53048
Rangesattribute 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'sitemsarray, 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