On 4/10/07, David Huynh <[EMAIL PROTECTED]> wrote:
> > [...] or is there a bug in Exhibit 2.0's Google Spreadsheets
> > importer? [...]
>
> It seems like the feed URL is missing this:
>
>     ?alt=json-in-script
>
> Johan, any thought?

Yes, that's it. With the 2.0 API, you link Google Spreadsheets
datasets using a tag like this:

<link rel="exhibit/data" type="application/jsonp"
converter="GoogleSpreadsheets"
href="http://spreadsheets.google.com/feeds/list/o06555924768516064520.2669035378648823870/od6/public/basic?alt=json-in-script";
/>

The full example that is fetched from is here:
http://exhibit.ecmanaut.googlepages.com/cv.html

With the move to the 2.0 API, input support was generalized to
pointing a data URL in a format Exhibit can consume (for remote sites,
meaning only JSONP), and specifying a data format converter that makes
that JSON Exhibit JSON, when such conversion is needed. It doesn't do
any URL conversion the way the 1.0 API loadGoogleSpreadsheetsData
method did, though.

(Except adding its own JSONP callback argument.)

Setting up a 2.0 part of the wiki to gather info like this would be
welcome help from someone with a moment to spare for contributing to
Exhibit.

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to