Hi Robbie,
Unfortunately, you cannot load XML from another domain into Timeline, or
any AJAX-driven web application. This is a security measured
implemented in all browsers to prevent all sorts of nastiness from
occurring when Javascript is allowed to dynamically load anything it
wants from anywhere.
The only way to get around this for now is to host the XML on the same
domain/host as your blog.
Good luck!
~ Mason
Robbie wrote:
> Hi,
>
> Can I load the xml file to the timeline from an external source?
>
> I tested the timeline on my computer locally with
> *Timeline.loadXML("updates.xml", function(xml, url) {
> eventSource.loadXML(xml, url); });* every thing was ok.
>
> I want to put the timeline to my blogger so I modified the code a bit to
> load the xml file from my school ftp.
>
> * Timeline.loadXML("http://xxx.xxx.xxx/~xxxx/updates.xml",
> function(xml, url) { eventSource.loadXML(xml, url); });*
>
> But this time the events of the timeline don’t show up. Is there
> anything I did wrong?
>
>
>
> Regards,
>
> Robbie
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
--
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