Skip to content

Commit 98f9ad5

Browse files
committed
Merge branch 'master' into 0033-fix-layer-comment
2 parents 78bbe38 + 2807d5d commit 98f9ad5

File tree

68 files changed

+1277
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1277
-66
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The fields are as follows:
3535
* `tags` this is used in the recipe listing page and is currently uncontrolled and optional. It is shown on the [full list of recipes](https://iiif.io/api/cookbook/recipe/all/)
3636
* `summary` a short summary of the recipe. It is shown on the [full list of recipes](https://iiif.io/api/cookbook/recipe/all/)
3737
* `viewers` see further details below but this drives the Viewer Matrix
38-
* `topic` a controlled list of headings that are used on the viewer matrix. Allowed values are **basic, property, structure, image, AV, annotation or geo-recipes**. A recipe may have multiple topics and these would be expressed as a list for example:
38+
* `topic` a controlled list of headings that are used on the viewer matrix. Allowed values are **basic, property, note, structure, annotation, image, AV, realWorldObject, geo-recipes, content-state**. (The current set of topics at any time are in the [`topics.yml`](_data/topics.yml) file.) A recipe may have multiple topics and these would be expressed as a list for example:
3939
```
4040
topic:
4141
- basic
@@ -81,12 +81,12 @@ but we would welcome other viewers. To see the requirements for adding other vie
8181
This provides a standard link to the JSON and also to viewers. A full example is as follows:
8282

8383
```
84-
{% include manifest_links.html viewers="UV, Mirador, Tify, Curation" manifest="manifest.json" %}
84+
{% include manifest_links.html viewers="UV, Mirador, TIFY, Curation" manifest="manifest.json" %}
8585
```
8686

8787
and this would produce the following line:
8888

89-
[JSON-LD]() | [View in Universal Viewer]() | [View in Mirador]() | [View in Tify]() | [View in IIIF Curation Viewer]()
89+
[JSON-LD]() | [View in Universal Viewer]() | [View in Mirador]() | [View in TIFY]() | [View in IIIF Curation Viewer]()
9090

9191
The `manifest` parameter allows you to pass a relative link to the manifest and the `viewers` parameter is a list of Viewer links to show. For the Viewers property you have the following options:
9292

_includes/links.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@
1010
[0009]: {{ site.cookbook_url | absolute_url }}/recipe/0009-book-1/ "Simple Manifest - Book"
1111
[0010]: {{ site.cookbook_url | absolute_url }}/recipe/0010-book-2-viewing-direction "Viewing direction and its effect on navigation"
1212
[0011]: {{ site.cookbook_url | absolute_url }}/recipe/0011-book-3-behavior/ "Book behavior (paging) variations"
13-
[0299]: {{ site.cookbook_url | absolute_url }}/recipe/0299-region/ "Addressing a spatial region"
1413
[0013]: {{ site.cookbook_url | absolute_url }}/recipe/0013-placeholderCanvas/ "Load a Preview Image Before the Main Content"
1514
[0202]: {{ site.cookbook_url | absolute_url }}/recipe/0202-start-canvas/ "Load Manifest Beginning with a Specific Canvas"
1615
[0014]: {{ site.cookbook_url | absolute_url }}/recipe/0014-accompanyingcanvas/ "Audio Presentation with Accompanying Image"
1716
[0015]: {{ site.cookbook_url | absolute_url }}/recipe/0015-start/ "Begin playback at a specific point - Time-based media"
1817
[0017]: {{ site.cookbook_url | absolute_url }}/recipe/0017-transcription-av/ "Providing Access to Transcript Files of A/V Content"
1918

20-
[0139]: {{ site.cookbook_url | absolute_url }}/recipe/0139-geolocate-canvas-fragment/ "Represent Canvas Fragment as a Geographic Area on a Web Map"
21-
2219
[0019]: {{ site.cookbook_url | absolute_url }}/recipe/0019-html-in-annotations/ "HTML in Annotations"
2320
[0021]: {{ site.cookbook_url | absolute_url }}/recipe/0021-tagging/ "Simple Annotation — Tagging"
2421
[0022]: {{ site.cookbook_url | absolute_url }}/recipe/0022-linking-with-a-hotspot/ "Redirecting from one Canvas to another resource (Hotspot linking)"
@@ -28,15 +25,18 @@
2825
[0035]: {{site.baseurl}}/recipe/0035-foldouts/ "Foldouts, Flaps, and Maps"
2926
[0036]: {{site.baseurl}}/recipe/0036-composition-from-multiple-images/ "Composition from Multiple Images"
3027
[0026]: {{ site.cookbook_url | absolute_url }}/recipe/0026-toc-opera/ "Table of Contents for A/V Content"
28+
[0027]: {{ site.cookbook_url | absolute_url }}/recipe/0027-alternative-page-order/ "Alternative Page Sequences"
3129
[0029]: {{ site.cookbook_url | absolute_url }}/recipe/0029-metadata-anywhere/ "Metadata on any Resource"
3230
[0030]: {{ site.cookbook_url | absolute_url }}/recipe/0030-multi-volume/ "Multi-volume Work with Individually-bound Volumes"
3331
[0031]: {{ site.cookbook_url | absolute_url }}/recipe/0031-bound-multivolume/ "Multiple Volumes in a Single Bound Volume"
3432

3533
[0040]: {{ site.cookbook_url | absolute_url }}/recipe/0040-image-rotation-service/ "Image Rotation Two Ways"
34+
[0045]: {{ site.cookbook_url | absolute_url }}/recipe/0045-css/ "CSS in an Annotation"
3635

3736
[0047]: {{ site.cookbook_url | absolute_url }}/recipe/0047-homepage/ "Linking to Web Page of an Object"
38-
[0053]: {{ site.cookbook_url | absolute_url }}/recipe/0053-seeAlso/ "Linking to Structured Metadata"
3937
[0046]: {{ site.cookbook_url | absolute_url }}/recipe/0046-rendering/ "Providing Alternative Representations"
38+
[0053]: {{ site.cookbook_url | absolute_url }}/recipe/0053-seeAlso/ "Linking to Structured Metadata"
39+
[0057]: {{ site.cookbook_url | absolute_url }}/recipe/0057-publishing-v2-and-v3/ "Making IIIF Presentation API v2 and v3 manifests available at the same URL"
4040
[0064]: {{ site.cookbook_url | absolute_url }}/recipe/0064-opera-one-canvas/ "Table of Contents for Multiple A/V Files on a Single Canvas"
4141
[0065]: {{ site.cookbook_url | absolute_url }}/recipe/0065-opera-multiple-canvases/ "Table of Contents for Multiple A/V Files on Multiple Canvases"
4242

@@ -48,7 +48,7 @@
4848
[0118]: {{ site.cookbook_url | absolute_url }}/recipe/0118-multivalue/ "Displaying Multiple Values with Language Maps"
4949

5050
[0135]: {{ site.cookbook_url | absolute_url }}/recipe/0135-annotating-point-in-canvas/ "Annotating a specific point of an image"
51-
51+
[0139]: {{ site.cookbook_url | absolute_url }}/recipe/0139-geolocate-canvas-fragment/ "Represent Canvas Fragment as a Geographic Area on a Web Map"
5252
[0154]: {{ site.cookbook_url | absolute_url }}/recipe/0154-geo-extension/ "Locate a Manifest on a Web Map"
5353

5454
[0232]: {{ site.cookbook_url | absolute_url }}/recipe/0232-image-thumbnail-canvas/ "Implementation discussion: Thumbnails on Canvases"
@@ -65,6 +65,7 @@
6565
[0266]: {{ site.cookbook_url | absolute_url }}/recipe/0266-full-canvas-annotation/ "Simplest Annotation"
6666
[0269]: {{ site.cookbook_url | absolute_url }}/recipe/0269-embedded-or-referenced-annotations/ "Embedded or Referenced Annotations"
6767
[0283]: {{ site.cookbook_url | absolute_url }}/recipe/0283-missing-image/ "Missing Images in a Sequence"
68+
[0299]: {{ site.cookbook_url | absolute_url }}/recipe/0299-region/ "Addressing a spatial region"
6869

6970
[0306]: {{ site.cookbook_url | absolute_url }}/recipe/0306-linking-annotations-to-manifests/ "Linking external Annotations targeting a Canvas to a Manifest"
7071
[0309]: {{ site.cookbook_url | absolute_url }}/recipe/0309-annotation-collection/ "Using Annotation Collections"
@@ -74,14 +75,16 @@
7475
[0346]: {{ site.cookbook_url | absolute_url }}/recipe/0346-multilingual-annotation-body/ "Annotating in Multiple Languages"
7576
[0377]: {{ site.cookbook_url | absolute_url }}/recipe/0377-image-in-annotation/ "Image in annotation"
7677

78+
[0464]: {{ site.cookbook_url | absolute_url }}/recipe/0464-reuse-manifest/ "Reuse parts of a Manifest"
7779
[0466]: {{ site.cookbook_url | absolute_url }}/recipe/0466-link-for-loading-manifest/ "Loading a manifest with a viewer using a link"
78-
7980
[0485]: {{ site.cookbook_url | absolute_url }}/recipe/0485-contentstate-canvas-region/ "Open a specific region of a canvas in a viewer"
80-
8181
[0434]: {{ site.cookbook_url | absolute_url }}/recipe/0434-choice-av/ "Multiple Choice of Audio Formats in a Single View (Canvas)"
8282
[0489]: {{ site.cookbook_url | absolute_url }}/recipe/0489-multimedia-canvas/ "Rendering Multiple Media Types on a Time-Based Canvas"
8383
[0540]: {{ site.cookbook_url | absolute_url }}/recipe/0540-link-for-opening-multiple-canvases/ "Sharing a link for opening two or more Canvases"
8484

85+
[0560]: {{ site.cookbook_url | absolute_url }}/recipe/0560-resources-on-a-timeline/ "Rendering Resources Sequentially on a Timeline"
86+
[0561]: {{ site.cookbook_url | absolute_url }}/recipe/0561-text-on-image/ "Visible Text Resource on a Canvas"
87+
8588
[cookbook-process]: {{site.cookbook_url | absolute_url }}/recipe
8689

8790
[trc]: {{ site.root_url | absolute_url }}/community/trc/

_includes/viewer_link.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@
6161
https://theseusviewer.org/?iiif-content={{manifest_url |strip}}
6262
{% endcapture %}
6363
{% assign default_text="View in Theseus" %}
64+
{% elsif include.type == 'liiive' %}
65+
{% capture viewer_url %}
66+
https://liiive.now/?iiif-content={{manifest_url |strip}}
67+
{% endcapture %}
68+
{% assign default_text="View in liiive" %}
69+
{% elsif include.type == 'TIFY' %}
70+
{% capture viewer_url %}
71+
https://tify-iiif-viewer.github.io/tify/?iiif-content={{manifest_url |strip}}
72+
{% endcapture %}
73+
{% assign default_text="View in TIFY" %}
6474
{% else %}
6575
{% capture default_text %}Unknown Viewer type '{{ include.type}}'{% endcapture %}
6676
{% capture viewer_url %}{{manifest_url |strip}}{% endcapture %}

index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ _The corresponding 2.1 test fixture(s) is given like this, where appropriate: ..
6161
* [Locate Multiple Canvases on a Web Map][0240]
6262
* [Acknowledge Content Contributors][0234]
6363
* [Simple Collection][0032]
64+
* [Reuse parts of a Manifest][0464]
6465

6566
## Textual and other supplementary content
6667

@@ -82,6 +83,7 @@ _(leading on to segmentation examples later)_
8283
* comments - various examples (51,52,54)
8384
* [Simplest Annotation][0266]
8485
* [HTML in Annotations][0019]
86+
* [CSS in an Annotation][0045]
8587
* Fragment selectors (61)
8688
* [Simple Annotation - Tagging][0021]
8789
* [Annotation with a Non-Rectangular Polygon][0261]
@@ -95,14 +97,15 @@ _(leading on to segmentation examples later)_
9597
* [Using Annotation collections][0309]
9698
* [Image in annotations][0377]
9799
* [Annotating in Multiple Languages][0346]
100+
* [Visible Text Resource on a Canvas][0561]
98101

99102
## Internal structure
100103

101104
* [Table of Contents for Book Chapters][0024]
102105
* table of contents (ranges) - articles in a newspaper
103106
* [Table of contents for A/V content][0026] (26)
104107
* [Adding Thumbnail Navigation and `no-nav` to a Video Resource][0229]
105-
* Alternative Sequence (via `sequence` Range) (20,22,23)
108+
* [Alternative Page Sequences][0027]
106109
* `sequence` Range with partial canvases
107110

108111
## Higher-level structure
@@ -116,6 +119,7 @@ _(leading on to segmentation examples later)_
116119
* [Multiple choice of images in a single view][0033] (29)
117120
* [Foldouts, Flaps, and Maps][0035]
118121
* [Composition from Multiple Images][0036] (30,31)
122+
* [Rendering Resources Sequentially on a Timeline][0560]
119123
* [Rendering Multiple Media Types on a Time-Based Canvas][0489]
120124
* Multiple images and multiple choices (32,33,34)
121125
* [Annotating part of an image to a Canvas][recipe-segment-image-part] (e.g., crop out scanner) (35,36,37,38)
@@ -153,7 +157,7 @@ Recipes using [Content State API](https://iiif.io/api/content-state/1.0/)
153157
* extensions (18)
154158
* services (9,10)
155159
* Mixed version scenarios (Prezi 3+Image 2)
156-
* Publishing v2 and v3 versions
160+
* [Making IIIF Presentation API v2 and v3 manifests available at the same URL][0057]
157161

158162
## Real-world complex objects (ideally taken from actual collections)
159163

recipe/0000_template/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If you don't know what the restrictions might be initially, just leave the follo
3232
Describe the solution in prose and provide an example.
3333
The example json document must be an external document, and imported with the following:
3434

35-
{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Ramp, Aviary, Glycerine, Theseus" manifest="manifest.json" %}
35+
{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Ramp, Aviary, Glycerine, Theseus, TIFY" manifest="manifest.json" %}
3636

3737
{% include jsonviewer.html src="manifest.json" %}
3838

recipe/0000_template/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"type": "Manifest",
55
"label": {
66
"none": [""]
7-
}
7+
},
8+
"items": []
89
}

recipe/0001-mvm-image/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ viewers:
1212
- Glycerine Viewer
1313
- Theseus
1414
- Curation
15+
- liiive
16+
- TIFY
1517
topic:
1618
- basic
1719
- image

recipe/0002-mvm-audio/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ viewers:
1212
- Aviary
1313
- Theseus
1414
- Glycerine Viewer
15+
- TIFY
1516
topic:
1617
- basic
1718
- AV
@@ -32,7 +33,7 @@ The implementation is identical to the [image example][0001], except that the co
3233

3334
This example shows a Manifest with a single Canvas that lasts for 1985.024 seconds. It has a single audio file (audio-sample.mp4) which is associated with it. The mp4 also has a duration of 1985.024 seconds.
3435

35-
{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp, Aviary, Theseus, Glycerine Viewer" manifest="manifest.json" %}
36+
{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp, Aviary, Theseus, Glycerine Viewer, TIFY" manifest="manifest.json" %}
3637

3738
{% include jsonviewer.html src="manifest.json" %}
3839

recipe/0003-mvm-video/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ viewers:
1212
- Aviary
1313
- Theseus
1414
- Glycerine Viewer
15+
- TIFY
1516
topic:
1617
- basic
1718
- AV
@@ -32,7 +33,7 @@ The implementation is identical to the [image example][0001], except that the co
3233

3334
This example shows a Manifest with a single Canvas that lasts for 572 seconds, or just under 10 minutes. It has a single video file (lunchroom_manners_1024kb.mp4) which is associated with it. The mp4 also has a duration of 572 seconds.
3435

35-
{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp, Aviary, Theseus, Glycerine Viewer" manifest="manifest.json" %}
36+
{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp, Aviary, Theseus, Glycerine Viewer, TIFY" manifest="manifest.json" %}
3637

3738
{% include jsonviewer.html src="manifest.json" %}
3839

recipe/0004-canvas-size/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ viewers:
1010
- Annona
1111
- Theseus
1212
- Curation
13+
- TIFY
1314
topic: image
1415
code:
1516
- iiif-prezi3
@@ -40,7 +41,7 @@ The aspect ratio should be consistent between your source image and Canvas. Othe
4041

4142
This example shows a Manifest with a single Canvas that has height and width dimensions three times the pixel dimensions of the image in order to construct a Canvas with both dimensions greater than 1000px.
4243

43-
{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus, Curation" manifest="manifest.json" %}
44+
{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus, Curation, TIFY" manifest="manifest.json" %}
4445
{% include jsonviewer.html src="manifest.json" config="data-line='14-15,29-30'"%}
4546

4647
# Related recipes

0 commit comments

Comments
 (0)