Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.29 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.29 KB

Web Annotation Protocol on CouchDB

Apache CouchDB's HTTP API is quite similar to the Web Annotation Protocol except the later is specific to Annotation.

This project closes the loop by providing a set of CouchApp functions (_update, _show, etc) that add the remaining Web Annotation Protocol specific semantics.

Usage

  1. npm install && npm install -g gulp
  2. Copy config.json.sample to config.json
  3. Change config.json to match your setup.
  4. gulp (or only gulp apps or gulp docs)
  5. Send Web Annotation Protocol requests to the URL you set in config.json plus _design/anno/_rewrite/
  6. (optional) Setup a Virtual Host to make the URL above prettier.

Sample Requests

Assuming your setup matches mine 😺

License

Apache License 2.0