On 5/4/07, David Navarro Arnao <[EMAIL PROTECTED]> wrote:
> Hello,
>
>   Can Exhibit read remote files instead of local files?. For example:
>
> <link href="http://simile.mit.edu/exhibit/examples/nobelists/nobelists.js"; 
> type="application/json" rel="exhibit/data" />

Not pure json files, but it does handle jsonp files or services,
especially in the forthcoming exhibit 2.0 api. Then it looks like
this:

<link href="http://remote.site/nobelists.jsonp";
type="application/jsonp" rel="exhibit/data" jsonp-callback="foo" />

Then prepend "foo(" to the json file and append a ")" at the end
(changing extension isn't necessary; feel free to keep calling it
.js).

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

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

Reply via email to