Hi Danny,

Sorry I haven't jumped in on this discussion yet; I've been kinda 
swamped with coursework recently :)

> I forgot to mention earlier that I'm using XML data with Timegrid -
> I'd already started the XSLT before I saw the JSON examples. So the
> first question is how do I say the dates are ISO?

The way you have it now should work just fine, but there's another 
problem that's keeping the Timegrid from working...

> The data I've got right now looks like this:
> 
> <data xmlns:xs="http://www.w3.org/2001/XMLSchema#";
>       wiki-url="http://simile.mit.edu/shelf/";
>       wiki-section="Simile JFK Timeline"
>       dateTimeFormat="iso8601">
>    <event start="2007-09-26T09:40:32+01:00" title="make executable jar "
>           isDuration="False">
> // some text
> </event>
> ...
> 
> it's live at : http://tinyurl.com/yuff5v

Since your data is living on a separate host from Timegrid, cross-site 
scripting prevention keeps the browser from fetching the file.  The only 
way around this (currently) is to move the data onto your 
danja.talis.com host.

> (btw, there's an absolute reference to a static.simile url - the ajax
> kit - in timegrid-api.js)

This is actually intentional; Timegrid is written so that people can 
include the timegrid-api.js from anywhere (even the Simile Static 
server) and have it run, without having to download any JS files at all. 
  Otherwise, since Timegrid has dependencies on SimileAjax, you'd have 
to provide your own SimileAjax copy somewhere and point timegrid-api.js 
to that.

Let me know if you run into any more questions/problems; I'm very 
excited to see people start using my (admittedly quite incomplete) 
project :)

Cheers!
~ Mason

-- 
Mason Tang '10
Course 6-3 Computer Science
UA Chief of Information Technology

Address:   Burton-Conner 224A
            410 Memorial Dr.
            Cambridge, MA 02139
E-mail:    [EMAIL PROTECTED]
Cellphone: 508-414-5811
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to