bengibaykal / swe574group1

2 stars 2 forks source link

Week 6 - Web Annotations Implementation Research #37

Closed bengibaykal closed 4 years ago

bengibaykal commented 4 years ago

W3C Web Annotations Standards will be used for annotating text and image from webpages. I should be:

  1. Web based architecture and annotation server will work separately.
bengibaykal commented 4 years ago

What are the tools available to implement Web Annotation?

Annotator is an open-source JavaScript library that can be added to any website and thus enable annotations on it. Annotator can also be extended with plugins.

Annotorious is one such plugin for image annotation. Annotator is being used in many projects: Hypothes.is, Harvard's Open Video Annotation Project, EdX, MIT's Annotation Studio, WritingPod, Crunched Book and many more.

Hypothesis is based on Annotator and is also open source. While Annotator used to store annotations at annotateit.org, this service closed in March 2017. Hypothesis is also a service that stores annotations but you can deploy your own servers instead.

Pundit Annotator is based on AngularJS. It comes with open source client code. You can be download and install the server code.

bengibaykal commented 4 years ago

How to save annotations to the server?

Store plugin This plugin sends annotations (serialised as JSON) to the server at key events broadcast by the annotator.

Actions The following actions are performed by the annotator.

create: POSTs an annotation (serialised as JSON) to the server. Called when the annotator publishes the “annotationCreated” event. The annotation is updated with any data (such as a newly created id) returned from the server.

update: PUTs an annotation (serialised as JSON) on the server under its id. Called when the annotator publishes the “annotationUpdated” event. The annotation is updated with any data (such as a newly created id) returned from the server.

destroy: Issues a DELETE request to server for the annotation. search: GETs all annotations relevant to the query. Should return a JSON object with a rows property containing an array of annotations.

bengibaykal commented 4 years ago

Web annotation server will be received the data as JSONLD format. In the page there needs to be specific selector for the exact information , image or text.