Skip to content

Commit

Permalink
Adding remote collections
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Feb 15, 2021
1 parent 656f8e6 commit a467e76
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
4 changes: 4 additions & 0 deletions collections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ This is an example hierarchical embedded collection to see if displays in Mirado
* [View in Mirador](https://projectmirador.org/embed/?iiif-content=https://glenrobson.github.io/iiif_stuff/collections/collection.json)
* [View Manifest](https://glenrobson.github.io/iiif_stuff/collections/collection.json)


Trying remote collections rather than embedding them in the collection json:
* [View in Mirador](https://projectmirador.org/embed/?iiif-content=https://glenrobson.github.io/iiif_stuff/collections/collection-remote.json)
* [View Manifest](https://glenrobson.github.io/iiif_stuff/collections/collection-remote.json)
23 changes: 23 additions & 0 deletions collections/collection-remote.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://glenrobson.github.io/iiif_stuff/collections/collection.json",
"type": "Collection",
"label": { "en": [ "Test collection" ] },
"items": [
{
"id": "https://glenrobson.github.io/iiif_stuff/collections/wills-collection.json",
"type": "Collection",
"label": { "en": [ "Wills Sub collection" ] }
},
{
"id": "https://purl.stanford.edu/rd447dz7630/iiif/manifest",
"type": "Manifest",
"label": { "en": [ "The clans of the Scottish Highlands : illustrated by appropriate figures, displaying their dress, tartans, arms, armorial insignia, and social occupations" ] },
"thumbnail": [{
"id": "https://stacks.stanford.edu/image/iiif/rd447dz7630%252Frd447dz7630_00_0001/full/512,/0/default.jpg",
"type": "Image",
"format": "image/jpeg"
}]
}
]
}
2 changes: 1 addition & 1 deletion collections/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"label": { "en": [ "Test collection" ] },
"items": [
{
"id": "https://glenrobson.github.io/iiif_stuff/collections/collection.json",
"id": "https://glenrobson.github.io/iiif_stuff/collections/wills-collection.json",
"type": "Collection",
"label": { "en": [ "Wills Sub collection" ] },
"items": [
Expand Down

0 comments on commit a467e76

Please sign in to comment.