From 15ce65ee1cb02b7dbc481f5f984541a10016fb3e Mon Sep 17 00:00:00 2001 From: Robert Casties Date: Fri, 27 Sep 2024 18:57:09 +0200 Subject: [PATCH] small fixes. --- recipe/0309-annotation-collection/anno_coll.json | 2 +- recipe/0309-annotation-collection/anno_p1.json | 6 +++--- recipe/0309-annotation-collection/index.md | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/recipe/0309-annotation-collection/anno_coll.json b/recipe/0309-annotation-collection/anno_coll.json index 791ae82a7..7e73e6d27 100644 --- a/recipe/0309-annotation-collection/anno_coll.json +++ b/recipe/0309-annotation-collection/anno_coll.json @@ -7,7 +7,7 @@ "Newspaper layout markup" ] }, - "total": 12, + "total": 8, "first": "{{ id.path }}/anno_p1.json", "last": "{{ id.path }}/anno_p2.json" diff --git a/recipe/0309-annotation-collection/anno_p1.json b/recipe/0309-annotation-collection/anno_p1.json index 007335c29..41b28e624 100644 --- a/recipe/0309-annotation-collection/anno_p1.json +++ b/recipe/0309-annotation-collection/anno_p1.json @@ -12,7 +12,7 @@ "body": { "type": "TextualBody", "format": "text/plain", - "value": "headline-1" + "value": "text-1-1" }, "target": { "type": "SpecificResource", @@ -38,7 +38,7 @@ "body": { "type": "TextualBody", "format": "text/plain", - "value": "text-1-1" + "value": "text-1-2" }, "target": { "type": "SpecificResource", @@ -64,7 +64,7 @@ "body": { "type": "TextualBody", "format": "text/plain", - "value": "text-1-2" + "value": "text-1-3" }, "target": { "type": "SpecificResource", diff --git a/recipe/0309-annotation-collection/index.md b/recipe/0309-annotation-collection/index.md index 43cfb231d..d7424552f 100644 --- a/recipe/0309-annotation-collection/index.md +++ b/recipe/0309-annotation-collection/index.md @@ -29,6 +29,9 @@ All AnnotationPages are separate documents that have an `items` property contain A IIIF viewer that displays Annotations on a Canvas follows the URIs in the `annotations` property of the Canvas and loads the Annotations in the referenced AnnotationPages. If the viewer wants to indicate that these Annotations belong to one or more AnnotationCollections it has to follow the URI in the `partOf` property of the AnnotationPages to identify the AnnotationCollection and display its label and choose a common color for the Annotations. This means that a viewer has to load all AnnotationPages from all Canvases if it wants to present a list of all AnnotationCollections in the Manifest to the user. +issues: +- partOf in Prezi3 wants a list with id and type https://iiif.io/api/presentation/3.0/#partof + ## Restrictions ??? @@ -41,10 +44,16 @@ We use a Manifest containing two pages from a newspaper (Berliner Tageblatt, Feb {% include jsonviewer.html src="manifest.json" %} +AnnotationPage with Annotations on the first Canvas. + {% include jsonviewer.html src="anno_p1.json" %} +AnnotationPage with Annotations on the second Canvas. + {% include jsonviewer.html src="anno_p2.json" %} +AnnotationCollection referencing the AnnotationPages. + {% include jsonviewer.html src="anno_coll.json" %} ## Related Recipes