Skip to content

Instantly share code, notes, and snippets.

View regisrob's full-sized avatar

Régis Robineau regisrob

View GitHub Profile
@regisrob
regisrob / manifest_demo_creation.md
Last active December 13, 2023 06:30
Notes support pour la création d'un Manifest d'exemple

Manifest vide

  • id = à la fois identifiant URI et URL du Manifest
  • label = "titre" du manifest
  • items = séquence de canevas

Canvas 1 (sans api image)

  • id = identifiant du canvas (toujours la cible d'une annotation, au moins une : celle permettant de lui associer un contenu, ici une image)
@regisrob
regisrob / manifest_demo.json
Last active November 21, 2023 21:47
Manifeste démo pour la formation IIIF
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://gist.githubusercontent.com/regisrob/92061c1c98f6eba75900bce30de7d24d/raw/45b7d43cf9ff816c809f2f800ceafdf2a586578f/manifest_demo.json",
"type": "Manifest",
"label": {
"fr": [
"Atlas de cartes marines, dit [Atlas catalan]"
]
},
"metadata": [
@regisrob
regisrob / manifest.json
Created April 13, 2023 20:30
v3 Manifest with two top-level ranges
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/manifest.json",
"type": "Manifest",
"label": {
"en": [
"Ethiopic Ms 10"
]
},
@regisrob
regisrob / LICENSE.txt
Created November 4, 2022 17:04 — forked from mejackreed/LICENSE.txt
Leaflet-IIIF Cropping
MIT License
Copyright (c) 2016 Jack Reed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://manuscrits.cbma-project.eu/Fontenay_frad021_cart201_15h0009_0001-a.json",
"@type": "sc:Manifest",
"label": "Cartulaire de Fontenay, premier fragment (XIIIe siècle), Archives départementales de la Côte-d'Or, Cart. 201 (15 H 9), 175 folios.",
"license": "http://rightsstatements.org/vocab/InC/1.0/",
"attribution": "CBMA (Corpus Burgundiae Medii Aevi) - Laboratoire de Médiévistique Occidentale de Paris (LaMOP)",
"metadata": [
{
"label": "Établissement de conservation",
@regisrob
regisrob / manifest_bvmsm.json
Last active September 6, 2022 20:44
Snippet Manifest BVMSM (2.1)
{
{
"seeAlso": [
{
"@id": "URL_FICHIER_XML_EAD_SOURCE",
"format": "text/xml",
"profile": "urn:isbn:1-931666-22-9" // identifiant de l'espace de noms de l'EAD 2002 (?)
}
]
},
@regisrob
regisrob / manifest.json
Created December 20, 2021 18:13
Demo capsule MemoRekall IIIF
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://example.org/api/iiif/1234/manifest.json",
"type": "Manifest",
"label": {
"en": [
"My video capsule"
]
},
"items": [
{"@context":"http:\/\/iiif.io\/api\/presentation\/2\/context.json","@type":"sc:Manifest","@id":"https:\/\/archives-pierresvives.herault.fr\/ark:\/37279\/vtab83245847b5ea757\/manifest","label":"1 Fi 114 Nouveau plan de la ville de Montpellier. \/ Virenque A., libr., \u00e9dit., Paris. 1864","logo":{"@id":"https:\/\/archives-pierresvives.herault.fr\/img\/logo_pdf.png"},"metadata":[{"label":"Description physique","value":"Dim. 0,89 x 1,10 m "},{"label":"Particularit\u00e9 du document","value":"Ech. 1\/4 000"},{"label":"Pr\u00e9sentation du contenu","value":"\"Nouveau plan de la ville de Montpellier dress\u00e9 sous l'administration de M. J. Pagezy, maire, officier de la L\u00e9gion d'Honneur, d\u00e9put\u00e9 du Corps L\u00e9gislatif, 1864\". Cassan J., arch., de la ville ; Delamare, grav., Paris ; Virenque A., libr., \u00e9dit., Paris. Tableau alphab\u00e9tique des rues, places.Encre noire, grav\u00e9e ; dim. 0,89 x 1,10 m ; \u00e9ch. 1\/4 000 ; + 2 ex. En rouleau."},{"label":"Informations sur les copies","valu
@regisrob
regisrob / anno_list_choice.json
Last active February 22, 2020 21:16
Recolnat annotation IIIF : Choice avec FragmentSelector et SvgSelector
{
"@context" : "http://iiif.io/api/presentation/2/context.json",
"@id" : "https://collections.recolnat.org/annotate-server/iiif/2/annotationList/30/febbe57672bb5eaf097de6c5448c43ad8a82e012/list",
"@type" : "sc:AnnotationList",
"resources" : [
{
"@id" : "https://collections.recolnat.org/annotate-server/iiif/2/annotationList/30/febbe57672bb5eaf097de6c5448c43ad8a82e012/list/1",
"@type" : "oa:Annotation",
"motivation" : ["oa:commenting", "oa:tagging"],
"resource" : [
@regisrob
regisrob / exemples-urls-gallica.md
Last active March 15, 2021 11:00
Exemples d'URLs Gallica (IIIF et non-IIIF)

Exemples d'URLs Gallica (IIIF et non-IIIF) :

Niveau "manuscrit" :

=> URL du document numérisé (page web). Sert à mentionner la source de la numérisation et à renvoyer l'utilisateur vers la bibliothèque numérique d'origine

=> URL du Manifest IIIF (document JSON conforme à l'API Presentation de IIIF : https://iiif.io/api/presentation/2.1/#manifest). C'est la représentation IIIF du fac-similé numérique.