La Bibliothèque nationale de France

Get V3 IIIF Manifest

Get the IIIF Manifest (API version 3).

Installation

Drag the button below to the favorites bar of your browser in order to install this bookmarklet. Alternatively, you can copy the code below and paste it in the address or URL field of a new bookmark.

Get IIIF Manifest

Source code

javascript: (function () {
    const id = window.location.href.match(/ark:\/\d*\/([^/?.#]*)/)[1];
    location = `https://openapi.bnf.fr/iiif/presentation/v3/ark:/12148/${id}/manifest.json`;
  })();

Get V2 IIIF Manifest

Get the IIIF Manifest (API version 2).

Installation

Drag the button below to the favorites bar of your browser in order to install this bookmarklet. Alternatively, you can copy the code below and paste it in the address or URL field of a new bookmark.

Get IIIF Manifest

Source code

javascript: (function () {
    const id = window.location.href.match(/ark:\/\d*\/([^/?.#]*)/)[1];
    location = `https://gallica.bnf.fr/iiif/ark:/12148/${id}/manifest.json`;
  })();

Open in Allmaps Editor

Bookmarklet to open an item from Gallica directly in the Allmaps Editor (uses V2 API).

Installation

Drag the button below to the favorites bar of your browser in order to install this bookmarklet. Alternatively, you can copy the code below and paste it in the address or URL field of a new bookmark.

Open in Allmaps Editor

Browse more digitized maps here

Source code

javascript: (function () {
    const id = window.location.href.match(/ark:\/\d*\/([^/?.#]*)/)[1];
    const manifest = `https://gallica.bnf.fr/iiif/ark:/12148/${id}/manifest.json`;
    const editorBase = "https://editor.allmaps.org/#/collection?url=";
    location = editorBase + encodeURIComponent(manifest);
  })();

Testing