[annotator-dev] setting up with js to use annotate store
Ewald Zietsman
ewald at siyavula.com
Thu Jun 21 11:19:54 UTC 2012
Actually, they do show. There seems to be a bit of time required for
them to show.
On Thu, Jun 21, 2012 at 1:18 PM, Ewald Zietsman <ewald at siyavula.com> wrote:
> I made an annotation, reloaded the page. I can't see my annotation. I
> can see a bunch of other annotations though. Is that what you are
> referring to Adam?
>
> On Thu, Jun 21, 2012 at 12:12 PM, adam hyde <adam.hyde at sourcefabric.org> wrote:
>> ok i did this, i also tried it before and thought i had it wrong because the
>> behaviour was odd, but it could be a js conflict on my side. will look into
>> it
>>
>>
>> just in case however...it seems that all annotations are saved but not
>> loaded when you refresh the page...cant for the life of me see why not
>>
>> you can see it if you annotate anything in this page:
>> http://www.booki.cc/fiddling-while-rome-burns/_draft/_v/1.0/tumblr-as-exhibition-space/
>>
>> adam
>>
>>
>>
>>
>> On 06/21/2012 12:08 PM, Nick Stenning wrote:
>>>
>>> On 21 Jun 2012, at 09:15, Rufus Pollock<rufus.pollock at okfn.org> wrote:
>>>
>>>> On 20 June 2012 22:54, Nick Stenning<nick at whiteink.com> wrote:
>>>>>
>>>>>
>>>>> Really, I think you're making this far more complicated than it needs to
>>>>> be by including the demo code. If you want AnnotateIt users to be able
>>>>> to annotate your document, it's two lines of code:
>>>>>
>>>>> $('.content').annotator()
>>>>> .annotator('setupPlugins');
>>>>>
>>>>> If you want to use your own users, then it's four lines of code:
>>>>>
>>>>> $('.content').annotator()
>>>>> .annotator('setupPlugins', {
>>>>> tokenUrl: 'http://example.com/getToken'
>>>>> });
>>>>>
>>>>> Just take the time to implement the token endpoint (something you'll
>>>>> have to do anyway -- as including the consumer key in the front-end is a
>>>>> big no-go) and all these problems will go away, I promise =).
>>>>
>>>>
>>>> Isn't it also possible just to have users log in to annotateit and
>>>> then you don't need this token endpoint?
>>>
>>>
>>> Yes. As I explain in the email above.
>>>
>>> -N
>>
>>
>> _______________________________________________
>> annotator-dev mailing list
>> annotator-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/annotator-dev
>
>
>
> --
> Ewald Zietsman
>
> Technical Coordinator
>
>
>
> Website: www.siyavula.com
> The Open Innovation Studio, 27 Buitenkant Street, Cape Town, 8001
--
Ewald Zietsman
Technical Coordinator
Website: www.siyavula.com
The Open Innovation Studio, 27 Buitenkant Street, Cape Town, 8001
More information about the annotator-dev
mailing list