From a70ee34cc1286a93db8e6577607987730a0d8430 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 25 Apr 2023 13:10:12 -0700 Subject: [PATCH 01/34] add Selectors to reg; mv/update imageAPISelector --- source/_includes/links.md | 2 + source/registry/index.md | 1 + source/registry/motivations/index.md | 2 +- .../selectors/image-api-selector/context.json | 26 +++ source/registry/selectors/index.md | 160 ++++++++++++++++++ 5 files changed, 190 insertions(+), 1 deletion(-) create mode 100644 source/registry/selectors/image-api-selector/context.json create mode 100644 source/registry/selectors/index.md diff --git a/source/_includes/links.md b/source/_includes/links.md index ce0d21f65..ad16c2ecf 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -252,7 +252,9 @@ [registry-activity-streams]: https://registry.iiif.io/ "IIIF Registry of Activity Streams" [registry-motivations]: {{ site.api_url | absolute_url }}/registry/motivations/ [registry-behaviors]: {{ site.api_url | absolute_url }}/registry/behaviors/ +[registry-image-api-selector]: {{ site.api_url | absolute_url }}/registry/selectors/image-api-selector/ [registry-process]: {{ site.api_url | absolute_url }}/registry/process/ +[registry-selectors]: {{ site.api.url | absolute_url }}/registry/selectors/ [registry-services]: {{ site.api_url | absolute_url }}/registry/services/ [registry-profiles]: {{ site.api_url | absolute_url }}/registry/profiles/ [registry-timeModes]: {{ site.api_url | absolute_url }}/registry/timeModes/ diff --git a/source/registry/index.md b/source/registry/index.md index 2f299bedf..e58f28193 100644 --- a/source/registry/index.md +++ b/source/registry/index.md @@ -17,6 +17,7 @@ The process for having an entry included in one of the IIIF extension registries * [Presentation API Extensions][extensions] * [Motivations][registry-motivations] * [Profiles][registry-profiles] +* [Selectors][registry-selectors] * [Services][registry-services] * [TimeModes][registry-timeModes] * [Types][registry-types] diff --git a/source/registry/motivations/index.md b/source/registry/motivations/index.md index ce79865e9..6e0d46ea3 100644 --- a/source/registry/motivations/index.md +++ b/source/registry/motivations/index.md @@ -1,7 +1,7 @@ --- title: Registry of Motivations layout: spec -tags: [annex, service, services, specifications] +tags: [registry, motivations, specifications] cssversion: 2 editors: - name: Michael Appleby diff --git a/source/registry/selectors/image-api-selector/context.json b/source/registry/selectors/image-api-selector/context.json new file mode 100644 index 000000000..0588400d8 --- /dev/null +++ b/source/registry/selectors/image-api-selector/context.json @@ -0,0 +1,26 @@ +{ + "@context": { + "iiif": "http://iiif.io/api/image/#", + + "region": { + "@id": "iiif:regionValue", + "@type": "xsd:string" + }, + "size": { + "@id": "iiif:sizeValue", + "@type": "xsd:string" + }, + "rotation": { + "@id": "iiif:rotationValue", + "@type": "xsd:string" + }, + "format": { + "@id": "iiif:formatValue", + "@type": "xsd:string" + }, + "quality": { + "@id": "iiif:qualityValue", + "@type": "xsd:string" + } + } +} diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md new file mode 100644 index 000000000..063a44df7 --- /dev/null +++ b/source/registry/selectors/index.md @@ -0,0 +1,160 @@ +--- +title: "Registry of Selectors" +tags: [registry, selectors, specifications] +layout: spec +cssversion: 2 +editors: +- name: Michael Appleby + ORCID: https://orcid.org/0000-0002-1266-298X + institution: Yale University +- name: Tom Crane + ORCID: https://orcid.org/0000-0003-1881-243X + institution: Digirati +- name: Robert Sanderson + ORCID: https://orcid.org/0000-0003-4441-6852 + institution: J. Paul Getty Trust +- name: Simeon Warner + ORCID: https://orcid.org/0000-0002-7970-7855 + institution: Cornell University +- name: Dawn Childress + ORCID: https://orcid.org/0000-0003-2602-2788 + institution: UCLA +- name: Jeff Mixter + ORCID: https://orcid.org/0000-0002-8411-2952 + institution: OCLC Research +--- + +## Status of this Document +{:.no_toc} + +This document is not subject to [semantic versioning][notes-versioning]. +Changes will be tracked within the document. + +**Editors:** + +{% include api/editors.md editors=page.editors %} + +{% include copyright.md %} + + +## 1. Introduction +{: #introduction} + +Selectors in Annotations are used to describe how to retrieve a given part of a resource. They are then associated with an instance of `SpecificResource` that also references the resource of which the Specific Resource is part. + +The Selectors described here extend the use of the [Web Annotation][org-w3c-webanno] model within the IIIF APIs, and were previously applied to the predecessor of the Web Annotation model, Open Annotation. These Selectors can be used with either annotation model. + +## 2. Selectors + +### 2.1 IIIF Image API Selector +{: #iiif-image-api-selector} + +The Image API Selector is used to describe the operations available via the Image API in order to retrieve a particular image representation. In this case the resource is the abstract image as identified by the [IIIF Image API][image-api] base URI plus identifier, and the retrieval process involves adding the correct parameters after that base URI. For example, the top left hand quadrant of an image has the region parameter of `pct:0,0,50,50` which must be put into the requested URI to obtain the appropriate representation. + +In order to make this as easy as possible for the situations when a IIIF Image API endpoint exists, we introduce a new Selector class called [`ImageApiSelector`][registry-image-api-selector]. It has properties that give the parameter values needed to fill out the URL structure in the request. If the property is not given, then a default should be used. + +One use of this is within the [IIIF Presentation API][prezi-api], when a Canvas is being painted by part of an image, or an image that requires rotation before display. + +| Property | Default | Description | +| -------- | --------- | ----------------------------------------------------- | +| type | | Required. Must be the value "ImageApiSelector". | +| region | "full" | The string to put in the region parameter of the URI. | +| size | "full" | The string to put in the size parameter of the URI. | +| rotation | "0" | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | +| quality | "default" | The string to put in the quality parameter of the URI. | +| format | "jpg" | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | +{: .api-table} + +For example, to rotate the top left hand 10% of the image clockwise by 90 degrees would use this configuration of the Selector: + +{% include api/code_header.html %} +``` json-doc +{ + "type" : "ImageApiSelector", + "region" : "pct:0,0,10,10", + "rotation" : "90" +} +``` + +And would result in this SpecificResource, when applied to an image service at `https://example.org/iiif/image1`: + +{% include api/code_header.html %} +``` json-doc +{ + "type": "SpecificResource", + "source": "https://example.org/iiif/image1", + "selector": { + "type": "ImageApiSelector", + "region": "pct:0,0,10,10", + "rotation": "90" + } +} +``` + +It can be used in the Presentation API as demonstrated in the section on [Rotation][prezi-rot]. + +### 2.2 Point Selectors +{: #point-selector} + +There are common use cases in which a point, rather than a range or area, is the target of the Annotation. For example, putting a pin in a map should result in an exact point, not a very small rectangle. Points in time are not very short durations, and user interfaces should also treat these differently. This is particularly important when zooming in (either spatially or temporally) beyond the scale of the frame of reference. Even if the point takes up a 10 by 10 pixel square at the user's current resolution, it is not a rectangle bounding an area. + +It is not possible to select a point using URI Fragments with the Media Fragment specification, as zero-sized fragments are not allowed. In order to fulfill the use cases, this specification defines a new Selector class called `PointSelector`. + +| Property | Description | +| -------- | ----------------------------------------------------- | +| type | Required. Must be the value "PointSelector". | +| x | Optional. An integer giving the x coordinate of the point, relative to the dimensions of the target resource. | +| y | Optional. An integer giving the y coordinate of the point, relative to the dimensions of the target resource. | +| t | Optional. A floating point number giving the time of the point in seconds, relative to the duration of the target resource. | +{: .api-table} + +For example, to select a point in a video that is 10 pixels in from the top left hand corner of the visual content, and 14.5 seconds into the duration: + +{% include api/code_header.html %} +``` json-doc +{ + "type": "PointSelector", + "x": 10, + "y": 10, + "t": 14.5 +} +``` + +### 2.3 Content Selectors +{: #content-selectors} + +Video content resources consist of both visual and audio content within the same bit-level representation. There are situations when it is useful to refer to only one aspect of the content -- either the visual or the audio, but not both. For example, an Annotation might associate only the visual content of a video that has spoken English in the audio, and an audio file that has the translation of that content in Spanish. + +This specification defines two Selectors, `AudioContentSelector` that selects the audio content and a second `VisualContentSelector` for the visual content. Neither selector has any additional properties. + +{% include api/code_header.html %} +``` json-doc +{ "type": "AudioContentSelector" } +``` + +{% include api/code_header.html %} +``` json-doc +{ "type": "VisualContentSelector" } +``` + +## Appendices + +### A. Acknowledgements + +The production of this document was generously supported by a grant from the [Andrew W. Mellon Foundation][org-mellon]. + +Thanks to the members of the [IIIF][iiif-community] for their continuous engagement, innovative ideas and feedback. + +### B. Change Log + +| Date | Description | +| ---------- | -------------------------------------------------- | +| 2023-04-27 | Version 1.2 (Change document to Registry of Selectors from Open/Web Annotation Extensions) +| 2018-03-14 | Version 1.1 (Update ImageApi, add Point Selectors) | +| 2014-07-01 | Version 1.0 (RFC) | +{:.api-table} + +[prezi-rot]: {{ site.api_url | absolute_url }}/presentation/2.0/#rotation "Rotation in Presentation API" +{% include acronyms.md %} +{% include links.md %} + From 46593099cfd1d2c871e6078bc5563d7e64cef09a Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 25 Apr 2023 13:25:54 -0700 Subject: [PATCH 02/34] update links.md --- source/_includes/links.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_includes/links.md b/source/_includes/links.md index ad16c2ecf..5fc600a18 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -252,9 +252,9 @@ [registry-activity-streams]: https://registry.iiif.io/ "IIIF Registry of Activity Streams" [registry-motivations]: {{ site.api_url | absolute_url }}/registry/motivations/ [registry-behaviors]: {{ site.api_url | absolute_url }}/registry/behaviors/ -[registry-image-api-selector]: {{ site.api_url | absolute_url }}/registry/selectors/image-api-selector/ +[registry-image-api-selector]: {{ site.api_url | absolute_url }}/registry/selectors/image-api-selector/context.json [registry-process]: {{ site.api_url | absolute_url }}/registry/process/ -[registry-selectors]: {{ site.api.url | absolute_url }}/registry/selectors/ +[registry-selectors]: {{ site.api_url | absolute_url }}/registry/selectors/ [registry-services]: {{ site.api_url | absolute_url }}/registry/services/ [registry-profiles]: {{ site.api_url | absolute_url }}/registry/profiles/ [registry-timeModes]: {{ site.api_url | absolute_url }}/registry/timeModes/ From ad3ff8150e97447da285701626ddf1b354b4f434 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 25 Apr 2023 13:36:10 -0700 Subject: [PATCH 03/34] update size default to max --- source/registry/selectors/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 063a44df7..5fbad0603 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -59,7 +59,7 @@ One use of this is within the [IIIF Presentation API][prezi-api], when a Canvas | -------- | --------- | ----------------------------------------------------- | | type | | Required. Must be the value "ImageApiSelector". | | region | "full" | The string to put in the region parameter of the URI. | -| size | "full" | The string to put in the size parameter of the URI. | +| size | "max" | The string to put in the size parameter of the URI. | | rotation | "0" | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | | quality | "default" | The string to put in the quality parameter of the URI. | | format | "jpg" | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | From 9dc42d2e4feebcb252c982b35a3d9ae5e9646cce Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 25 Apr 2023 13:55:51 -0700 Subject: [PATCH 04/34] add imageapiselector context link --- source/registry/selectors/index.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 5fbad0603..ca9482dd1 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -42,27 +42,27 @@ Changes will be tracked within the document. Selectors in Annotations are used to describe how to retrieve a given part of a resource. They are then associated with an instance of `SpecificResource` that also references the resource of which the Specific Resource is part. -The Selectors described here extend the use of the [Web Annotation][org-w3c-webanno] model within the IIIF APIs, and were previously applied to the predecessor of the Web Annotation model, Open Annotation. These Selectors can be used with either annotation model. +The Selectors described here extend the use of the [Web Annotation][org-w3c-webanno] model within the IIIF APIs, and were previously applied to the predecessor of the Web Annotation model, Open Annotation. These Selectors can be used with either annotation model. -## 2. Selectors +## 2. Selector Classes ### 2.1 IIIF Image API Selector {: #iiif-image-api-selector} -The Image API Selector is used to describe the operations available via the Image API in order to retrieve a particular image representation. In this case the resource is the abstract image as identified by the [IIIF Image API][image-api] base URI plus identifier, and the retrieval process involves adding the correct parameters after that base URI. For example, the top left hand quadrant of an image has the region parameter of `pct:0,0,50,50` which must be put into the requested URI to obtain the appropriate representation. +The [Image API Selector][registry-image-api-selector] is used to describe the operations available via the Image API in order to retrieve a particular image representation. In this case the resource is the abstract image as identified by the [IIIF Image API][image-api] base URI plus identifier, and the retrieval process involves adding the correct parameters after that base URI. For example, the top left hand quadrant of an image has the region parameter of `pct:0,0,50,50` which must be put into the requested URI to obtain the appropriate representation. -In order to make this as easy as possible for the situations when a IIIF Image API endpoint exists, we introduce a new Selector class called [`ImageApiSelector`][registry-image-api-selector]. It has properties that give the parameter values needed to fill out the URL structure in the request. If the property is not given, then a default should be used. +In order to make this as easy as possible for the situations when a IIIF Image API endpoint exists, we introduce a new Selector class called `ImageApiSelector`. It has properties that give the parameter values needed to fill out the URL structure in the request. If the property is not given, then a default should be used. One use of this is within the [IIIF Presentation API][prezi-api], when a Canvas is being painted by part of an image, or an image that requires rotation before display. | Property | Default | Description | | -------- | --------- | ----------------------------------------------------- | -| type | | Required. Must be the value "ImageApiSelector". | +| type | | Required. Must be the value "ImageApiSelector". | | region | "full" | The string to put in the region parameter of the URI. | | size | "max" | The string to put in the size parameter of the URI. | | rotation | "0" | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | | quality | "default" | The string to put in the quality parameter of the URI. | -| format | "jpg" | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | +| format | "jpg" | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | {: .api-table} For example, to rotate the top left hand 10% of the image clockwise by 90 degrees would use this configuration of the Selector: @@ -96,7 +96,7 @@ It can be used in the Presentation API as demonstrated in the section on [Rotati ### 2.2 Point Selectors {: #point-selector} -There are common use cases in which a point, rather than a range or area, is the target of the Annotation. For example, putting a pin in a map should result in an exact point, not a very small rectangle. Points in time are not very short durations, and user interfaces should also treat these differently. This is particularly important when zooming in (either spatially or temporally) beyond the scale of the frame of reference. Even if the point takes up a 10 by 10 pixel square at the user's current resolution, it is not a rectangle bounding an area. +There are common use cases in which a point, rather than a range or area, is the target of the Annotation. For example, putting a pin in a map should result in an exact point, not a very small rectangle. Points in time are not very short durations, and user interfaces should also treat these differently. This is particularly important when zooming in (either spatially or temporally) beyond the scale of the frame of reference. Even if the point takes up a 10 by 10 pixel square at the user's current resolution, it is not a rectangle bounding an area. It is not possible to select a point using URI Fragments with the Media Fragment specification, as zero-sized fragments are not allowed. In order to fulfill the use cases, this specification defines a new Selector class called `PointSelector`. @@ -123,9 +123,9 @@ For example, to select a point in a video that is 10 pixels in from the top left ### 2.3 Content Selectors {: #content-selectors} -Video content resources consist of both visual and audio content within the same bit-level representation. There are situations when it is useful to refer to only one aspect of the content -- either the visual or the audio, but not both. For example, an Annotation might associate only the visual content of a video that has spoken English in the audio, and an audio file that has the translation of that content in Spanish. +Video content resources consist of both visual and audio content within the same bit-level representation. There are situations when it is useful to refer to only one aspect of the content -- either the visual or the audio, but not both. For example, an Annotation might associate only the visual content of a video that has spoken English in the audio, and an audio file that has the translation of that content in Spanish. -This specification defines two Selectors, `AudioContentSelector` that selects the audio content and a second `VisualContentSelector` for the visual content. Neither selector has any additional properties. +This specification defines two Selectors, `AudioContentSelector` that selects the audio content and a second `VisualContentSelector` for the visual content. Neither selector has any additional properties. {% include api/code_header.html %} ``` json-doc From db072bb6f6c01dc8b24f3f74231b2fe6b80b8fe5 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 27 Apr 2023 10:03:18 -0700 Subject: [PATCH 05/34] add backticks for table values --- source/registry/selectors/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index ca9482dd1..b507f41d2 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -58,11 +58,11 @@ One use of this is within the [IIIF Presentation API][prezi-api], when a Canvas | Property | Default | Description | | -------- | --------- | ----------------------------------------------------- | | type | | Required. Must be the value "ImageApiSelector". | -| region | "full" | The string to put in the region parameter of the URI. | -| size | "max" | The string to put in the size parameter of the URI. | -| rotation | "0" | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | -| quality | "default" | The string to put in the quality parameter of the URI. | -| format | "jpg" | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | +| region | `full` | The string to put in the region parameter of the URI. | +| size | `max` | The string to put in the size parameter of the URI. | +| rotation | `0` | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | +| quality | `default` | The string to put in the quality parameter of the URI. | +| format | `jpg` | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | {: .api-table} For example, to rotate the top left hand 10% of the image clockwise by 90 degrees would use this configuration of the Selector: @@ -102,7 +102,7 @@ It is not possible to select a point using URI Fragments with the Media Fragment | Property | Description | | -------- | ----------------------------------------------------- | -| type | Required. Must be the value "PointSelector". | +| type | Required. Must be the value `PointSelector`. | | x | Optional. An integer giving the x coordinate of the point, relative to the dimensions of the target resource. | | y | Optional. An integer giving the y coordinate of the point, relative to the dimensions of the target resource. | | t | Optional. A floating point number giving the time of the point in seconds, relative to the duration of the target resource. | From 77487c46ca53c70d596b1e7453e0e553ff2ec0e6 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 27 Apr 2023 11:42:31 -0700 Subject: [PATCH 06/34] update context to incl all selectors --- source/registry/selectors/context.json | 57 +++++++++++++++++++ .../selectors/image-api-selector/context.json | 26 --------- 2 files changed, 57 insertions(+), 26 deletions(-) create mode 100644 source/registry/selectors/context.json delete mode 100644 source/registry/selectors/image-api-selector/context.json diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json new file mode 100644 index 000000000..a7287f4c5 --- /dev/null +++ b/source/registry/selectors/context.json @@ -0,0 +1,57 @@ +{ + "@context": { + + "iiif_image": "http://iiif.io/api/image/#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "ImageApiSelector": { + "@id": "iiif_selectors:ImageApiSelector", + "@context": [ + "http://iiif.io/api/image/#", + { + "region": { + "@id": "iiif_image:regionValue", + "@type": "xsd:string" + }, + "size": { + "@id": "iiif_image:sizeValue", + "@type": "xsd:string" + }, + "rotation": { + "@id": "iiif_image:rotationValue", + "@type": "xsd:string" + }, + "format": { + "@id": "iiif_image:formatValue", + "@type": "xsd:string" + }, + "quality": { + "@id": "iiif_image:qualityValue", + "@type": "xsd:string" + } + } + ] + }, + "PointSelector": { + "@id": "iiif_selectors:PointSelector", + "@context": + { + "x": { + "@id": "iiif_selectors:xValue", + "@type": "xsd:integer" + }, + "y": { + "@id": "iiif_selectors:yValue", + "@type": "xsd:integer" + }, + "t": { + "@id": "iiif_selectors:tValue", + "@type": "xsd:float" + } + } + }, + + "AudioContentSelector": "iiif_selectors:AudioContentSelector", + "VisualContentSelector": "iiif_selectors:VisualContentSelector" + } +} diff --git a/source/registry/selectors/image-api-selector/context.json b/source/registry/selectors/image-api-selector/context.json deleted file mode 100644 index 0588400d8..000000000 --- a/source/registry/selectors/image-api-selector/context.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@context": { - "iiif": "http://iiif.io/api/image/#", - - "region": { - "@id": "iiif:regionValue", - "@type": "xsd:string" - }, - "size": { - "@id": "iiif:sizeValue", - "@type": "xsd:string" - }, - "rotation": { - "@id": "iiif:rotationValue", - "@type": "xsd:string" - }, - "format": { - "@id": "iiif:formatValue", - "@type": "xsd:string" - }, - "quality": { - "@id": "iiif:qualityValue", - "@type": "xsd:string" - } - } -} From 33f2583d075a0353ef69ce5bdfb166e2fbf85420 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 27 Apr 2023 11:49:03 -0700 Subject: [PATCH 07/34] update selector context links --- source/_includes/links.md | 2 +- source/registry/selectors/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_includes/links.md b/source/_includes/links.md index 5fc600a18..c2232c7c4 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -252,7 +252,7 @@ [registry-activity-streams]: https://registry.iiif.io/ "IIIF Registry of Activity Streams" [registry-motivations]: {{ site.api_url | absolute_url }}/registry/motivations/ [registry-behaviors]: {{ site.api_url | absolute_url }}/registry/behaviors/ -[registry-image-api-selector]: {{ site.api_url | absolute_url }}/registry/selectors/image-api-selector/context.json +[registry-selectors]: {{ site.api_url | absolute_url }}/registry/selectors/context.json [registry-process]: {{ site.api_url | absolute_url }}/registry/process/ [registry-selectors]: {{ site.api_url | absolute_url }}/registry/selectors/ [registry-services]: {{ site.api_url | absolute_url }}/registry/services/ diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index b507f41d2..3b15d1e76 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -49,7 +49,7 @@ The Selectors described here extend the use of the [Web Annotation][org-w3c-weba ### 2.1 IIIF Image API Selector {: #iiif-image-api-selector} -The [Image API Selector][registry-image-api-selector] is used to describe the operations available via the Image API in order to retrieve a particular image representation. In this case the resource is the abstract image as identified by the [IIIF Image API][image-api] base URI plus identifier, and the retrieval process involves adding the correct parameters after that base URI. For example, the top left hand quadrant of an image has the region parameter of `pct:0,0,50,50` which must be put into the requested URI to obtain the appropriate representation. +The [Image API Selector][registry-selectors] is used to describe the operations available via the Image API in order to retrieve a particular image representation. In this case the resource is the abstract image as identified by the [IIIF Image API][image-api] base URI plus identifier, and the retrieval process involves adding the correct parameters after that base URI. For example, the top left hand quadrant of an image has the region parameter of `pct:0,0,50,50` which must be put into the requested URI to obtain the appropriate representation. In order to make this as easy as possible for the situations when a IIIF Image API endpoint exists, we introduce a new Selector class called `ImageApiSelector`. It has properties that give the parameter values needed to fill out the URL structure in the request. If the property is not given, then a default should be used. From 7b2dabc30edd5cf43bd18fdb5740c6af5bd12379 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 27 Apr 2023 11:51:23 -0700 Subject: [PATCH 08/34] add backticks to ImageApiSelector table --- source/registry/selectors/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 3b15d1e76..16d2054d7 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -57,7 +57,7 @@ One use of this is within the [IIIF Presentation API][prezi-api], when a Canvas | Property | Default | Description | | -------- | --------- | ----------------------------------------------------- | -| type | | Required. Must be the value "ImageApiSelector". | +| type | | Required. Must be the value `ImageApiSelector`. | | region | `full` | The string to put in the region parameter of the URI. | | size | `max` | The string to put in the size parameter of the URI. | | rotation | `0` | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | From ce579fe77439bca7efeca02b7b592172a1a2133f Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 27 Apr 2023 12:04:50 -0700 Subject: [PATCH 09/34] mv prezi-rot to links.md; add link to prezi3 --- source/_includes/links.md | 1 + source/registry/selectors/index.md | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_includes/links.md b/source/_includes/links.md index c2232c7c4..671cab5d6 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -213,6 +213,7 @@ [prezi21-change-log]: {{ site.api_url | absolute_url }}/presentation/2.1/change-log/ "Presentation API 2.1 Change Log" [prezi211-change-log]: {{ site.api_url | absolute_url }}/presentation/2.1/change-log-211/ "Presentation API 2.1.1 Change Log" [prezi21]: {{ site.api_url | absolute_url }}/presentation/2.1/ "IIIF Presentation API 2.1" +[prezi21-rot]: {{ site.api_url | absolute_url }}/presentation/2.0/#rotation "Rotation in Presentation API" [prezi3-considerations]: {{ site.api_url | absolute_url }}/presentation/3.{{ site.data.apis.presentation.latest.minor }}/#4-json-ld-considerations "Presentation API Section 4" [prezi3-html]: {{ site.api_url | absolute_url }}/presentation/3.{{ site.data.apis.presentation.latest.minor }}/#45-html-markup-in-property-values "Presentation API Section 4.4" [prezi3-languages]: {{ site.api_url | absolute_url }}/presentation/{{site.data.apis.presentation.latest.major}}.{{ site.data.apis.presentation.latest.minor }}/#language-of-property-values "Language of Property Values" diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 16d2054d7..84eef9ecf 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -91,7 +91,7 @@ And would result in this SpecificResource, when applied to an image service at ` } ``` -It can be used in the Presentation API as demonstrated in the section on [Rotation][prezi-rot]. +It can be used in the Presentation API as demonstrated in the section on [Rotation (Presentation 2.1)][prezi21-rot]. For more information on using Selectors in IIIF, see the current [Presentation API 3 specification][prezi-api]. ### 2.2 Point Selectors {: #point-selector} @@ -154,7 +154,6 @@ Thanks to the members of the [IIIF][iiif-community] for their continuous engagem | 2014-07-01 | Version 1.0 (RFC) | {:.api-table} -[prezi-rot]: {{ site.api_url | absolute_url }}/presentation/2.0/#rotation "Rotation in Presentation API" {% include acronyms.md %} {% include links.md %} From 31b81226753678250ba957bd0a284d8937fd01d3 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Mon, 8 May 2023 23:26:42 -0700 Subject: [PATCH 10/34] update image context uri in selectors context.json --- source/registry/selectors/context.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json index a7287f4c5..b6c76b45f 100644 --- a/source/registry/selectors/context.json +++ b/source/registry/selectors/context.json @@ -1,13 +1,13 @@ { "@context": { - "iiif_image": "http://iiif.io/api/image/#", + "iiif_image": "https://iiif.io/api/image/3/context.json", "xsd": "http://www.w3.org/2001/XMLSchema#", "ImageApiSelector": { "@id": "iiif_selectors:ImageApiSelector", "@context": [ - "http://iiif.io/api/image/#", + "https://iiif.io/api/image/3/context.json", { "region": { "@id": "iiif_image:regionValue", From 63a681909b07928f77e80b14e1ee1eebcad169b3 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Mon, 8 May 2023 23:27:55 -0700 Subject: [PATCH 11/34] add note about ImageApiSelector defulat values --- source/registry/selectors/index.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 84eef9ecf..40aa5461f 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -55,14 +55,14 @@ In order to make this as easy as possible for the situations when a IIIF Image A One use of this is within the [IIIF Presentation API][prezi-api], when a Canvas is being painted by part of an image, or an image that requires rotation before display. -| Property | Default | Description | -| -------- | --------- | ----------------------------------------------------- | -| type | | Required. Must be the value `ImageApiSelector`. | -| region | `full` | The string to put in the region parameter of the URI. | -| size | `max` | The string to put in the size parameter of the URI. | -| rotation | `0` | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | +| Property | Default | Description | +| -------- | -------- |----------------------------------------------- | +| type | | Required. Must be the value `ImageApiSelector`. | +| region | `full` | The string to put in the region parameter of the URI. | +| size | `max` | The string to put in the size parameter of the URI. | +| rotation | `0` | The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example "!90". | | quality | `default` | The string to put in the quality parameter of the URI. | -| format | `jpg` | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | +| format | `jpg` | The string to put in the format parameter of the URI. Note that the '.' character is not part of the format, just the URI syntax. | {: .api-table} For example, to rotate the top left hand 10% of the image clockwise by 90 degrees would use this configuration of the Selector: @@ -93,6 +93,8 @@ And would result in this SpecificResource, when applied to an image service at ` It can be used in the Presentation API as demonstrated in the section on [Rotation (Presentation 2.1)][prezi21-rot]. For more information on using Selectors in IIIF, see the current [Presentation API 3 specification][prezi-api]. +*Note: The default values in the table above follow the IIIF Image API 3. For default values in previous Image API versions, you will need to consult the corresponding documentation.* + ### 2.2 Point Selectors {: #point-selector} From b80315941bf2ed5da287bbf78da421feab23069d Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Mon, 8 May 2023 23:35:50 -0700 Subject: [PATCH 12/34] update selectors context --- source/registry/selectors/context.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json index b6c76b45f..9c62d3735 100644 --- a/source/registry/selectors/context.json +++ b/source/registry/selectors/context.json @@ -1,13 +1,14 @@ { "@context": { - "iiif_image": "https://iiif.io/api/image/3/context.json", + "iiif_image": "http://iiif.io/api/image/#", + "iiif_selectors": "http://iiif.io/api/selectors/#", "xsd": "http://www.w3.org/2001/XMLSchema#", "ImageApiSelector": { "@id": "iiif_selectors:ImageApiSelector", "@context": [ - "https://iiif.io/api/image/3/context.json", + "http://iiif.io/api/image/#", { "region": { "@id": "iiif_image:regionValue", From adbdd8fd00ca4c50a0f39d90b255f5f160123607 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Mon, 8 May 2023 23:49:15 -0700 Subject: [PATCH 13/34] rm image context from top level --- source/registry/selectors/context.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json index 9c62d3735..0c51dbdb3 100644 --- a/source/registry/selectors/context.json +++ b/source/registry/selectors/context.json @@ -1,10 +1,9 @@ { "@context": { - - "iiif_image": "http://iiif.io/api/image/#", "iiif_selectors": "http://iiif.io/api/selectors/#", "xsd": "http://www.w3.org/2001/XMLSchema#", + "ImageApiSelector": { "@id": "iiif_selectors:ImageApiSelector", "@context": [ @@ -33,6 +32,7 @@ } ] }, + "PointSelector": { "@id": "iiif_selectors:PointSelector", "@context": @@ -52,6 +52,7 @@ } }, + "AudioContentSelector": "iiif_selectors:AudioContentSelector", "VisualContentSelector": "iiif_selectors:VisualContentSelector" } From 4bbdf51e805a208a5bb5a6a92536feadbae671f3 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 9 May 2023 00:02:10 -0700 Subject: [PATCH 14/34] update iiif_selectors uri --- source/registry/selectors/context.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json index 0c51dbdb3..44bf8231a 100644 --- a/source/registry/selectors/context.json +++ b/source/registry/selectors/context.json @@ -1,6 +1,7 @@ { "@context": { - "iiif_selectors": "http://iiif.io/api/selectors/#", + "@version":1.1, + "iiif_selectors": "http://iiif.io/api/selectors#", "xsd": "http://www.w3.org/2001/XMLSchema#", From a58448310829c275a5226c9af0b670934d93f6f8 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 9 May 2023 00:12:31 -0700 Subject: [PATCH 15/34] update selectors context url --- source/registry/selectors/context.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json index 44bf8231a..40831d6ab 100644 --- a/source/registry/selectors/context.json +++ b/source/registry/selectors/context.json @@ -1,7 +1,7 @@ { "@context": { "@version":1.1, - "iiif_selectors": "http://iiif.io/api/selectors#", + "iiif_selectors": "http://iiif.io/api/registry/selectors#", "xsd": "http://www.w3.org/2001/XMLSchema#", From 28deacd521c7c21fe2f3cc85d3f320aa37a9c257 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 11 May 2023 09:45:35 -0700 Subject: [PATCH 16/34] mv image context uri down a level --- source/registry/selectors/context.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/registry/selectors/context.json b/source/registry/selectors/context.json index 40831d6ab..ead963f15 100644 --- a/source/registry/selectors/context.json +++ b/source/registry/selectors/context.json @@ -8,8 +8,8 @@ "ImageApiSelector": { "@id": "iiif_selectors:ImageApiSelector", "@context": [ - "http://iiif.io/api/image/#", { + "iiif_image": "http://iiif.io/api/image/#", "region": { "@id": "iiif_image:regionValue", "@type": "xsd:string" From 404e9f6d5ad203ea9e6baf4b5000909ddc5ab404 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Fri, 12 May 2023 10:25:08 -0700 Subject: [PATCH 17/34] rmv dup link --- source/_includes/links.md | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_includes/links.md b/source/_includes/links.md index 671cab5d6..a0aa23952 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -253,7 +253,6 @@ [registry-activity-streams]: https://registry.iiif.io/ "IIIF Registry of Activity Streams" [registry-motivations]: {{ site.api_url | absolute_url }}/registry/motivations/ [registry-behaviors]: {{ site.api_url | absolute_url }}/registry/behaviors/ -[registry-selectors]: {{ site.api_url | absolute_url }}/registry/selectors/context.json [registry-process]: {{ site.api_url | absolute_url }}/registry/process/ [registry-selectors]: {{ site.api_url | absolute_url }}/registry/selectors/ [registry-services]: {{ site.api_url | absolute_url }}/registry/services/ From c235a6f96583161993acc2eab30cb8ef89e18e22 Mon Sep 17 00:00:00 2001 From: Nuno Freire Date: Fri, 26 May 2023 11:51:18 +0100 Subject: [PATCH 18/34] Add EDM to the Registry of Profiles --- source/registry/profiles/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/registry/profiles/index.md b/source/registry/profiles/index.md index e14befb54..8c38c1130 100644 --- a/source/registry/profiles/index.md +++ b/source/registry/profiles/index.md @@ -59,7 +59,7 @@ The process for having a new entry added to this registry is [described here][re This table summarizes the known profiles available, for use with the [Presentation API][prezi-api]. | Profile | Description | -| ------------------------------ | +| ------------------------------ | ------------------------------ | | http://www.loc.gov/mods/v3 | The URI for identifying [MODS (Metadata Object Description Schema)](https://www.loc.gov/standards/mods/) version 3 metadata records. | | https://linked.art/ns/terms | The URI for identifying records that follow the [Linked Art model](https://linked.art/) and [API version 1](https://linked.art/api/1.0/). | | http://www.lido-schema.org/ | The URI for identifying records that follow the [LIDO XML schema](https://cidoc.mini.icom.museum/working-groups/lido/lido-overview/). | @@ -68,6 +68,7 @@ This table summarizes the known profiles available, for use with the [Presentati | http://www.loc.gov/standards/alto | The URI for identifying [ALTO](https://www.loc.gov/standards/alto/) which is used for encoding OCR text. | | http://www.loc.gov/standards/marcxml | The URI for identifying [MarcXML](https://www.loc.gov/standards/marcxml/) metadata records. | | http://purl.org/dc/terms/ | The URI for identifying records that follow the [Dublin Core Metadata Initiative Metadata Terms](https://www.dublincore.org/specifications/dublin-core/dcmi-terms/) (NB: these are different from the legacy Dublin Core Metadata Element Set, Version 1.1, refered to as http://purl.org/dc/elements/1.1/). | +| http://www.europeana.eu/schemas/edm/ | The URI for identifying [EDM (Europeana Data Model)](https://pro.europeana.eu/page/edm-documentation) metadata records. | {: .api-table} @@ -83,6 +84,7 @@ Thanks to the members of the [IIIF][iiif-community] for their continuous engagem | ---------- | -------------------------------------------------- | | 2018-XX-YY | New Version 3 Registries | | 2023-XX-YY | Added MarcXML as a profile | +| 2022-11-15 | Addition of EDM (Europeana Data Model) | {% include acronyms.md %} {% include links.md %} From ca19ec17f947aa040690f37fc635a41d9883c3a4 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Fri, 4 Aug 2023 12:40:58 -0700 Subject: [PATCH 19/34] define iiif_selectors context in presi 3 context --- source/presentation/3/context.json | 1 + 1 file changed, 1 insertion(+) diff --git a/source/presentation/3/context.json b/source/presentation/3/context.json index e77664acf..a1267b0f3 100644 --- a/source/presentation/3/context.json +++ b/source/presentation/3/context.json @@ -16,6 +16,7 @@ "as": "http://www.w3.org/ns/activitystreams#", "ebu": "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#", "schema": "https://schema.org/", + "iiif_selectors": "http://iiif.io/api/registry/selectors#", "id": "@id", "type": "@type", From 9d165097d7773d69062d0640f3557c5a33c9421d Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Wed, 6 Sep 2023 02:57:51 -0700 Subject: [PATCH 20/34] add selectors to presi3 context --- source/presentation/3/context.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/source/presentation/3/context.json b/source/presentation/3/context.json index a1267b0f3..109ae2f44 100644 --- a/source/presentation/3/context.json +++ b/source/presentation/3/context.json @@ -16,7 +16,6 @@ "as": "http://www.w3.org/ns/activitystreams#", "ebu": "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#", "schema": "https://schema.org/", - "iiif_selectors": "http://iiif.io/api/registry/selectors#", "id": "@id", "type": "@type", @@ -347,6 +346,30 @@ "@container": "@set" }, + "selector": { + "@type": "@id", + "@id": "oa:selector", + "@container": "@set", + "@context": { + "ImageApiSelector": { + "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:ImageApiSelector", + "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" + }, + "PointSelector": { + "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:PointSelector", + "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" + }, + "AudioContentSelector": { + "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:AudioContentSelector", + "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" + }, + "VisualContentSelector": { + "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:VisualContentSelector", + "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" + } + } + }, + "start": { "@type": "@id", "@id": "iiif_prezi:start" From 09bd3dfabdcab7bfff9c1ac0eb30a2b6d11fcc78 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 26 Sep 2023 09:42:36 -0700 Subject: [PATCH 21/34] simplify selector context --- source/presentation/3/context.json | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/source/presentation/3/context.json b/source/presentation/3/context.json index 109ae2f44..685bd8386 100644 --- a/source/presentation/3/context.json +++ b/source/presentation/3/context.json @@ -346,29 +346,12 @@ "@container": "@set" }, - "selector": { - "@type": "@id", - "@id": "oa:selector", - "@container": "@set", - "@context": { - "ImageApiSelector": { - "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:ImageApiSelector", - "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" - }, - "PointSelector": { - "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:PointSelector", - "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" - }, - "AudioContentSelector": { - "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:AudioContentSelector", - "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" - }, - "VisualContentSelector": { - "@id": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors#:VisualContentSelector", - "@context": "https://preview.iiif.io/api/image-api-selector-update/registry/selectors/context.json" - } - } - }, + "selector":{ + "@type":"@id", + "@id":"oa:selector", + "@container" : "@set", + "@context":"https://iiif.io/api/registry/selectors/context.json" + }, "start": { "@type": "@id", From d7ad1fbcbc61ea8240f07aeb6e9bac8d6b357085 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Tue, 26 Sep 2023 09:48:11 -0700 Subject: [PATCH 22/34] update selectors changelog --- source/registry/selectors/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 40aa5461f..084a1e289 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -151,7 +151,7 @@ Thanks to the members of the [IIIF][iiif-community] for their continuous engagem | Date | Description | | ---------- | -------------------------------------------------- | -| 2023-04-27 | Version 1.2 (Change document to Registry of Selectors from Open/Web Annotation Extensions) +| 2023-09-26 | Version 1.2 (Change document to Registry of Selectors from Open/Web Annotation Extensions) | 2018-03-14 | Version 1.1 (Update ImageApi, add Point Selectors) | | 2014-07-01 | Version 1.0 (RFC) | {:.api-table} From 0ca3e3bc0cefc736d3db0d5609e664e4fd85557d Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 28 Sep 2023 17:25:22 -0700 Subject: [PATCH 23/34] add oa context to selector (for FragmentSelector) --- source/presentation/3/context.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/presentation/3/context.json b/source/presentation/3/context.json index 685bd8386..99c33226d 100644 --- a/source/presentation/3/context.json +++ b/source/presentation/3/context.json @@ -350,7 +350,10 @@ "@type":"@id", "@id":"oa:selector", "@container" : "@set", - "@context":"https://iiif.io/api/registry/selectors/context.json" + "@context":[ + "https://iiif.io/api/registry/selectors/context.json", + "http://www.w3.org/ns/anno.jsonld" + ] }, "start": { From a5c0e359abfc6d4d4e2b9f66a25e4c75b1bd1465 Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 28 Sep 2023 18:31:00 -0700 Subject: [PATCH 24/34] update link to selectors registry --- source/presentation/3.0/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/presentation/3.0/index.md b/source/presentation/3.0/index.md index 0abc6de70..75a5c2eef 100644 --- a/source/presentation/3.0/index.md +++ b/source/presentation/3.0/index.md @@ -1667,7 +1667,7 @@ Note that the Web Annotation data model defines different patterns for the `valu Additional features of the Web Annotation data model _MAY_ also be used, such as selecting a segment of the Canvas or content resource, or embedding the comment or transcription within the Annotation. The use of these advanced features sometimes results in situations where the `target` is not a content resource, but instead a SpecificResource, a Choice, or other non-content object. Implementations should check the `type` of the resource and not assume that it is always content to be rendered. -The IIIF community has defined [additional Selector classes][annex-oa] for use with SpecificResources, especially for cases when it is not possible to use the official FragmentSelector. See the additional documentation for details. +The IIIF community has defined [additional Selector classes][registry-selectors] for use with SpecificResources, especially for cases when it is not possible to use the official FragmentSelector. See the additional documentation for details. {% include api/code_header.html %} ``` json-doc From eccefcba8ce9c5b3bfafea727439831a4b7159cd Mon Sep 17 00:00:00 2001 From: Dawn Childress Date: Thu, 28 Sep 2023 18:31:59 -0700 Subject: [PATCH 25/34] add web anno selectors info to Selectors registry --- source/_includes/links.md | 1 + source/registry/selectors/index.md | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_includes/links.md b/source/_includes/links.md index a0aa23952..ce24de980 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -200,6 +200,7 @@ [org-w3c-webanno]: http://w3.org/TR/annotation-model/ "Web Annotation Model" [org-w3c-webanno-motivation]: https://www.w3.org/TR/annotation-model/#motivation-and-purpose "Web Annotation Model - Motivation" [org-w3c-webanno-TextQuoteSelector]: https://www.w3.org/TR/annotation-model/#text-quote-selector "Web Annotation Model - Text Quote Selector" +[org-w3c-webanno-Selectors]: https://www.w3.org/TR/annotation-model/#selectors "Web Annotation model - Selectors" [org-w3c-webarch]: http://www.w3.org/TR/webarch/ "Architecture of the World Wide Web" [org-w3c-xsd-datetime]: https://www.w3.org/TR/xmlschema11-2/#dateTime "XSD DateTime" [org-wsgi-pep333]: https://www.python.org/dev/peps/pep-0333/ "PEP 0333" diff --git a/source/registry/selectors/index.md b/source/registry/selectors/index.md index 084a1e289..ee97ef2ad 100644 --- a/source/registry/selectors/index.md +++ b/source/registry/selectors/index.md @@ -42,7 +42,9 @@ Changes will be tracked within the document. Selectors in Annotations are used to describe how to retrieve a given part of a resource. They are then associated with an instance of `SpecificResource` that also references the resource of which the Specific Resource is part. -The Selectors described here extend the use of the [Web Annotation][org-w3c-webanno] model within the IIIF APIs, and were previously applied to the predecessor of the Web Annotation model, Open Annotation. These Selectors can be used with either annotation model. +The Selectors described here extend the use of the [Web Annotation][org-w3c-webanno] model within the IIIF APIs, and were previously applied to the predecessor of the Web Annotation model, Open Annotation. These Selectors can be used with either annotation model. + +IIIF also supports the use of Web Annotation model Selectors, such as `FragmentSelector`. For more information on these Selectors, see the [IIIF Presentation API][prezi-api] and the [Web Annotation Selectors documentation][org-w3c-webanno-Selectors]. ## 2. Selector Classes From 4c0bf60ca7be4c5a98b0f30a4b326a9c85610a74 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Thu, 25 Apr 2024 14:34:13 +0100 Subject: [PATCH 26/34] Forcing latest versions --- Gemfile.lock | 137 --------------------------------------------------- 1 file changed, 137 deletions(-) delete mode 100644 Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index c122d25aa..000000000 --- a/Gemfile.lock +++ /dev/null @@ -1,137 +0,0 @@ -GIT - remote: https://github.com/iiif/iiifc-theme.git - revision: dcdf5cc4c169823256d88a58b4d3ea4f4384c9b8 - branch: main - specs: - iiifc-theme (0.1.0) - html-proofer - jekyll (>= 4.0, < 4.2) - jekyll-data - jekyll-gzip - jekyll-liquify - jekyll-redirect-from - rake - -GEM - remote: https://rubygems.org/ - specs: - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - colorator (1.1.0) - concurrent-ruby (1.2.2) - diff-lcs (1.5.0) - em-websocket (0.5.3) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0) - ethon (0.16.0) - ffi (>= 1.15.0) - eventmachine (1.2.7) - ffi (1.15.5) - forwardable-extended (2.6.0) - html-proofer (3.19.0) - addressable (~> 2.3) - mercenary (~> 0.3) - nokogumbo (~> 2.0) - parallel (~> 1.3) - rainbow (~> 3.0) - typhoeus (~> 1.3) - yell (~> 2.0) - http_parser.rb (0.8.0) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - jekyll (4.1.1) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 1.0) - jekyll-sass-converter (~> 2.0) - jekyll-watch (~> 2.0) - kramdown (~> 2.1) - kramdown-parser-gfm (~> 1.0) - liquid (~> 4.0) - mercenary (~> 0.4.0) - pathutil (~> 0.9) - rouge (~> 3.0) - safe_yaml (~> 1.0) - terminal-table (~> 1.8) - jekyll-data (1.1.1) - jekyll (>= 3.3, < 5.0.0) - jekyll-gzip (2.5.1) - jekyll (>= 3.0, < 5.0) - jekyll-liquify (0.0.2) - liquid (>= 2.5, < 5.0) - redcarpet (~> 3.1) - jekyll-redirect-from (0.16.0) - jekyll (>= 3.3, < 5.0) - jekyll-sass-converter (2.2.0) - sassc (> 2.0.1, < 3.0) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) - jekyll-watch (2.2.1) - listen (~> 3.0) - kramdown (2.4.0) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - liquid (4.0.4) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.4.0) - mini_portile2 (2.8.2) - nokogiri (1.15.2) - mini_portile2 (~> 2.8.2) - racc (~> 1.4) - nokogumbo (2.0.5) - nokogiri (~> 1.8, >= 1.8.4) - parallel (1.23.0) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (5.0.1) - racc (1.7.1) - rainbow (3.1.1) - rake (13.0.6) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - redcarpet (3.6.0) - rexml (3.2.5) - rouge (3.30.0) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.0) - safe_yaml (1.0.5) - sassc (2.4.0) - ffi (~> 1.9) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - typhoeus (1.4.0) - ethon (>= 0.9.0) - unicode-display_width (1.8.0) - webrick (1.8.1) - yell (2.2.2) - -PLATFORMS - ruby - -DEPENDENCIES - html-proofer (= 3.19.0) - iiifc-theme! - jekyll (~> 4.1.1) - jekyll-redirect-from - jekyll-seo-tag - rspec - webrick (~> 1.7) - -BUNDLED WITH - 2.3.3 From 91561b985a7ebee92a31b6cdc6b588585ee02d25 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Thu, 25 Apr 2024 14:46:21 +0100 Subject: [PATCH 27/34] Adding Content state version --- source/_data/apis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_data/apis.yml b/source/_data/apis.yml index 471d097d6..bb8e00810 100644 --- a/source/_data/apis.yml +++ b/source/_data/apis.yml @@ -61,10 +61,10 @@ discovery: patch: 0 content-state: label: Content State API - description: Generate a very specific link to a particular view of an object, like a specific area on a particulat page rotated at a certain angle. + description: Generate a very specific link to a particular view of an object, like a specific area on a particular page rotated at a certain angle. image: assets/images/icons/link-group@2x.webp alt_text: Content State API icon draft: - major: 0 - minor: 3 + major: 1 + minor: 0 patch: 0 From 81cc4c0ef6ceb0b7cfdf78f2afc61c95e64ae763 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 11:48:00 +0100 Subject: [PATCH 28/34] Adding stable version --- source/content-state/0.1/index.md | 2 +- source/content-state/0.2/index.md | 2 +- source/content-state/0.3/index.md | 2 +- source/content-state/0.9/index.md | 2 +- source/content-state/1.0/index.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/content-state/0.1/index.md b/source/content-state/0.1/index.md index d9b0f68ac..9f347381f 100644 --- a/source/content-state/0.1/index.md +++ b/source/content-state/0.1/index.md @@ -34,7 +34,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version] __Previous Version:__ None diff --git a/source/content-state/0.2/index.md b/source/content-state/0.2/index.md index 5dea8437d..6cebc1402 100644 --- a/source/content-state/0.2/index.md +++ b/source/content-state/0.2/index.md @@ -34,7 +34,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version] __Previous Version:__ [0.1][contentstate01] diff --git a/source/content-state/0.3/index.md b/source/content-state/0.3/index.md index 1a79a7b35..90a7b0f2c 100644 --- a/source/content-state/0.3/index.md +++ b/source/content-state/0.3/index.md @@ -34,7 +34,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version] __Previous Version:__ [0.2][contentstate02] diff --git a/source/content-state/0.9/index.md b/source/content-state/0.9/index.md index 6fc37128e..4a66050d4 100644 --- a/source/content-state/0.9/index.md +++ b/source/content-state/0.9/index.md @@ -44,7 +44,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version] __Previous Version:__ [0.3][contentstate03] diff --git a/source/content-state/1.0/index.md b/source/content-state/1.0/index.md index 40ccc6845..4bcadd334 100644 --- a/source/content-state/1.0/index.md +++ b/source/content-state/1.0/index.md @@ -45,7 +45,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version] __Previous Version:__ [0.9][contentstate09] From 986b44959e5f6076c6de5a2a91fe310815f8bd68 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 11:48:21 +0100 Subject: [PATCH 29/34] Fixing links in discovery API --- source/_data/apis.yml | 8 ++++---- source/discovery/0.1/index.md | 2 +- source/discovery/0.2/index.md | 2 +- source/discovery/0.3/index.md | 2 +- source/discovery/0.4/index.md | 2 +- source/discovery/0.9/index.md | 2 +- source/discovery/1.0/index.md | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/source/_data/apis.yml b/source/_data/apis.yml index bb8e00810..b492b819f 100644 --- a/source/_data/apis.yml +++ b/source/_data/apis.yml @@ -55,16 +55,16 @@ discovery: description: Harvest any changes published by organizations that deliver digital objects. image: assets/images/icons/shape@2x.webp alt_text: Change Discovery API icon - draft: - major: 0 - minor: 9 + stable: + major: 1 + minor: 0 patch: 0 content-state: label: Content State API description: Generate a very specific link to a particular view of an object, like a specific area on a particular page rotated at a certain angle. image: assets/images/icons/link-group@2x.webp alt_text: Content State API icon - draft: + stable: major: 1 minor: 0 patch: 0 diff --git a/source/discovery/0.1/index.md b/source/discovery/0.1/index.md index 5162f7a85..74ec2c5e1 100644 --- a/source/discovery/0.1/index.md +++ b/source/discovery/0.1/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ None +__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ None diff --git a/source/discovery/0.2/index.md b/source/discovery/0.2/index.md index d5402ce8c..25fd70741 100644 --- a/source/discovery/0.2/index.md +++ b/source/discovery/0.2/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ None +__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.1][discovery01] diff --git a/source/discovery/0.3/index.md b/source/discovery/0.3/index.md index 538f0441a..72afb1dd9 100644 --- a/source/discovery/0.3/index.md +++ b/source/discovery/0.3/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ None +__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.2][discovery02] diff --git a/source/discovery/0.4/index.md b/source/discovery/0.4/index.md index d53193698..761fa081d 100644 --- a/source/discovery/0.4/index.md +++ b/source/discovery/0.4/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ None +__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.3][discovery03] diff --git a/source/discovery/0.9/index.md b/source/discovery/0.9/index.md index 34b772445..cdc2407c7 100644 --- a/source/discovery/0.9/index.md +++ b/source/discovery/0.9/index.md @@ -35,7 +35,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ None +__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.4][discovery04] diff --git a/source/discovery/1.0/index.md b/source/discovery/1.0/index.md index 445faeb1c..bffc542b9 100644 --- a/source/discovery/1.0/index.md +++ b/source/discovery/1.0/index.md @@ -38,7 +38,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery_api.stable.major }}.{{ site.discovery_api.stable.minor }}.{{ site.discovery_api.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.9.2][discovery09] From a614c2a189e49ae4778fd86f6b95b193741ceb66 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 11:48:37 +0100 Subject: [PATCH 30/34] Avoiding broken jekyll-liquid version --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index c5f41bd89..5e07b1803 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,9 @@ gem 'jekyll-seo-tag' # A Fix gem 'webrick', "~> 1.7" +# Note 0.0.3 is broken due to: https://github.com/gemfarmer/jekyll-liquify/issues/8 +gem "jekyll-liquify", "0.0.2" + group :development, :test do gem 'html-proofer', "3.19.0" gem 'rspec' From 99530713dca1e98c70ffff836baa766dd90aa54c Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 11:56:38 +0100 Subject: [PATCH 31/34] Fixing link --- source/discovery/0.1/index.md | 2 +- source/discovery/0.2/index.md | 2 +- source/discovery/0.3/index.md | 2 +- source/discovery/0.4/index.md | 2 +- source/discovery/0.9/index.md | 2 +- source/discovery/1.0/index.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/discovery/0.1/index.md b/source/discovery/0.1/index.md index 74ec2c5e1..fe20e72b5 100644 --- a/source/discovery/0.1/index.md +++ b/source/discovery/0.1/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] __Previous Version:__ None diff --git a/source/discovery/0.2/index.md b/source/discovery/0.2/index.md index 25fd70741..1045a8487 100644 --- a/source/discovery/0.2/index.md +++ b/source/discovery/0.2/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.1][discovery01] diff --git a/source/discovery/0.3/index.md b/source/discovery/0.3/index.md index 72afb1dd9..58f1b1d06 100644 --- a/source/discovery/0.3/index.md +++ b/source/discovery/0.3/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.2][discovery02] diff --git a/source/discovery/0.4/index.md b/source/discovery/0.4/index.md index 761fa081d..7b0fd5524 100644 --- a/source/discovery/0.4/index.md +++ b/source/discovery/0.4/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.3][discovery03] diff --git a/source/discovery/0.9/index.md b/source/discovery/0.9/index.md index cdc2407c7..8867dc096 100644 --- a/source/discovery/0.9/index.md +++ b/source/discovery/0.9/index.md @@ -35,7 +35,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.4][discovery04] diff --git a/source/discovery/1.0/index.md b/source/discovery/1.0/index.md index bffc542b9..8b4c794c1 100644 --- a/source/discovery/1.0/index.md +++ b/source/discovery/1.0/index.md @@ -38,7 +38,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.discovery.stable.major }}.{{ site.discovery.stable.minor }}.{{ site.discovery.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.9.2][discovery09] From 9ef9ecf21474d761768853fd15eca607dd424434 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 12:04:16 +0100 Subject: [PATCH 32/34] Updating json-ld link --- source/_includes/links.md | 2 +- source/image/1.1/index.html | 2 +- source/image/2.0/index.md | 2 +- source/image/2.1/index.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_includes/links.md b/source/_includes/links.md index 68319c107..4e9560006 100644 --- a/source/_includes/links.md +++ b/source/_includes/links.md @@ -178,7 +178,7 @@ [org-ecma-encodeuricomponent]: https://tc39.es/ecma262/#sec-encodeuricomponent-uricomponent "encodeURIComponent" [org-ecma-decodeuricomponent]: https://tc39.es/ecma262/#sec-decodeuricomponent-encodeduricomponent "decodeURIComponent" [org-iana-uri-schemes]: http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml "IANA URI Schemes" -[org-json-ld]: http://www.json-ld.org/ "JSON for Linking Data" +[org-json-ld]: https://json-ld.org/ "JSON for Linking Data" [org-linked-data]: http://linkeddata.org/ "Linked Data" [org-mellon]: http://www.mellon.org/ "The Andrew W. Mellon Foundation" [org-mozilla-drag-drop]: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API "HTML Drag and Drop API" diff --git a/source/image/1.1/index.html b/source/image/1.1/index.html index ae370fcbd..95de05280 100644 --- a/source/image/1.1/index.html +++ b/source/image/1.1/index.html @@ -740,7 +740,7 @@

