I know it is not coming from SIMILE's code--I can get the Exhibit/
Timeline to function perfectly well as a stand alone webpage. I
recognize that it is a problem specific to Squarespace's architecture
which has some restrictions on the kind of scripting it allows, etc.

Specifically, placing that link command to retrieve the JSON data from
the converted Google spreadsheet is what is prompting the error in
their interface.

So with that being said, I am wondering if there is a work around.
That is:

1. Can the link command be placed somewhere other than the header?
2. Is there a way to convert the data on the Google spreadsheet into a
static JSON file that I can just upload? (I've tried a sample timeline
and it works with a static JSON file hosted on my own domain rather
than the external one from Google).  Toward this end, I've tried
several conversion methods found online to convert the spreadsheet
into a JSON-formatted file and they are all coming out with syntax
errors as it seems the way my data was entered in the spreadsheet for
a JSON broadcast is somewhat different (in terms of use of braces and
quotes, etc.)

Thanks for your earlier response. Hopefully you can shed some
additional light on this.

On Sep 19, 3:06 am, David Karger <[email protected]> wrote:
> the complaint "prefix ex: not bound" is not coming from our code; it
> suggests that something in your pipeline is trying to recognize a
> namespace---which would happen if the doc is being parsed as xml rather
> than html.
>
>
>
>
>
>
>
> On Monday, September 19, 2011 1:00:07 AM, Zaheer Ali wrote:
> > As I continue to tinker with this, the main problem seems to be the
> > link to the googlespreadsheet JSON feed. Based on everything I read,
> > Exhibit seems to require that the link to the data be in the header,
> > however, when I put my link in the header I get this error:
>
> > Could not parse your site header code. Are you inserting invalid XML?
> > Error: Error on line 13 of document : The prefix "ex" for attribute
> > "ex:converter" associated with an element type "link" is not bound.
> > Nested exception: The prefix "ex" for attribute "ex:converter"
> > associated with an element type "link" is not bound.
>
> > This is the code format that I'm trying to insert (outer brackets
> > removed for posting purposes):
>
> > link rel="exhibit/data" type="application/jsonp" href="http://
> > spreadsheets.google.com/feeds/list/kdkdk/od6/public/basic?alt=json-in-
> > script" ex:converter="googleSpreadsheets"></link
>
> > The timeline seems to work when it's loading a plain JSON file, but
> > all my data is in a google spreadsheet, and when I've tried to export
> > it, the result doesn't seem to work.
>
> > Any suggestions as to a workaround?
>
> > On Sep 18, 9:16 pm, Zaheer Ali<[email protected]>  wrote:
> >> Whoops I put the wrong URL for the timeline! Here is the correct 
> >> one:www.zaheerali.com/hiphop
>
> >> On Sep 18, 5:44 pm, Zaheer Ali<[email protected]>  wrote:
>
> >>> Has anyone had any lucking embedding an Exhibit/Timeline into the
> >>> Squarespace Content Management System?
>
> >>> Their advanced package allows for inserting Javascript code in the
> >>> header, but I'm not sure how much to put in the header and what to put
> >>> in the body. (The header does not accept links so my json spreadsheet
> >>> feed code doesn't work there.) Also I'm not sure their software
> >>> recognizes the Div ex: lens coding either.
>
> >>> Here is the Exhibit/Timeline I'm trying to embed into my Squarespace
> >>> site:www.zaheerali.com/timeline
>
> >>> I suppose if there is no way to do it, I could always work on dressing
> >>> up that page, but any assistance anyone can offer would be much
> >>> appreciated.  Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to