rssFeeds = function(url, destination, entryCount){
    $.jGFeed(url, function(feeds){
        if (!feeds) {
            return false;
        }
        
        var content = '<ul class="rss_feeds">';
        
        if (entryCount > feeds.entries.length) {
            entryCount = feeds.entries.length;
        }
        
        for (var i = 0; i < entryCount; i++) {
            content += '<li><a href="' + feeds.entries[i].link + '" target="_new">' + feeds.entries[i].title + '</a></li>';
        }
        
        content += '</ul>';
        destination.html(content);
    });
};
