american-art / iiif

Builds the manifest files for IIIF
MIT License
2 stars 0 forks source link

The URI of the canvas is badly constructed #3

Open jainn3 opened 7 years ago

jainn3 commented 7 years ago

The URI of the canvas is badly constructed: "https://urldefense.proofpoint.com/v2/url?u=https-3A__collections.theautry.org_MWEBimages_ceramics-5F016_thumb_canvas_1314-5FG-5F1.jpg&d=DwIGaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=eXi2Y8PJvJTK0mEUzLW3xg&m=r99EYatj4DyPhr4f1ZnlQmtUJ3K3GaLg-WClhVy8hGM&s=6fHa4BERTkBJYR__Lw8miO49GP0oIMHza6ONN-WTBV4&e= " – note just one /

jainn3 commented 7 years ago

The id of the canvas is in following format: {scheme}://{host}/{prefix}/{identifier}/canvas/{name}

What this means is "canvas" is embedded within the URL.

The id of the canvas is not referenceable. The id of the canvas acts as the unique id.

Just checked an example where canvas id is also not referenceable. https://github.com/IIIF/iiif.io/blob/master/source/api/presentation/2.1/example/fixtures/1/manifest.json

Not to say that the example is ideal but is there any need we need to reference the canvas id url?

The issue with inconsistency slashes in the URL has been fixed.

workergnome commented 7 years ago

I defer to @azaroth42...