[annotator-dev] annotator2/master storage configuration

andrew simpson andrew10961 at gmail.com
Mon Jan 26 03:06:00 UTC 2015


I've been trying to look through example HTML files and storage.js
implementation for details of how to specify a remote storage service
for annotator2 (master), but haven't found a clear one yet.

I can see this in dev.html, but so far seen nothing that corresponds to
endpoint configuration - is this available?

      var Annotator = require('annotator'),
      elem = document.getElementById('airlock'),
      anno = new Annotator(elem);
      anno.addPlugin(Annotator.Plugin.Filter());
      anno.setStorage(Annotator.Storage.DebugStorage);

Thanks...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20150126/a32c2143/attachment-0003.html>


More information about the annotator-dev mailing list