[annotator-dev] setting up with js to use annotate store

Nick Stenning nick at whiteink.com
Wed Jun 20 16:56:45 UTC 2012

On 2012-06-20 12:51, adam hyde wrote:
> hi
> Heres the url:
> http://www.booki.cc/fiddling-while-rome-burns/_draft/_v/1.0/why-this-book-was-written/
> I can get the annotator working but it doesnt save to the annotateit store

Right. Well the very first thing I see when loading up that page with a
developer console enabled is this error:

  Uncaught ReferenceError: getAuthToken is not defined

You've copied code from the demo that references a function
"getAuthToken" but you haven't copied that function.

I would warn you (even though you've indicated that you're already aware
of this) that this is *not* the correct way to issue authTokens, it's
just a quick hack for the purposes of a demo. See the documentation at:



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20120620/b13ff5ba/attachment-0002.sig>

More information about the annotator-dev mailing list