import Upgrader from 'iiif-prezi2to3';
let uri = "http://iiif.io/api/presentation/2.1/example/fixtures/21/manifest.json";
let upgrader = new Upgrader({"deref_links " : false});
let resultObject = upgrader.processUri(uri, true);
Sequence viewingDirection ignored:
import Upgrader from 'iiif-prezi2to3';
let uri = "http://iiif.io/api/presentation/2.1/example/fixtures/22/manifest.json";
let upgrader = new Upgrader({"deref_links " : false});
let resultObject = upgrader.processUri(uri, true);
Sequence viewingHint ignored:
import Upgrader from 'iiif-prezi2to3';
let uri = "http://iiif.io/api/presentation/2.1/example/fixtures/23/manifest.json";
let upgrader = new Upgrader({"deref_links " : false});
let resultObject = upgrader.processUri(uri, true);
Current Behavior
If a manifest contains only one sequence the sequence object with all of its properties getting ignored, no range being created.
Possible Solution
Sequences with metadata, viewingDirection, viewingHint, etc. shouldn't be ignored.
Sequence
metadata
ignored:Sequence
viewingDirection
ignored:Sequence
viewingHint
ignored:Current Behavior
If a manifest contains only one sequence the sequence object with all of its properties getting ignored, no range being created.
Possible Solution
Sequences with
metadata
,viewingDirection
,viewingHint
, etc. shouldn't be ignored.