[annotator-dev] Annotator store flask

johnny jiang johnny.nan.jiang at gmail.com
Tue May 1 21:28:12 UTC 2012


Hi Andrew,

Sure thing.

I'm in progress of setting up an online demo, then hopefully we can have a
talk based on the demo. Actually I had an online demo before but just need
to set it up again as I moved to another VPS.

Look forward to talking to you guys.

Kind regards,
Johnny


On Tue, May 1, 2012 at 10:37 PM, Andrew Magliozzi <andrew at finalsclub.org>wrote:

> Okay Johnny,
>
> Coordinating a meeting across four continents is pretty difficult to
> schedule. Please let us know if there is anything you'd like us to share or
> demo to the group.
>
> Otherwise, perhaps me, you, and Nick can chat separately.
>
> Thanks,
> Andrew
>
>
>
>
> On Apr 30, 2012, at 11:42 PM, johnny jiang <johnny.nan.jiang at gmail.com>
> wrote:
>
> Sorry I think I was wrong, it is Friday, 18 May 2012 at 3:00:00 AM, and it
> is too early to me. Happy to see minutes or documents about it.
>
> On Tue, May 1, 2012 at 8:44 AM, Andrew - FinalsClub <andrew at finalsclub.org
> > wrote:
>
>> Hi Johnny,
>>
>> That's great news about the Yuma-js work you're doing.  Simon Rainer from
>> yuma is likely going to join our next community call.  I'll send an email
>> confirming the time after this, but the plan is May 17th at 5pm GMT.
>>  Hopefully you can make it as well.
>>
>> Cheers,
>> Andrew
>>
>>
>>
>> On Apr 30, 2012, at 10:49 AM, Rufus Pollock <rufus.pollock at okfn.org>
>> wrote:
>>
>> > On 30 April 2012 11:54, johnny jiang <johnny.nan.jiang at gmail.com>
>> wrote:
>> >> Thanks Nick, I've modified store.py to allow all the headers
>> (including the
>> >> old ones), just to get it working first.
>> >>
>> >> What I'm trying to do is to integrate the annotator with Wordpress,
>> >> especially the authentication bit, permission is next step, followed
>> by yuma
>> >
>> > That's fantastic. Would you be able to submit a patch to the existing
>> > wordpress plugin for annotator:
>> >
>> > <http://github.com/okfn/annotator-wordpress>
>> >
>> >> (image annotator) as I'm looking at the possibility to integration
>> both the
>> >> annotator and yuma with Wordpress.
>> >
>> > Great :-)
>> >
>> > Rufus
>> >
>> >> Will let you know of any progress, thanks for your help.
>> >>
>> >> Kind regards,
>> >> Johnny
>> >>
>> >>
>> >> On Mon, Apr 30, 2012 at 2:36 AM, Nick Stenning <nick at whiteink.com>
>> wrote:
>> >>>
>> >>> On Sat, Apr 28, 2012 at 06:39, johnny jiang <
>> johnny.nan.jiang at gmail.com>
>> >>> wrote:
>> >>>>
>> >>>> XMLHttpRequest cannot load http://www.cxware.net:5000/annotations.
>> >>>> Request
>> >>>> header field x-annotator-auth-token-issue-time is not allowed by
>> >>>> Access-Control-Allow-Headers.
>> >>>
>> >>> Hi Johnny,
>> >>>
>> >>> This is a Cross-Origin Resource Sharing (CORS) error. Annotator uses
>> >>> CORS in order to be able to communicate with the backend across
>> >>> domains.
>> >>>
>> >>> In particular, this error implies that your backend isn't sending the
>> >>> headers it needs to in order to let the browser know that the
>> >>> cross-origin requests it's making are allowed. You can find out which
>> >>> headers you need to set by looking at the `after_request` hook in the
>> >>> reference annotator-store:
>> >>>
>> >>>
>> >>>
>> https://github.com/okfn/annotator-store/blob/master/annotator/store.py#L29
>> >>>
>> >>> That said, from the looks of your error, you may well be sending the
>> >>> right headers at the backend but using an outdated version of the
>> >>> Annotator Auth plugin. Support for the
>> >>> "X-Annotator-Auth-Token-Issue-Time" header was removed in version
>> >>> 0.7.0 of the Annotator Store and version 1.2.0 of the Annotator.
>> >>>
>> >>> Hope that sets you off in the right direction.
>> >>>
>> >>> Best wishes,
>> >>> Nick
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> annotator-dev mailing list
>> >> annotator-dev at lists.okfn.org
>> >> http://lists.okfn.org/mailman/listinfo/annotator-dev
>> >>
>> >
>> >
>> >
>> > --
>> > Co-Founder, Open Knowledge Foundation
>> > Promoting Open Knowledge in a Digital Age
>> > http://www.okfn.org/ - http://blog.okfn.org/
>> >
>> > _______________________________________________
>> > annotator-dev mailing list
>> > annotator-dev at lists.okfn.org
>> > http://lists.okfn.org/mailman/listinfo/annotator-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20120502/0212b116/attachment-0002.html>


More information about the annotator-dev mailing list