mcashatt Posted March 18, 2010 Share Posted March 18, 2010 Hello, I am struggling with something that I thought would be simple: I can pull xml data from wikipedia like so (using "Paris Hilton" as an example): http://en.wikipedia.org/w/api.php?action=opensearch&search=paris%20hilton&format=xml&limit=1 However, I can't seem to consume this xml via standard AJAX functions (please see attached). The attached HTML has javascript that should simply show an alert modal with the responseText. This works when I use local xml files, but not for the wikipedia data. Any help would be greatly appreciated. Thanks! Matt [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/195737-consuming-xml-data-from-wikipedia-api-with-javascript/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.