hmm. alrighty thanks.
--- Simon Brooke <[EMAIL PROTECTED]> wrote:
> On Sunday 13 May 2007 17:27, Kent Gibson wrote:
> > Hiya Everyone,
> >
> > I have created a servlet that basically converts a
> > newsfeed into the format that the timeline
> expects. It
> > works fine (ie the xml is converted) but if try
> and
> > dynamically load the resulting xml it does not
> work.
> >
> > For example I would like to replace this line:
> >
> > Timeline.loadXML("out.xml", function(xml, url) {
> > eventSource.loadXML(xml, url); });
> >
> > With this line:
> >
>
Timeline.loadXML("http://www.syndicatescape.com/timeproviderservlet?u
> >rl=http://blogs.salon.com/0001092/rss.xml",
> function(xml, url) {
> > eventSource.loadXML(xml, url);
> > });
> >
> > Now note the server the html page is on is
> > bigblogzoo.com while the servlet is on
> > synidcatescape.com, could this be the problem?
>
> Yes, you basically can't do that. You must serve
> your XML from the same
> server as the HTML comes from, else the browser
> barfs. Why it prevents
> you loading XML from a third party site when it's
> happy loading
> JavaScript from a third party site I don't know.
>
> I've (just today) got what you want to do working
> nicely...
>
> Cheers
>
> Simon
>
> --
> [EMAIL PROTECTED] (Simon Brooke)
> http://www.jasmine.org.uk/~simon/
>
> ;; An enamorata is for life, not just for
> weekends.
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general