"http://library.stanford.edu/iiif/image-api/1.1/context.json" for version 1.1 of the IIIF Image API. This document allows the response to be interpreted as RDF, using the - JSON-LD serialization. + JSON-LD serialization. diff --git a/source/image/2.0/index.md b/source/image/2.0/index.md index ed3e7f7a5..a45e1b1ce 100644 --- a/source/image/2.0/index.md +++ b/source/image/2.0/index.md @@ -782,7 +782,7 @@ Many thanks to Ben Albritton, Matthieu Bonicel, Anatol Broder, Kevin Clarke, To [cors-spec]: http://www.w3.org/TR/cors/ "Cross-Origin Resource Sharing" [iiif-discuss]: mailto:iiif-discuss@googlegroups.com "Email Discussion List" [json-as-json-ld]: http://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld "JSON-LD 1.0: 6.8 Interpreting JSON as JSON-LD" -[json-ld-org]: http://www.json-ld.org/ "JSON for Linking Data" +[json-ld-org]: https://json-ld.org/ "JSON for Linking Data" [json-ld-w3c]: http://www.w3.org/TR/json-ld/ "JSON-LD 1.0" [mellon]: http://www.mellon.org/ "The Andrew W. Mellon Foundation" [rfc-2617]: https://datatracker.ietf.org/doc/html/rfc2617 "HTTP Authentication: Basic and Digest Access Authentication" diff --git a/source/image/2.1/index.md b/source/image/2.1/index.md index 61124bec2..4039bb0a3 100644 --- a/source/image/2.1/index.md +++ b/source/image/2.1/index.md @@ -980,7 +980,7 @@ Many thanks to the members of the [IIIF][iiif-community] for their continuous en [cors-spec]: http://www.w3.org/TR/cors/ "Cross-Origin Resource Sharing" [iiif-discuss]: mailto:iiif-discuss@googlegroups.com "Email Discussion List" [json-as-json-ld]: http://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld "JSON-LD 1.0: 6.8 Interpreting JSON as JSON-LD" -[json-ld-org]: http://www.json-ld.org/ "JSON for Linking Data" +[json-ld-org]: https://json-ld.org/ "JSON for Linking Data" [json-ld-w3c]: http://www.w3.org/TR/json-ld/ "JSON-LD 1.0" [mellon]: http://www.mellon.org/ "The Andrew W. Mellon Foundation" [rfc-2617]: https://datatracker.ietf.org/doc/html/rfc2617 "HTTP Authentication: Basic and Digest Access Authentication" From e3763fd0736df7693b6ef4e48b1d1a96847e59ea Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 12:05:14 +0100 Subject: [PATCH 33/34] Hiding Gemfile.lock and vendor directory --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 8cffa90a5..2a8d1df61 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ package-lock.json .jekyll-cache tmp/ iiifc-theme +Gemfile.lock +vendor From c567f8da2d9b7542d22099a84defc109e19c788c Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 29 Apr 2024 12:43:03 +0100 Subject: [PATCH 34/34] Link fix --- source/discovery/0.1/index.md | 2 +- source/discovery/0.2/index.md | 2 +- source/discovery/0.3/index.md | 2 +- source/discovery/0.4/index.md | 2 +- source/discovery/0.9/index.md | 2 +- source/discovery/1.0/index.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/discovery/0.1/index.md b/source/discovery/0.1/index.md index fe20e72b5..a6741b85c 100644 --- a/source/discovery/0.1/index.md +++ b/source/discovery/0.1/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ None diff --git a/source/discovery/0.2/index.md b/source/discovery/0.2/index.md index 1045a8487..6d9517655 100644 --- a/source/discovery/0.2/index.md +++ b/source/discovery/0.2/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.1][discovery01] diff --git a/source/discovery/0.3/index.md b/source/discovery/0.3/index.md index 58f1b1d06..3d01dcafb 100644 --- a/source/discovery/0.3/index.md +++ b/source/discovery/0.3/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.2][discovery02] diff --git a/source/discovery/0.4/index.md b/source/discovery/0.4/index.md index 7b0fd5524..ca761d1ef 100644 --- a/source/discovery/0.4/index.md +++ b/source/discovery/0.4/index.md @@ -32,7 +32,7 @@ editors: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.3][discovery03] diff --git a/source/discovery/0.9/index.md b/source/discovery/0.9/index.md index 8867dc096..6c93da7f4 100644 --- a/source/discovery/0.9/index.md +++ b/source/discovery/0.9/index.md @@ -35,7 +35,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.4][discovery04] diff --git a/source/discovery/1.0/index.md b/source/discovery/1.0/index.md index 8b4c794c1..72e8e13ee 100644 --- a/source/discovery/1.0/index.md +++ b/source/discovery/1.0/index.md @@ -38,7 +38,7 @@ hero: {:.no_toc} __This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %} -__Latest Stable Version:__ [{{ site.data.apis.stable.major }}.{{ site.data.apis.stable.minor }}.{{ site.data.apis.stable.patch }}][discovery-stable-version] +__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version] __Previous Version:__ [0.9.2][discovery09]