Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIIF v3 canvas - requires a unique id #170

Open
ndushay opened this issue Jul 19, 2017 · 5 comments
Open

IIIF v3 canvas - requires a unique id #170

ndushay opened this issue Jul 19, 2017 · 5 comments

Comments

@ndushay
Copy link
Contributor

ndushay commented Jul 19, 2017

per http://prezi3.iiif.io/api/presentation/3.0/#canvas


{scheme}://{host}/{prefix}/{identifier}/canvas/{name}

<snip>

If following the recommended URI pattern, the {name} parameter MUST uniquely distinguish the canvas from all other canvases in the object.  The URI of the canvas must not contain a fragment (a # followed by further characters), as this would make it impossible to refer to a segment of the Canvas’s area using the #xywh= syntax. Canvases should be able to be dereferenced separately from the Manifest via their URIs as well as being embedded within the Sequence.

See https://purl.stanford.edu/bd742gh0511/iiif3/manifest; this uses the same id for the pdf and for the txt file (also uses the same label)

@ndushay ndushay changed the title IIIF v3 canvas - should have a unique id IIIF v3 canvas - requires a unique id Jul 19, 2017
@cbeer
Copy link
Member

cbeer commented Jul 19, 2017

Do they not? We spent quite a bit of time last year during the spotlight-using-iiif sprint to remediate our resource ids so they'd be unique.

@ndushay
Copy link
Contributor Author

ndushay commented Jul 19, 2017

they do not, unless I wasn't seeing what was there correctly. Take a look at https://purl.stanford.edu/bd742gh0511/iiif3/manifest and let me know if I'm wrong ... that would be an easy fix to this ticket!

@cbeer
Copy link
Member

cbeer commented Jul 19, 2017

Ugh. I guess I didn't know we had resources that intentionally had multiple, published file entries. Maybe they belong on the same canvas? Time to follow up with @blalbrit, I guess.

@blalbrit
Copy link
Contributor

@ndushay and @cbeer - this pattern is pretty widespread across our content. Most books that DPG has scanned have an image and a txt file published for each resource, for instance, and SMPL occasionally published multiple files per resource as well.

In the example Naomi provided, there is a legitimate question as to whether the txt file and the pdf should be in separate resources. Since the delivery mechanism, for the last x years at least, for an object like this was just a file list, we should break this one down a bit:

  1. user expectation in the past was just "file list" because the object was a pdf and a file. It didn't matter to them whether the files were in a single resource or multiple resources.
  2. our understanding of user expectation now for an object like this, based on access team requirements, is presumably "viewable pdf + downloadable text file"
  3. IIIF (2 and 3, I think) could support this pattern through the use of "rendering" - http://iiif.io/api/presentation/2.1/#rendering

However, I'm finding it very difficult to understand how we can support all of the combinations of "rendering" without significant analysis that was not resourced or scoped for the current sprint - which was focused entirely on support for PDFs and 3D objects, alongside our usual image objects.

Some common patterns are:

  1. images of book + downloadable pdf (manifest level rendering)
  2. images of book + page-level text files + downloadable pdf + downloadable text file (manifest and resource level rendering)
  3. media file + thumbnail (resource level rendering)
  4. multiple representations of the object (as Naomi's example) where the PDF is the deliverable file and the text file is a downloadable ancillary file. (possibly resource level rendering, or manifest level rendering)

That's just off the top of my head, and we would need to set aside significant time to make sure that we were covering all the patterns in the repository.

@blalbrit
Copy link
Contributor

blalbrit commented Jul 20, 2017

Since @snydman is the major stakeholder representative here, and the support for PDF, 3D, and IIIF3 fell into the "should have" category for him, not the "must have", I would like for him to weigh in here as far as delivery expectations go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants