Skip to content

Commit 66b40ce

Browse files
authored
Merge branch 'master' into 0027-alternative-page-order
2 parents 3f166a0 + eb5a900 commit 66b40ce

File tree

49 files changed

+296
-51
lines changed

Some content is hidden

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

49 files changed

+296
-51
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 3 additions & 4 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)"
@@ -34,6 +31,7 @@
3431
[0031]: {{ site.cookbook_url | absolute_url }}/recipe/0031-bound-multivolume/ "Multiple Volumes in a Single Bound Volume"
3532

3633
[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"
3735

3836
[0047]: {{ site.cookbook_url | absolute_url }}/recipe/0047-homepage/ "Linking to Web Page of an Object"
3937
[0046]: {{ site.cookbook_url | absolute_url }}/recipe/0046-rendering/ "Providing Alternative Representations"
@@ -50,7 +48,7 @@
5048
[0118]: {{ site.cookbook_url | absolute_url }}/recipe/0118-multivalue/ "Displaying Multiple Values with Language Maps"
5149

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

5654
[0232]: {{ site.cookbook_url | absolute_url }}/recipe/0232-image-thumbnail-canvas/ "Implementation discussion: Thumbnails on Canvases"
@@ -67,6 +65,7 @@
6765
[0266]: {{ site.cookbook_url | absolute_url }}/recipe/0266-full-canvas-annotation/ "Simplest Annotation"
6866
[0269]: {{ site.cookbook_url | absolute_url }}/recipe/0269-embedded-or-referenced-annotations/ "Embedded or Referenced Annotations"
6967
[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"
7069

7170
[0306]: {{ site.cookbook_url | absolute_url }}/recipe/0306-linking-annotations-to-manifests/ "Linking external Annotations targeting a Canvas to a Manifest"
7271
[0309]: {{ site.cookbook_url | absolute_url }}/recipe/0309-annotation-collection/ "Using Annotation Collections"

_includes/viewer_link.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
https://liiive.now/?iiif-content={{manifest_url |strip}}
6767
{% endcapture %}
6868
{% 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" %}
6974
{% else %}
7075
{% capture default_text %}Unknown Viewer type '{{ include.type}}'{% endcapture %}
7176
{% capture viewer_url %}{{manifest_url |strip}}{% endcapture %}

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ _(leading on to segmentation examples later)_
8383
* comments - various examples (51,52,54)
8484
* [Simplest Annotation][0266]
8585
* [HTML in Annotations][0019]
86+
* [CSS in an Annotation][0045]
8687
* Fragment selectors (61)
8788
* [Simple Annotation - Tagging][0021]
8889
* [Annotation with a Non-Rectangular Polygon][0261]

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/0001-mvm-image/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ viewers:
1313
- Theseus
1414
- Curation
1515
- liiive
16+
- TIFY
1617
topic:
1718
- basic
1819
- 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

recipe/0005-image-service/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ viewers:
1212
- Theseus
1313
- Curation
1414
- liiive
15+
- TIFY
1516
topic:
1617
- basic
1718
- image
@@ -39,7 +40,7 @@ Though a version 3 Manifest may specify a service using the version 2 `@id` and
3940

4041
## Example
4142

42-
{% include manifest_links.html viewers="Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation, liiive" manifest="manifest.json" %}
43+
{% include manifest_links.html viewers="Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation, liiive, TIFY" manifest="manifest.json" %}
4344

4445
{% include jsonviewer.html src="manifest.json" config='data-line="36-42"' %}
4546

0 commit comments

Comments
 (0)