javascript - how to retrieve xml from rss url using js ( jquery) -


how can use .ajax request in jquery retrieve xml data link:

http://open.live.bbc.co.uk/weather/feeds/en/2643743/3dayforecast.rss

with data being assigned variable string:

var xml = '';

you can't!

javascript has same origin policy, , service not seem support cors, , it's xml, jsonp isn't option.

you'll have on serverside, , ajax call own webserver or use yql or similar.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -