Using YQL To Pull P2PU Feeds

HTML

<script src="https://github.com/jquery/jquery-tmpl/raw/master/jquery.tmpl.min.js"></script>
<script id="template" type="text/x-jquery-tmpl">
    <ul>
        <li>id: ${id}</li>
        <li>Name: ${Name}</li>
        <li>Rate: ${Rate}</li>
        <li>Date: ${Date}</li>
        <li>Time: ${Time}</li>
        <li>Ask: ${Ask}</li>
        <li>Bid: ${Bid}</li>
    </ul>
    <hr/>
</script>

<div id="info"></div>

JavaScript

var url="http://developer.yahoo.com/yql/console/?q=select%20*%20from%20yahoo.finance.xchange%20where%20pair%3D%22EURUSD%22&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys";

$.ajax({
 url: url,
 dataType: 'json',
 success: function(data) {
  //console.log(data);
  $("#template").tmpl(data.query.results.rate).appendTo("#info");
 }
});