@zazuko/trifid-plugin-iiif

1.0.1 • Public • Published

Trifid plugin iiif

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

Example

Mounting the plugin

{
  "iiif": {
    "path": "/*",
    "uriPrefix": "https://website",
    "endpointUrl": "https://website/query",
    "endpointUser": "optional",
    "endpointPassword": "optional"
  },
  "plugins": {
    "iiif": {
      "priority": 100,
      "module": "trifid-plugin-iiif"
    }
  }
}

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 param.

Package Sidebar

Install

npm i @zazuko/trifid-plugin-iiif

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

14.3 kB

Total Files

11

Last publish

Collaborators

  • zazuko-bot
  • tpluscode
  • ludovicm67
  • ktk