/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $.getJSON("http://pipes.yahoo.com/pipes/pipe.run?_id=PIPEID&\ _render=json&_callback=?", function(data) { $.each(data.value.items, function(i, item) { $('#items').append('<li><a href="' + item.link + '">' + item.title + '</a></li>'); }); }); }); </script> <ul id="items"> </ul>
URL: http://rigtorp.se/2010/03/14/yahoo-pipes-jquery.html