Re: [OSM-talk] OpenLayers and Proxy (was :Relation/Routes and Hikes in open Country)

2008-06-26 Thread Tom Hughes
Frederik Ramm wrote:

> Someone talked to me about this at the LinuxTag. He was adamant that our 
> API should support JSON (in addition to XML) as a return data format. He 
> said that a JSON message would be valid JavaScript and thus it could be 
> loaded 

Re: [OSM-talk] OpenLayers and Proxy (was :Relation/Routes and Hikes in open Country)

2008-06-26 Thread Christopher Schmidt
On Thu, Jun 26, 2008 at 10:25:27PM +0200, Frederik Ramm wrote:
> Hi,
> 
> Thomas Wood wrote:
> > I think you're running into XSS limitations of browsers. You'll
> > probably need to proxy the request on the same domain thats hosting
> > the page.
> 
> Someone talked to me about this at the LinuxTag. He was adamant that our 
> API should support JSON (in addition to XML) as a return data format. He 
> said that a JSON message would be valid JavaScript and thus it could be 
> loaded 

Re: [OSM-talk] OpenLayers and Proxy (was :Relation/Routes and Hikes in open Country)

2008-06-26 Thread Frederik Ramm
Hi,

Thomas Wood wrote:
> I think you're running into XSS limitations of browsers. You'll
> probably need to proxy the request on the same domain thats hosting
> the page.

Someone talked to me about this at the LinuxTag. He was adamant that our 
API should support JSON (in addition to XML) as a return data format. He 
said that a JSON message would be valid JavaScript and thus it could be 
loaded