discoverygarden/iiif_presentation_api
最新稳定版本:v2.7.1
Composer 安装命令:
composer require discoverygarden/iiif_presentation_api
包简介
Generates IIIF Presentation API manifests for Drupal entities.
README 文档
README
Introduction
Provides serialization to IIIF Presentation API.
Requirements
This module requires the following modules/libraries:
- Serialization (part of Drupal core)
Installation
Install as usual, see this for further information.
Configuration
Out of the box the module provides minimal implementation and expects other modules to either decorate or provide their own implementation by extending the provided normalizers.
For any content entity that should be exposed the format will need to be configured as documented by Drupal.
There are some environment variables to help integrate with IIIF Image APIs, in particular:
| Variable | Description |
|---|---|
IIIF_IMAGE_V1_SLUG |
Slug to a IIIF v1 endpoint, containing {identifier}, which will be replaced with an identifier. |
IIIF_IMAGE_V2_SLUG |
Slug to a IIIF v2 endpoint, containing {identifier}, which will be replaced with an identifier. |
IIIF_IMAGE_V3_SLUG |
Slug to a IIIF v3 endpoint, containing {identifier}, which will be replaced with an identifier. |
IIIF_IMAGE_ID_PLUGIN |
The ID of a plugin to use to transform IDs. |
Presently, we indicate level2 compliance for each IIIF Image API endpoint.
As a point of convenience, it is possible to specify the IIIF_IMAGE_V*_SLUG
values using base:, as used by
Drupal's Url::fromUri().
For example, if you are using a proxy to make a /iiif/2 path for a IIIF-I v2
endpoint, such that your slug would be
https://{your hostname}/iiif/2/{identifier}, then you can instead use
base:/iiif/2/{identifier} to configure the reference more explicitly relative
to the hostname used to access the site.
Troubleshooting/Issues
Having problems or solved one? contact discoverygarden.
Maintainers/Sponsors
Current maintainers:
Sponsor:
Development
If you would like to contribute to this module create an issue, pull request and or contact discoverygarden.
License
统计信息
- 总下载量: 626
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2023-09-20