diff --git a/docs/manifests/folder2/multiple-manifest.json b/docs/manifests/folder2/multiple-manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..fc271fa85710fd2c4af10cfead2df70e067eb836 --- /dev/null +++ b/docs/manifests/folder2/multiple-manifest.json @@ -0,0 +1,78 @@ +{ + "@context": "http://iiif.io/api/presentation/3/context.json", + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/manifest.json", + "type": "Manifest", + "label": { + "en": [ + "Picture of Göttingen taken during the 2019 IIIF Conference" + ] + }, + "items": [ + { + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/canvas/p1", + "type": "Canvas", + "height": 3024, + "width": 4032, + "items": [ + { + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/page/p1/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/annotation/p0001-image", + "type": "Annotation", + "motivation": "painting", + "body": { + "id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg", + "type": "Image", + "format": "image/jpeg", + "height": 3024, + "width": 4032, + "service": [ + { + "id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen", + "profile": "level1", + "type": "ImageService3" + } + ] + }, + "target": "https://iiif.io/api/cookbook/recipe/0021-tagging/canvas/p1" + } + ] + } + ], + "annotations": [ + { + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/page/p2/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/annotation/p0002-tag", + "type": "Annotation", + "motivation": "tagging", + "body": { + "type": "TextualBody", + "value": "Gänseliesel-Brunnen https://monURl#manifest un autre https://maDeuxiemeURl#manifest ", + "language": "de", + "format": "text/plain" + }, + "target": "https://iiif.io/api/cookbook/recipe/0021-tagging/canvas/p1#xywh=265,661,1260,1239" + }, + { + "id": "https://iiif.io/api/cookbook/recipe/0021-tagging/annotation/p0002-tag", + "type": "Annotation", + "motivation": "tagging", + "body": { + "type": "TextualBody", + "value": "Mon maifest", + "language": "de", + "format": "text/plain" + }, + "target": "https://iiif.io/api/cookbook/recipe/0021-tagging/canvas/p1#xywh=265,661,1260,1239" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/docs/manifests/manifest.md b/docs/manifests/manifest.md index 3255815d5ac87a6bcf80f1a9352d5307b9ed8719..09dafa4dcf42fad71aea743f916727c4e3641de9 100644 --- a/docs/manifests/manifest.md +++ b/docs/manifests/manifest.md @@ -2,6 +2,7 @@ Manifests availables : - [folder/](folder//manifest.md) - [folder2/](folder2//manifest.md) +- [www-COESO-TEST/](www-COESO-TEST//manifest.md) - [test3.json](test3.json), [View in Mirador](https://projectmirador.org/embed/?iiif-content=https://iiif.pages.tetras-libre.fr/IIIF-Publisher/manifests/test3.json) - [test4.json](test4.json), [View in Mirador](https://projectmirador.org/embed/?iiif-content=https://iiif.pages.tetras-libre.fr/IIIF-Publisher/manifests/test4.json) - [test5.json](test5.json), [View in Mirador](https://projectmirador.org/embed/?iiif-content=https://iiif.pages.tetras-libre.fr/IIIF-Publisher/manifests/test5.json) diff --git a/updateFileList.sh b/updateFileList.sh index 1e40e684c59ca46a3252eca985c9588aa2267ada..765244f02fcc0bbd806af9997f210d55c6cd0b8b 100755 --- a/updateFileList.sh +++ b/updateFileList.sh @@ -1,15 +1,15 @@ #!/bin/bash -viewer_url=https://projectmirador.org/embed/?iiif-content= +VIEWER_URL=https://projectmirador.org/embed/?iiif-content= -root_dir=docs -manifest_dir=manifests -manifest_file=manifest.md -default_publisher=https://iiif.pages.tetras-libre.fr/IIIF-Publisher/ +ROOT_DIR=docs +MANIFEST_DIR=manifests +MANIFEST_FILE=manifest.md +DEFAULT_PUBLISHER=https://iiif.pages.tetras-libre.fr/IIIF-Publisher/ if [ -z ${CI_PAGES_URL+x} ]; then - publisher=$default_publisher + PUBLISHER=$DEFAULT_PUBLISHER else - publisher=$CI_PAGES_URL + PUBLISHER=$CI_PAGES_URL fi @@ -23,30 +23,30 @@ walk_through_manifest(){ echo "P1 $1 / P2 $2 / path $(pwd)" echo " " - echo "Manifests availables :" > $manifest_file - echo " " >> $manifest_file + echo "Manifests availables :" > $MANIFEST_FILE + echo " " >> $MANIFEST_FILE if [ -n "$2" ]; then - echo "- [..]($publisher$2manifest)" >> $manifest_file + echo "- [..]($PUBLISHER$2manifest)" >> $MANIFEST_FILE fi for d in $(ls -d */); do - echo "- [$d]($d/$manifest_file)" >> $manifest_file + echo "- [$d]($d/$MANIFEST_FILE)" >> $MANIFEST_FILE walk_through_manifest $d $2$1 done for entry in *.json do - echo "- [$entry]($entry), [View in Mirador]($viewer_url$publisher$2$1$entry)" >> $manifest_file + echo "- [$entry]($entry), [View in Mirador]($VIEWER_URL$PUBLISHER$2$1$entry)" >> $MANIFEST_FILE done cd .. } -cd $root_dir +cd $ROOT_DIR -walk_through_manifest $manifest_dir/ "" +walk_through_manifest $MANIFEST_DIR/ "" # annotation annotation_dir=annotations @@ -57,5 +57,5 @@ echo "Annotations available" > $annotation_file echo "" >> $annotation_file for entry in *.json do - echo "- [$entry]($entry), [View in Mirador]($viewer_url$publisher/$annotation_dir/$entry)" >> $annotation_file + echo "- [$entry]($entry), [View in Mirador]($VIEWER_URL$PUBLISHER/$annotation_dir/$entry)" >> $annotation_file done