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:

http://w3c.github.io/web-annotation/selector-note/#frags


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 page.


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 
http://annotator.apache.org/ site for demoing there.


Thanks again for writing!

Benjamin

--

http://bigbluehat.com/

http://linkedin.com/in/benjaminyoung

________________________________
From: Richard Eckart de Castilho <[email protected]>
Sent: Wednesday, May 10, 2017 9:09:56 AM
To: [email protected]
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!

Cheers,

-- Richard

Reply via email to