Cross domain AJAX requests using YQL
Posted
by nav
on Stack Overflow
See other posts from Stack Overflow
or by nav
Published on 2010-03-17T16:48:07Z
Indexed on
2010/03/18
11:11 UTC
Read the original article
Hit count: 613
Hi ,
I need to query a locations WOEID and grab the WOEID value from the xml returned. So the user would type e.g. London, UK and I need to load the query as below:
http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%20%3D%20%22London%2C%20UK%2C%20UK%22&format=xml
After which I need to grab the WOEID value from the XML content returned. I know this can be done when HTML content is returned as this link shows - http://ajaxian.com/archives/using-yql-as-a-proxy-for-cross-domain-ajax
Is there a way to use similar code to query the XML data returned?
Thanks alot
© Stack Overflow or respective owner