Return to Snippet

Revision: 28355
at July 7, 2010 06:05 by baires


Initial Code
<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>

Initial URL
http://rigtorp.se/2010/03/14/yahoo-pipes-jquery.html

Initial Description

                                

Initial Title
Using jQuery to display a Yahoo! Pipe

Initial Tags
jquery

Initial Language
JavaScript