diff --git a/recipe/0485-contentstate-canvas-region/annotation.json b/recipe/0485-contentstate-canvas-region/annotation.json index f0e75c0bc..783e580eb 100644 --- a/recipe/0485-contentstate-canvas-region/annotation.json +++ b/recipe/0485-contentstate-canvas-region/annotation.json @@ -1,6 +1,6 @@ { "@context": "http://iiif.io/api/presentation/3/context.json", - "id": "https://example.org/import/1", + "id": "https://iiif.io/api/cookbook/recipe/0485-contentstate-canvas-region/annotation.json", "type": "Annotation", "motivation": ["contentState"], "target": { diff --git a/recipe/0485-contentstate-canvas-region/index.md b/recipe/0485-contentstate-canvas-region/index.md index 06b0ba56e..762a123ca 100644 --- a/recipe/0485-contentstate-canvas-region/index.md +++ b/recipe/0485-contentstate-canvas-region/index.md @@ -32,7 +32,7 @@ First, we create an Annotation: ```json { "@context": "http://iiif.io/api/presentation/3/context.json", - "id": "https://example.org/import/1", + "id": "https://iiif.io/api/cookbook/recipe/0485-contentstate-canvas-region/annotation.json", "type": "Annotation", "motivation": ["contentState"], "target": { @@ -51,12 +51,12 @@ We can create an Annotation with `motivation` set to `contentState` and a target We can now use one of the methods listed in the [examples of Content State encoding section](https://iiif.io/api/content-state/1.0/#63-examples-of-content-state-encoding) to generate a base64url string (**note: for brevity, we removed new line characters and white space before computing the base64url**). We can pass the encoded value, using the `iiif-content` query parameter of the viewer landing page: -[https://example.org/viewer?iiif-content=JTdCJTIyJTQwY29udGV4dCUyMiUzQSUyMmh0dHAlM0ElMkYlMkZpaWlmLmlvJTJGYXBpJTJGcHJlc2VudGF0aW9uJTJGMyUyRmNvbnRleHQuanNvbiUyMiUyQyUyMmlkJTIyJTNBJTIyaHR0cHMlM0ElMkYlMkZleGFtcGxlLm9yZyUyRmltcG9ydCUyRjElMjIlMkMlMjJ0eXBlJTIyJTNBJTIyQW5ub3RhdGlvbiUyMiUyQyUyMm1vdGl2YXRpb24lMjIlM0ElNUIlMjJjb250ZW50U3RhdGUlMjIlNUQlMkMlMjJ0YXJnZXQlMjIlM0ElN0IlMjJpZCU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2lwZSUyRjAwMDktYm9vay0xJTJGY2FudmFzJTJGcDIlMjN4eXdoJTNEMTUyOCUyQzMwMjQlMkMzNDQlMkM0MDglMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJ0eXBlJTIyJTNBJTIwJTIyQ2FudmFzJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIycGFydE9mJTIyJTNBJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIyaWQlMjIlM0ElMjAlMjJodHRwcyUzQSUyRiUyRmlpaWYuaW8lMkZhcGklMkZjb29rYm9vayUyRnJlY2lwZSUyRjAwMDktYm9vay0xJTJGbWFuaWZlc3QuanNvbiUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMnR5cGUlMjIlM0ElMjAlMjJNYW5pZmVzdCUyMiUwQSUyMCUyMCUyMCUyMCUyMCUyMCU3RCUwQSUyMCUyMCUyMCUyMCU1RCUwQSUyMCUyMCU3RCUwQSU3RA](https://example.org/) We can also create an anchor tag with the link as the `href` attribute for use in a web page: ```html -Link for visualizing the region of a Canvas using a viewer. +Link for visualizing the region of a Canvas using a viewer. ``` An alternative way of sharing a region of an image is to use the [Image API](https://iiif.io/api/image/3.0/#41-region). However, the context from which the region is extracted is not easily accessible. Instead, sharing a link to open the specific region with a viewer allows the users to explore another part of the image or related content and metadata in the Manifest.