From 852c66aeefa17fd4f10acb729111bef46bb528b8 Mon Sep 17 00:00:00 2001 From: Cole Crawford <16374762+ColeDCrawford@users.noreply.github.com> Date: Tue, 20 Aug 2024 12:17:08 -0400 Subject: [PATCH] write _annotations/cdm17272-contentdm-oclc-org-14057-c0-list.json --- .../cdm17272-contentdm-oclc-org-14057-c0-list.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 _annotations/cdm17272-contentdm-oclc-org-14057-c0-list.json diff --git a/_annotations/cdm17272-contentdm-oclc-org-14057-c0-list.json b/_annotations/cdm17272-contentdm-oclc-org-14057-c0-list.json new file mode 100644 index 0000000..496147e --- /dev/null +++ b/_annotations/cdm17272-contentdm-oclc-org-14057-c0-list.json @@ -0,0 +1,9 @@ +--- +canvas_id: "https://cdm17272.contentdm.oclc.org/digital/iiif/agdm/14057/canvas/c0" +--- +{% assign annotations = site.annotations | where: "canvas", page.canvas_id | sort: "order" | map: "content" %} +{ +"@context": "http://iiif.io/api/presentation/2/context.json", +"id": "{{ site.url }}{{ site.baseurl }}{{page.url}}", +"type": "oa:AnnotationList", +"resources": [{{ annotations | join: ","}}] } \ No newline at end of file