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

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -