Manifest version 3 won't load in MIrador

65 views
Skip to first unread message

Fog Walking

unread,
Jun 20, 2023, 9:44:49 AM6/20/23
to IIIF Discuss
I try to load this manifest in the mirador demo located at https://mirador-dev.netlify.app/__tests__/integration/mirador/   but nothing happens.
https://iiif.apps-dev.k8s.library.uu.nl/manifest/iiif/v3/1874-284427
I have validated the manifest with the  Presentation API Validator  and that looks fine.
When I use a version2 it will load 
https://iiif.apps-dev.k8s.library.uu.nl/manifest/iiif/v2/1874-284427

Also tried this Mirador version without succes : https://projectmirador.org/embed/?iiif-content=https://iiif.apps-dev.k8s.library.uu.nl/manifest/iiif/v3/1874-284427

Perhaps something is missing in the version 3 manifest but I can't figure out what.
Sorry if this is not the right group to ask.

Lutz Helm

unread,
Jun 20, 2023, 10:21:00 AM6/20/23
to iiif-d...@googlegroups.com
Hello,

I'm not 100% sure it's the cause of your problem but I noticed that the
manifest at
https://iiif.apps-dev.k8s.library.uu.nl/manifest/iiif/v3/1874-284427
defines the "type" of the document as "sc:Manifest" instead of just
"Manifest" (which is defined as "iiif_prezi:Manifest" and expands to
"http://iiif.io/api/presentation/3#Manifest"). The Presentation API 3
JSON-LD context does not provide a prefix mapping for version 2 prefix "sc".

Mirador uses manifesto to parse the Manifest. Manifesto will not accept
any other combination than "@type":"sc:Manifest" or "type":"Manifest"
which would explain the problem:
https://github.com/IIIF-Commons/manifesto/blob/6e355e34c38b64b9cf9c366d6ff60006db341968/src/Serialisation.ts#L33-L56

You can always ask questions about Mirador in the Mirador channel of the
IIIF Slack or in the Mirador Github Repo:
https://github.com/ProjectMirador/mirador

Lutz

Am 20.06.23 um 15:44 schrieb Fog Walking:
> --
> -- You received this message because you are subscribed to the
> IIIF-Discuss Google group. To post to this group, send email to
> iiif-d...@googlegroups.com. To unsubscribe from this group, send
> email to iiif-discuss...@googlegroups.com. For more options,
> visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
> <https://groups.google.com/d/forum/iiif-discuss?hl=en>
> ---
> You received this message because you are subscribed to the Google
> Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to iiif-discuss...@googlegroups.com
> <mailto:iiif-discuss...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/iiif-discuss/2047c020-4c0d-49e2-a15b-cd93a9d5a78en%40googlegroups.com <https://groups.google.com/d/msgid/iiif-discuss/2047c020-4c0d-49e2-a15b-cd93a9d5a78en%40googlegroups.com?utm_medium=email&utm_source=footer>.

Fog Walking

unread,
Jun 21, 2023, 3:34:55 AM6/21/23
to IIIF Discuss
Thank you. Using  "type": "Manifest" solved the problem and the object is loaded in Mirador. Strangely enough the Validator now gives some errors but I think they are related with language stuff which I'll have to sort out.
Reply all
Reply to author
Forward
0 new messages