annotator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Young <>
Subject Re: Just a simple example?
Date Wed, 10 May 2017 13:40:07 GMT
Hey Richard!

Thanks for writing. There are exactly such things in the works. I've seen an in-progress demo
from Randall (when we were hanging out at I Annotate) that uses fragment selectors to highlight
(via the DOM Selection API).

Here's W3C Note that defines the fragment selector format:

We also discussed a demo pretty similar to what you describe that has a Web Annotation Data
Model document shown in a textarea (perhaps) that is also used to highlight a thing on the

At any rate, these exact things are in progress. :)

If you'd like to write-up a demo page and a Web Annotation Data Model annotation (or a few)
that highlight some stuff, that'd be a great help to demo on.

We also plan to make the fragment selector thing (at least) usable on the
site for demoing there.

Thanks again for writing!



From: Richard Eckart de Castilho <>
Sent: Wednesday, May 10, 2017 9:09:56 AM
Subject: Just a simple example?

Hi all,

does anybody have a simple example of annotatorjs or Apache Annotator
that would work without a server-side storage?

I am imagining something like

* a static HTML page with some text in it and
* a JSON structure being created locally in that page which represents the annotations
* an invocation of annotatorjs/annotator that takes the JSON and renders it over the text

As an outcome, one would see parts of the texts highlighted and on-mouse-over information
about the annotations would be displayed.

For this simple example, editing these annotations wouldn't even be required.

If anybody could point me to such an example, that would be great!


-- Richard

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message