Important
This plugin is not used anymore and some things might be broken. If you have a specific use case for this plugin, please open an issue.
A trifid plugin to provide data about image and audio/visual files.
It provides data using the schema defined by the International Image Interoperability Framework
To install the plugin, run:
npm install @zazuko/trifid-plugin-iiif
This is how you can configure the plugin:
plugins:
# […] your other plugins
iiif:
module: "@zazuko/trifid-plugin-iiif"
paths:
- /iiif/
config:
uriPrefix: https://website
endpointUrl: https://website/query
endpointUser: optional
endpointPassword: optional
Then, http://localhost:8080/data/1 will use the URI: https://website/data/1 to fetch all the related data from the https://website/query SPARQL endpoint.
If no uriPrefix
is given, the plugin will accept a uri
query parameter.