Hi,

On Tue, Oct 13, 2009 at 12:00 PM, Quim <[email protected]> wrote:

> I search this forum in order to find code to use XML data directly
> without using a file.
> I saw a few posts but none of them post the code.
> I'm using an ASP.NET application where I get SQL Server data and I
> want to feed TimeLine without saving a XML file.
> How can I do it?
>

I generate the data on-the-fly using PHP - you can do the same with ASP. I
refer to the PHP as follows:

   tl = Timeline.create(document.getElementById("data-timeline"),
bandInfos);
   Timeline.loadJSON("genDataJSON.php", function(json, url) {
eventSource.loadJSON(json, url); });

There I have used JSON-encoded data but XML is fine too.

Steven.

--~--~---------~--~----~------------~-------~--~----~
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