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

Fragment selectors or fragment-URI shortcuts when annotating images onto canvas? #1338

Closed
zimeon opened this issue Dec 3, 2017 · 7 comments

Comments

@zimeon
Copy link
Member

zimeon commented Dec 3, 2017

In Web Annotation, fragment selectors are the RECOMMENDED way to reference a fragment. Should this be the IIIF RECOMMENDED way to paint onto a portion of the canvas (and use fragments in annotations in other places)? If so then I'd assume a direct URI-with-fragment-ed would also be allowed (per Web Annnotation) OR Is this all too long winded, we we instead profile Web Annotation to say that the short URI-with-fragment-ed form SHOULD or MUST be used?

Taking a short version of the second example from http://iiif.io/api/presentation/2.1/#segments:

{
  "@context": ".../presentation/2/context.json",
  "@id": "http://ex.org/anno1",
  "@type": "oa:Annotation",
  "motivation": "sc:painting",
  "resource": {
    "@id": "http://ex.org/image.jpg",
    ...
   },
  "on": "http://ex.org/canvas/p1#xywh=0,0,600,900"
}

we would in Presentation 3 have the following if we follow the RECOMMENDED fragment selector form:

{
  "@context": [
    "http://www.w3.org/ns/anno.jsonld",
    ".../presentation/3/context.json"
  ],
  "@id": "http://ex.org/anno1",
  "@type": "Annotation",
  "motivation": "painting",
  "body": {
    "@id": "http://ex.org/image.jpg",
    ...
   },
  "target": {
    "source": "http://ex.org/canvas/p1",
    "selector": {
      "type": "FragmentSelector",
      "conformsTo": "http://www.w3.org/TR/media-frags/",
      "value": "xywh=0,0,600,900"
    }
  }
}
@zimeon zimeon added this to the Presentation 3.0 milestone Dec 5, 2017
@azaroth42
Copy link
Member

Impacts #1332 as the fragment selector would be more compatible with the proposed AudioTrackSelector as well as the regular SvgSelector.

@azaroth42
Copy link
Member

Consensus on AV call of 2018-02-06, and Editors on 2018-02-07 was that the selector model should be recommended but not required, and the fragment URI pattern documented as also possible.

@azaroth42
Copy link
Member

I think this needs further discussion in light of #1386

@tomcrane
Copy link
Contributor

tomcrane commented Feb 22, 2018

IIIF AV Meeting:

Use the full form in examples, and explain that the hash-fragment URI form MAY be used.

@aisaac
Copy link
Member

aisaac commented Feb 22, 2018

But where in the spec does this explanation go?

In 5.5 Annotations?

@azaroth42 azaroth42 removed the discuss label Feb 22, 2018
@azaroth42
Copy link
Member

Given that we're only talking about Canvas annotations, and we have #1386, I think they it can go into Canvas.

See the (currently not written, but a bright place holder) block in:
http://preview.iiif.io/api/airplane/api/presentation/3.0/#canvas

@azaroth42
Copy link
Member

Closed by #1500

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

No branches or pull requests

4 participants