From 16de24be784f17a72408cce81e0471050bf884b4 Mon Sep 17 00:00:00 2001 From: giacomounivr Date: Fri, 22 Nov 2024 15:17:13 +0100 Subject: [PATCH] changes id.url to id.path --- .../index.md | 2 +- .../manifest.json | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/recipe/0540-link-for-opening-multiple-canvases/index.md b/recipe/0540-link-for-opening-multiple-canvases/index.md index a1e34ce9a..68f18fc7a 100644 --- a/recipe/0540-link-for-opening-multiple-canvases/index.md +++ b/recipe/0540-link-for-opening-multiple-canvases/index.md @@ -28,7 +28,7 @@ None known. ## Example In this example we want to compare two painting of the Colosseum from two different Manifests. -One of the two Manifest is available at the following [link]({{ id.url }}/manifest.json). We can notice that the Colosseum painting is in the second Canvas. The other Manifest is from another recipe, and can be [accessed here](https://iiif.io/api/cookbook/recipe/0318-navPlace-navDate/manifest-2.json). +One of the two Manifest is available at the following [link]({{ id.path }}/manifest.json). We can notice that the Colosseum painting is in the second Canvas. The other Manifest is from another recipe, and can be [accessed here](https://iiif.io/api/cookbook/recipe/0318-navPlace-navDate/manifest-2.json). The Annotation will target the `id` of the two Canvases we want to compare and contain a reference to the two Manifests as shown in the example: diff --git a/recipe/0540-link-for-opening-multiple-canvases/manifest.json b/recipe/0540-link-for-opening-multiple-canvases/manifest.json index e1140afed..ae04eb99d 100644 --- a/recipe/0540-link-for-opening-multiple-canvases/manifest.json +++ b/recipe/0540-link-for-opening-multiple-canvases/manifest.json @@ -9,7 +9,7 @@ }, "items": [ { - "id": "{{ id.url }}/canvas/p1", + "id": "{{ id.path }}/canvas/p1", "type": "Canvas", "label": { "en": [ @@ -20,11 +20,11 @@ "width": 2048, "items": [ { - "id": "{{ id.url }}/page/p1/1", + "id": "{{ id.path }}/page/p1/1", "type": "AnnotationPage", "items": [ { - "id": "{{ id.url }}/annotation/p0001-image", + "id": "{{ id.path }}/annotation/p0001-image", "type": "Annotation", "motivation": "painting", "body": { @@ -34,14 +34,14 @@ "height": 1464, "width": 2048 }, - "target": "{{ id.url }}/canvas/p1" + "target": "{{ id.path }}/canvas/p1" } ] } ] }, { - "id": "{{ id.url }}/canvas/p2", + "id": "{{ id.path }}/canvas/p2", "type": "Canvas", "label": { "en": [ @@ -52,11 +52,11 @@ "width": 2048, "items": [ { - "id": "{{ id.url }}/page/p2/1", + "id": "{{ id.path }}/page/p2/1", "type": "AnnotationPage", "items": [ { - "id": "{{ id.url }}/annotation/p0002-image", + "id": "{{ id.path }}/annotation/p0002-image", "type": "Annotation", "motivation": "painting", "body": { @@ -66,7 +66,7 @@ "height": 1302, "width": 2048 }, - "target": "{{ id.url }}/canvas/p2" + "target": "{{ id.path }}/canvas/p2" } ] }