Hi,
Good job. I suggest that you give each group their own webserver. Or use a CMS so each group can control its own destiny. Remember that you can easily host multiple web servers (one per group/department) on one physical server. Note that you can have the Javascript library on a different domain. The issue is that the original html page loaded by your users into the browser must have the same root domain name as the datafile loaded by the Timeline library. Usually this not a problem since the html file goes along with the datafile. There are some ways to work-around the same origin policy, but they are all messy and complicated to set up. Google for solutions if you wish to know more. Regards, Larry ________________________________ From: Ricardo Rodriguez <[email protected]> To: [email protected] Sent: Sunday, December 21, 2008 5:42:32 PM Subject: Re: entry level question Thanks, Harry, Moving the file to the same host and changing accordingly the URL works without a glitch. Being that way, I feel myself forced to keep kind of central repository for all data I am involved with. That's not our idea about how a group must work. We would like to delegate responsibility on database management on the groups that creating/curating them. Please, is not a way to get this while sticking with JavaScript? At least for using Simile software! Thanks. Best, Ricardo Larry Kluger wrote: Hi Ricardo, Welcome back to Timeline. The "Same origin policy" may be biting you: http://en.wikipedia.org/wiki/Same_origin_policy To use http://xen.net/docs/xml/monet.xml, your html file containing the Timeline must also be on http://xen.net/ Hope this helps, Larry ________________________________ From: Ricardo Rodriguez <[email protected]> To: [email protected] Sent: Sunday, December 21, 2008 5:06:05 AM Subject: entry level question Hi all, Some time ago I was playing with the nice Simile software and now I am trying to be back here. Thanks for all the great work done! I am using Monet example trying to discover how to move the monet.xml events file from the /monet directory to a remote server. As far as I can see, it must be so simple as to changing... tl.loadXML("monet.xml", function(xml, url) { eventSource.loadXML(xml, url); with, for instance... tl.loadXML("http://xen.net/docs/xml/monet.xml", function(xml, url) { eventSource.loadXML(xml, url); But this doesn't work even though http://xen.net/docs/xml/monet.xml is available. Please, could you help me with this isse? What am I missing? Thanks! Ricardo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
