Josh Aresty wrote:
> Hi all,
> I'm having some trouble getting my Exhibit to load, and while doing
> some research I came across another Exhibit that showed the same error
> (in Firebug). It says missing; before statement on line 1. Is it
> just a coincidence that http://onesteprevolution.com/ex/index2.html
> and http://llarc.mit.edu/kansai/ch6/dev/index.html show the same
> error, or is there a bug in Exhibit 2.0's Google Spreadsheets
> importer? We're not using exactly the same tree - I'm linked to
> http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js, and the
> other Exhibit is linked to
> http://simile.mit.edu/repository/exhibit/branches/2.0/src/webapp/api/exhibit-api.js.
> If it's not an Exhibit bug, can anyone afford to take a peek at my
> Exhibit (http://llarc.mit.edu/kansai/ch6/dev/index.html) and let me
> know what's wrong with it?
>
> The data links are at the top of the Exhibit - in case you want to
> look at the spreadsheets.
>
It seems like the feed URL is missing this:
?alt=json-in-script
Johan, any thought?
FYI, this was how I debugged it: after loading your page, I opened up
FireBug, switched over to the HTML tab, expanded html->head and checked
those <script> tags. The last one looks like this:
<script
onerror="Exhibit.JSONPImporter._callbacks.cb1_fail('http://spreadsheets.google.com/feeds/list/o16822860793910090306.3099577506476790595/od6/public/basic?callback=Exhibit.JSONPImporter._callbacks.cb1');"
type="text/javascript"
src="http://spreadsheets.google.com/feeds/list/o16822860793910090306.3099577506476790595/od6/public/basic?callback=Exhibit.JSONPImporter._callbacks.cb1">
Then I opened up that URL in the src attribute, i.e.,
http://spreadsheets.google.com/feeds/list/o16822860793910090306.3099577506476790595/od6/public/basic?callback=Exhibit.JSONPImporter._callbacks.cb1
which gave me some XML instead of some JSONP.
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general