<script id="template" type="text/x-jquery-tmpl"> <a href="${link.href}" target="_blank">${title.content}</a> <br/>${$(content.content).html()} <br/><b>Updated: ${updated}</b><br/> <hr/> </script> <div id="info"></div>
var url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20atom%20where%20url%3D'http%3A%2F%2Fp2pu.uservoice.com%2Fforums%2F84091-course-suggestions.atom'&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=?"; $.ajax({ url: url, dataType: 'json', success: function(data) { //console.log(data); $("#template").tmpl(data.query.results.entry).appendTo("#info"); } });