Jquery XML Parse URL Issue -
Jquery XML Parse URL Issue -
i have been trying pull in names of albums picasa using jquery xml parser. when utilize "https://picasaweb.google.com" link function doesn't work. clues doing wrong?
<script> $(document).ready(function() { $.ajax({ type: "get", url: "https://picasaweb.google.com/data/feed/api/user/userid?kind=album&access=visible", datatype: "xml", success: parsexml }); }); function parsexml(xml) { $(xml).find('entry').each(function() { $("#output").append($(this).find('title').text() + "<br />"); }); } </script> <div id="output"></div>
you can cross domain requests (if server supports it)
setting crossdomain:true (added in jquery 1.5)
and/or
by setting datatype:'jsonp'
or else can create server side proxy can ajax request proxy in turn info web service , retyrn response
see reply creating , getting info in php jquery.ajax() parsererror
jquery xml picasa
Comments
Post a Comment