Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IIIF Curation Viewer #535

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem 'jekyll', '~> 4.1.1'

# for local development, clone theme + use path loader
# gem 'iiifc-theme', path: 'iiifc-theme'
gem 'iiifc-theme', github: 'iiif/iiifc-theme', branch: 'main'
gem 'iiifc-theme', github: 'iiif/iiifc-theme', branch: 'ignore-font-awsome'

# For open graph and Twitter Card elements
gem 'jekyll-seo-tag'
Expand Down
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT
remote: https://github.com/iiif/iiifc-theme.git
revision: afff3ef39910d7454c58abf2b9c9e6a50cc7cb4c
branch: main
revision: a1a48285ca5bbf81d6967cf31fdcdb571da3068b
branch: ignore-font-awsome
specs:
iiifc-theme (0.1.0)
html-proofer
Expand All @@ -18,7 +18,7 @@ GEM
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
colorator (1.1.0)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
diff-lcs (1.5.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
Expand Down Expand Up @@ -84,7 +84,7 @@ GEM
racc (~> 1.4)
nokogumbo (2.0.5)
nokogiri (~> 1.8, >= 1.8.4)
parallel (1.25.1)
parallel (1.26.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
Expand All @@ -95,7 +95,7 @@ GEM
rb-inotify (0.11.1)
ffi (~> 1.0)
redcarpet (3.6.0)
rexml (3.3.4)
rexml (3.3.6)
strscan
rouge (3.30.0)
rspec (3.13.0)
Expand All @@ -104,7 +104,7 @@ GEM
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
rspec-expectations (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
Expand Down
1 change: 1 addition & 0 deletions recipe/0001-mvm-image/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ viewers:
- Clover
- Glycerine Viewer
- Theseus
- Curation
topic:
- basic
- image
Expand Down
3 changes: 2 additions & 1 deletion recipe/0004-canvas-size/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ viewers:
- Mirador
- Annona
- Theseus
- Curation
topic: image
code:
- iiif-prezi3
Expand Down Expand Up @@ -39,7 +40,7 @@ The aspect ratio should be consistent between your source image and Canvas. Othe

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.

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

# Related recipes
Expand Down
3 changes: 2 additions & 1 deletion recipe/0005-image-service/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ viewers:
- Clover
- Glycerine Viewer
- Theseus
- Curation
topic:
- basic
- image
Expand Down Expand Up @@ -37,7 +38,7 @@ Though a version 3 Manifest may specify a service using the version 2 `@id` and

## Example

{% include manifest_links.html viewers="Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

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

Expand Down
3 changes: 2 additions & 1 deletion recipe/0006-text-language/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ viewers:
- Annona
- Glycerine Viewer
- Theseus
- Curation
topic: basic
property: label, summary, metadata, requiredStatement
code:
Expand Down Expand Up @@ -42,7 +43,7 @@ To see the language choice in the linked viewers, open the settings menu (gear i

The image in this example was sourced via Wikimedia Commons and is public domain.

{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="6-11, 16-21, 24-26, 31-36, 39-44, 49-54, 58-63, 66-68"' %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0007-string-formats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ viewers:
- Clover
- Glycerine Viewer
- Theseus
- Curation
topic: property
property: label, summary, metadata, requiredStatement
code:
Expand All @@ -33,7 +34,7 @@ For security reasons, clients are expected to allow only `a`, `b`, `br`, `i`, `i

## Example

{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="7,12,24,38"' %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0008-rights/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ viewers:
- Clover
- Glycerine Viewer
- Theseus
- Curation
topic: property
property: rights, requiredStatement
code:
Expand Down Expand Up @@ -41,7 +42,7 @@ None known.

## Example

{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="15-27"' %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0009-book-1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ viewers:
- Clover
- Glycerine Viewer
- Theseus
- Curation
topic:
- image
- basic
Expand Down Expand Up @@ -38,7 +39,7 @@ You should also consider providing a [thumbnail][prezi3-thumbnail] for each Canv

## Example

{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

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

Expand Down
3 changes: 2 additions & 1 deletion recipe/0010-book-2-viewing-direction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ viewers:
- Mirador
- Annona
- Theseus
- Curation
topic:
- image
- property
Expand Down Expand Up @@ -41,7 +42,7 @@ None known

This Manifest shows the playbill for "Akiba gongen kaisen-banashi," "Futatsu chōchō kuruwa nikki", and "Godairiki koi no fūjime", kabuki performances at the Chikugo Theater in Osaka, from the fifth month of Kaei 2 (May, 1849).

{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus" manifest="manifest-rtl.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus, Curation" manifest="manifest-rtl.json" %}

{% include jsonviewer.html src="manifest-rtl.json" config='data-line="15"' %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0029-metadata-anywhere/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ viewers:
support: partial
- Glycerine Viewer
- Theseus
- Curation
topic: property
property: metadata
---
Expand All @@ -38,7 +39,7 @@ Note: Clover supports Metadata at the Manifest level but not down at the Canvas.

Credit: *John Dee performing an experiment before Queen Elizabeth I*. Oil painting by Henry Gillard Glindoni. Credit: Wellcome Collection. Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="10-59, 83-96, 136-149"' %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0118-multivalue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ viewers:
- Annona
- Glycerine Viewer
- Theseus
- Curation
topic: property
property: label, summary, metadata, requiredStatement
---
Expand All @@ -32,7 +33,7 @@ None

In this example, the work has multiple titles in both English and French. The Manifest `label` provides a single title in French within a single-value array (lines 6–8). The alternative titles are provided in the `metadata` property in both English and French, each with variants contained within two separate arrays -- one array for English (lines 18–21) and one for French (lines 22–25). In the `summary` property (lines 30–32) the value is included as a single-string array.

{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="6-8, 18-21, 22-25, 30-32"'%}

Expand Down
1 change: 1 addition & 0 deletions recipe/0283-missing-image/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ viewers:
- Mirador
- Glycerine Viewer
- Theseus
- Curation
topic:
- image
- basic
Expand Down
1 change: 1 addition & 0 deletions recipe/matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ viewers:
- Aviary
- Glycerine Viewer
- Theseus
- Curation
topics:
- basic
- property
Expand Down
Loading