On 20-Feb-2013, at 1:43 AM, Roy Hashimoto wrote:
> On Fri, Feb 15, 2013 at 8:15 AM, Roy Hashimoto <[email protected]>
> wrote:
>> Is there a way to get a JSONP wrapper on list data? I've tried the
>> 'callback=foo' parameter but that doesn't seem to work as it does for
>> the rest of the API:
JSONP support should be there for lists API. That allows displaying lists on
other web pages. I'll try to add it soon.
> Answering my own question, the query API seems to work:
>
> $ curl
> 'http://openlibrary.org/query.json?key=/people/george08/lists/OL97L&*=&callback=foo'
> foo([{"description": {"type": "/type/text", "value": "Happy to lose
> myself in reading about that."}, "last_modified": {"type":
> "/type/datetime", "value": "2010-12-17T18:54:58.115370"}, "created":
> {"type": "/type/datetime", "value": "2010-12-17T18:50:35.064318"},
> "seeds": [{"key": "/books/OL24331810M"}, {"key":
> "/books/OL22864669M"}, {"key": "/books/OL7219307M"},
> "subject:general_relativity_(physics)",
> "subject:space_and_time_in_fiction"], "latest_revision": 5, "key":
> "/people/george08/lists/OL97L", "revision": 5, "type": {"key":
> "/type/list"}, "name": "Time Travel"}]);
>
> Still interested in hearing if there are plans for CORS support.
No plans for supporting it as of now.
> And
> are there any archives for this list? The link
> http://mail.archive.org/cgi-bin/mailman/private/ol-tech/ only shows
> one message from 2010.
http://www.mail-archive.com/[email protected]/
Anand_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
To unsubscribe from this mailing list, send email to
[email protected]