Chomp.init.feed = function(feed_ajax_url) {

    var timeago = $('#feed time.timeago');
    if(timeago.length > 0)
	    $('#feed time.timeago').timeago().data('initiated', true);
	    
    $('#more_feed:not(.disabled)').live('click', function() {
        var $this = $(this);
        var original_text = $this.text();
        $this.text('loading...');
        $.ajax({
            url: feed_ajax_url + before_id,
            type: 'get',
            dataType: 'json',
            complete: function() {
              $this.text(original_text);  
            },
            success: function(result) {
                if ($.browser.msie) {
                    // IE doesn't play well with appending unrecognized (HTML5) tags
                    $('#feed').html($('#feed').html() + result.feed);
                } else {
                    $('#feed').append(result.feed);
                }
                
                before_id = result.last_id;

                if(timeago.length > 0){
                    $('#feed time.timeago').filter(function(){
                        return ($(this).data('initiated') !== true);
                    }).timeago().data('initiated', true);
                }
                
                if (!result.more || result.more == -1) {
                    $('#more_feed').remove();
                    $('.private-review-count').css('display', 'block');
                } else {
                    $('#more_feed').removeClass('disabled');
                }
            },
            error: function() {
                // ruh roh
            }
        });
    });
}
