-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Annona | ||
Annona only works with images. It also works with IIIF collections and annotations. | ||
|
||
## Creating/Embedding an Annona page | ||
1. Create a file called `annona.html` | ||
2. Copy the code into file | ||
``` | ||
<html> | ||
<head> | ||
<title>Annona viewer</title> | ||
<meta charset="UTF-8" /> | ||
</head> | ||
<body> | ||
<script src="https://ncsu-libraries.github.io/annona/dist/annona.js"></script> <link rel="stylesheet" type="text/css" href="https://ncsu-libraries.github.io/annona/dist/annona.css"> | ||
<iiif-storyboard url="https://iiif.bodleian.ox.ac.uk/iiif/manifest/748a9d50-5a3a-440e-ab9d-567dd68b6abb.json"></iiif-storyboard> | ||
</body> | ||
</html> | ||
``` | ||
3. Open in the browser | ||
|
||
## Embedding with a URL | ||
1. Copy the code below into your `annona.html` file | ||
|
||
``` | ||
<iframe scr="replacewithmanifesturl"></iframe> | ||
``` | ||
|
||
1. Go to [https://ncsu-libraries.github.io/annona/tools/#/tag-builder?url=&viewtype=&manifesturl=&settings=%7B%7D](https://ncsu-libraries.github.io/annona/tools/#/tag-builder?url=&viewtype=&manifesturl=&settings=%7B%7D) | ||
2. Enter your manifest url. https://iiif.bodleian.ox.ac.uk/iiif/manifest/748a9d50-5a3a-440e-ab9d-567dd68b6abb.json | ||
3. Select storyboard | ||
4. Click on the Copy URL button | ||
5. Replace replacewithmanifesturl with that copied url | ||
``` | ||
<iframe scr="https://ncsu-libraries.github.io/annona/tools/#/display?url=https%3A%2F%2Fiiif.bodleian.ox.ac.uk%2Fiiif%2Fmanifest%2F748a9d50-5a3a-440e-ab9d-567dd68b6abb.json&viewtype=iiif-storyboard&manifesturl=&settings=%7B%22zoom%22%3A%22-2582.666666666666,-475.5555555555557,11841.333333333332,9511.11111111111%22,%22fullpage%22%3Atrue%7D"></iframe> | ||
``` | ||
6. View. | ||
|
||
## Configuring | ||
1. Go to [https://ncsu-libraries.github.io/annona/tools/#/tag-builder?url=&viewtype=&manifesturl=&settings=%7B%7D](https://ncsu-libraries.github.io/annona/tools/#/tag-builder?url=&viewtype=&manifesturl=&settings=%7B%7D) | ||
2. Enter your manifest url. https://iiif.bodleian.ox.ac.uk/iiif/manifest/748a9d50-5a3a-440e-ab9d-567dd68b6abb.json | ||
3. Select storyboard | ||
4. Update the view to reflect how you would like the page to load. | ||
5. Click Copy Tag (reating/Embedding an Annona page) or Copy URL button (iframe option) and embed. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Clover | ||
|
||
## Embedding clover | ||
|
||
``` | ||
<html> | ||
<head> | ||
<title>Clover IIIF - Viewer - Web Component</title> | ||
<meta charset="UTF-8" /> | ||
</head> | ||
<body> | ||
<script src="https://www.unpkg.com/@samvera/clover-iiif@latest/dist/web-components/index.umd.js"></script> | ||
<clover-viewer | ||
id="https://api.dc.library.northwestern.edu/api/v2/works/8a833741-74a8-40dc-bd1d-c416a3b1bb38?as=iiif" | ||
/> | ||
</body> | ||
</html> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters