After a couple of attempts trying different combinations, I hit upon the following approach:
$(document).ready(function(){ $.ajax({ type: "GET", url: "http://’+document.domain+’/rss.php?action=featuredproducts&type=atom", dataType: "text", success: function(xml){ //console.log(xml); $(xml).find('entry').each(function(i){ //console.log(this); var link=$(this).find('id').text(); var title=$(this).find('title').text(). var description=$(this).find('isc\\:description').html().toString(). ..................... }); }, error: function() { pData='An error occurred while processing XML file.'; $('.ProductList').append(pData); } }); });
Image may be NSFW.
Clik here to view.

Clik here to view.
