Skip to content

A Firefox/Chrome extension to open IIIF manifest link in your favorite IIIF viewer.

Notifications You must be signed in to change notification settings

2SC1815J/open-in-iiif-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Open in IIIF Viewer

A Firefox/Chrome extension to open IIIF manifest link in your favorite IIIF viewer.

(This browser extension is formerly named “Open IIIF Manifest Link in Favorite Viewer.”)

Install

  • Firefox
    • Install (signed by Mozilla)
    • If you use Firefox ESR 52, please set webextensions.storage.sync.enabled to true in about:config.
  • Google Chrome

Usage

When the web page you are browsing contains a link to a IIIF manifest, by clicking on the toolbar button of this extension, you can open the link in the IIIF viewer specified on the options page.

screenshot_toolbar

By right-clicking on a link to the IIIF manifest, a context menu item “Open link in IIIF viewer” appears, which allows you to open the link in your preferred IIIF viewer.

screenshot_contextmenu

Options

On the options page, set the URL field depending on the particular IIIF viewer you want to use.

Note that IIIF viewers hosted on HTTPS servers cannot display IIIF manifests hosted on HTTP servers.

For example:

  • Open in IIIF Curation Viewer (default)
    • http://codh.rois.ac.jp/software/iiif-curation-viewer/demo/?manifest=
  • Open in Mirador 2 (thanks to Kiyonori Nagasaki)
    • http://candra.dhii.jp/nagasaki/mirador_if.php?manifest=
  • Open in Mirador 3
    • https://projectmirador.org/embed/?manifest=
  • Open in Universal Viewer v2
    • http://universalviewer.io/uv.html?manifest=
  • Open in Universal Viewer v3
    • https://uv-v3.netlify.app/#?manifest=
  • Open in Universal Viewer v4
    • https://uv-v4.netlify.app/#?manifest=
  • Open as JSON
    • Leave the URL setting field blank.

screenshot_options

Also, you can set a more complex pattern containing placeholders {manifest_URI} and {canvas_URI}.

For example:

  • Open in IIIF Curation Viewer
    • http://codh.rois.ac.jp/software/iiif-curation-viewer/demo/?manifest={manifest_URI}&canvas={canvas_URI}&lang=en
  • Open in Mirador
    • http://2sc1815j.net/mirador-loader/?manifest={manifest_URI}&canvas={canvas_URI}
  • Open in Universal Viewer
    • http://2sc1815j.net/uv-loader/?manifest={manifest_URI}&canvas={canvas_URI}

Notes

On some web pages, the extension cannot recognize links to IIIF manifests or may misrecognize links to non-IIIF manifests.

This uncertainty is reduced if the IIIF community specifies (or recommends) the machine-readable patterns for a link to a IIIF manifest. See a proposal.

The brief list of IIIF websites on which the extension works or not is as follows.

Website Works? Example
Biblissima Yes test
Bodleian Libraries Yes14 test
Cambridge University Library Yes test
Digital Vatican Library Yes test
e-codices Yes test
Europeana Yes3 test
Gallica Yes3 test
Harvard Art Museums Yes test
Heidelberg University Library Yes test
Internet Archive Yes3 test
J. Paul Getty Museum Yes test
Qatar Digital Library Yes test
Stanford Libraries Yes/Yes test/test
UCLA Library Yes test
University of Illinois at Urbana-Champaign Library Yes test
Wellcome Library Yes4 test
World Digital Library Yes test
Yale Center for British Art Yes test

(more...)

IIIF Websites in Japan

Website Works? Example
National Diet Library Digital Collections (NDL) Yes test
Database of Pre-modern Japanese Text (CODH) Yes test
Database of Pre-Modern Japanese Works (NIJL) Yes test
Collection for Study of the Japanese Language History (NINJAL) Yes2 test
Digital Collections of Keio University Libraries Yes test
Kyoto University Rare Materials Digital Archive Yes test
University of Tokyo Library System Yes test
Shimane University Library Digital Archive Collection Yes test
Kyushu University Collections Yes test

(more...)

1: Though the tooltip of the toolbar button is not updated in real-time, clicking on the button will open the correct manifest.

2: Use a context menu item “Open link in IIIF viewer” as needed.

3: Ad-hoc support.

4: It used to work, but as of July 2022, it no longer works due to changes on the site.

About

A Firefox/Chrome extension to open IIIF manifest link in your favorite IIIF viewer.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published