W3C home > Mailing lists > Public > public-annotation@w3.org > November 2015

Re: [web-annotation] Embedding annotations in the target document

From: Sarven Capadisli via GitHub <sysbot+gh@w3.org>
Date: Sat, 07 Nov 2015 00:06:27 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-154582278-1446854786-sysbot+gh@w3.org>
My use case is where 1) user marks some text in an HTML document - 
this becomes the target, 2) leaves an annotation - this becomes the 
body. I have something like the following:

# The target
<mark about="[this:#foo]" typeof="http://purl.org/dcmitype/Text">
  foo <em>bar</em> baz

<a rel="oa:hasTarget" href="#foo">...</a>
<div rel="oa:hasBody">
  <div about="[this:#baz]" typeof="oa:TextualBody" property="oa:text">
    <p>I agree that foo-bar-baz is as good as it gets.</p>

I'm considering/looking for a property to label/describe the target 
resource. For example, with `oa:text` it'll be like:
<mark about="[this:#foo]" typeof="http://purl.org/dcmitype/Text" 
  foo <em>bar</em> baz
but it could just as well be any other property, e.g., 
`schema:description`, which can actually provide the content of #foo.

GitHub Notif of comment by csarven
Received on Saturday, 7 November 2015 00:06:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:42 UTC