$(document).ready(function(){
  
  $('.feedbin').each(function(){    
    // var content = '';
    //     content += '<ul>';
    //     
    //     $.getJSON('http://feedbin.torrez.org/process?url=' + $(this).attr('feed') + '&callback=?', function(data){
    //       entries = data.entries;
    //       content += '<h1>' + data.feed.title + '</h1>';
    //       $.each(entries, function(i,entry){
    //         content += '<li><a href="' + entry.link + '" target="_blank">' + entry.title + '</a></li>';
    //         if ( i == 9 ) return false;
    //       });
    //     });
    //     alert('s');
    //     content += '</ul>';
    //     $(this).html(content);
    
    var feedurl = 'feed.php?url=' + $(this).attr('feed');
    $(this).load(feedurl).animate({ height : 537 });
    
  });
});