Skip to content

Commit

Permalink
Bookmarklet details
Browse files Browse the repository at this point in the history
  • Loading branch information
mclaeysb committed Nov 26, 2024
1 parent 7669714 commit 7aed0a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 2024-france-archives.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ To locate the IIIF Manifest URL, there are a couple of options. Use the one that
- Example from Ille-et-Vilaine: [IIIF Manifest URL on the item webpage](https://images-archives.ille-et-vilaine.fr/archives/item/103954-4j-guingamp-7).
- Example from **BnF**: [IIIF Manifest URL in the interactive viewer](https://gallica.bnf.fr/ark:/12148/btv1b53029493h.r=carte%20bretagne?rk=64378;0) under the `iiif` logo, then under `i`.
- From the **FranceArchives** platform the items are visible by default in the (embedded) **Mirador Viewer**, which allows to find the IIIF Manifest URL as follows: click the `` button called `Aficher le menu latéral` and in the `i` panel scroll down to the bottom to find `Liens: Manifeste IIIF`.
- For all archives from our list (except BnF) we can **deduce the IIIF Manifest URL** from the URL of the item webpage or interactive viewer of an archive item, by locating the item's 'id'.
- For all archives from our list (except BnF and Ille-et-Vilaine) we can **deduce the IIIF Manifest URL** from the URL of the item webpage or interactive viewer of an archive item, by locating the item's 'id'.
- Here are two examples:
- For the map at this viewer URL `https://archives-numeriques.ville-bazas.fr/viewer/9038/?offset=#page=1&viewer=picture&o=&n=0&q=` we can find the id `9038` in the URL and construct the IIIF Manifest URL `https://archives-numeriques.ville-bazas.fr/iiif/9038/manifest`
- For the map at this webpage URL `https://images-archives.ille-et-vilaine.fr/idurl/1/103954` we can find the id `103954` in the URL and construct the IIIF Manifest URL `https://images-archives.ille-et-vilaine.fr/iiif/103954/manifest`
- We can **do this automatically** using a **bookmarklet** (a bookmark with a small bit of code): drag this link to your bookmarks bar <a href="javascript:(function(){const regexPattern=/http.*:\/\/(?%3Cbase%3E.*?)\/(idurl\/\w*\/|viewer\/|collection\/item\/|records\/item\/)(?%3Cid%3E\w*)/;const%20matches=window.location.href.match(regexPattern).groups;const%20manifestUrl=%27https://%27+matches.base+%27/iiif/%27+matches.id+%27/%27+%27manifest%27;location=manifestUrl})();">Open IIIF Manifest</a>. It acts as a button: when clicked it will try to deduce the IIIF Manifest URL from the webpage you are currently at. Try to click it when you have a IIIF item webpage or viewer open: it should bring you to its corresponding IIIF Manifest URL! (You can find more information on this bookmarklet [here](https://iiif-bookmarklets.netlify.app/collections/limb-gallery-viewer/))
- We can **do this automatically** using a **bookmarklet** (a bookmark with a small bit of code):
- Drag the following link to your bookmarks bar: <a href="javascript:(function(){const regexPattern=/http.*:\/\/(?%3Cbase%3E.*?)\/(idurl\/\w*\/|viewer\/|collection\/item\/|records\/item\/)(?%3Cid%3E\w*)/;const%20matches=window.location.href.match(regexPattern).groups;const%20manifestUrl=%27https://%27+matches.base+%27/iiif/%27+matches.id+%27/%27+%27manifest%27;location=manifestUrl})();">Open IIIF Manifest</a>. It acts as a button: when clicked it will try to deduce the IIIF Manifest URL from the webpage you are currently at. Try to click it when you have a IIIF item webpage or viewer open: it should bring you to its corresponding IIIF Manifest URL! (You can find more information on this bookmarklet [here](https://iiif-bookmarklets.netlify.app/collections/limb-gallery-viewer/))
- To automatically detect IIIF resources on any platform website or viewer you visit, even outside of our list, you can use the very helpful '**detektIIIF**' browser extension. When visiting a webpage or viewer containing a IIIF Manifest, this extension will automatically find the IIIF Manifest URL. It's available one the [Chrome webstore](https://chromewebstore.google.com/detail/detektiiif3/aaodcobgcadinjipaocibamdfcffpcpp) and as a [Firefox Add-on](https://addons.mozilla.org/en-GB/firefox/addon/detektiiif2/). If you want to use it, install the extension and pin it in your browser for easy access.

<!-- > 💬 **No Collection Manifests**
Expand Down

0 comments on commit 7aed0a9

Please sign in to comment.