Skip to content

Support multiple page sequences in ranges #546

@dchiller

Description

@dchiller

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions