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
Post a Comment