<commit_before>$.ajax({
        dataType: 'jsonp',
        url:'http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=30&output=json&q=http://www.reddit.com/r/humanitarianIM/new/.rss',
        success: function(data){
            console.log(data);
            constructFeed(data.responseData.feed.entries);
        },
        error: function(error){
            console.log(error);
        }
});

function constructFeed(entries){
    var html = '<div class="timetitle">This week</div><div class="nomargin row">';
    var lastWeekFlag = false;
    var beforeFlag = false;
    var today = new Date();
    entries.forEach(function(e){
        if(!lastWeekFlag){
            if(new Date(today.getFullYear(), today.getMonth(), today.getDate() - 7)>new Date(e.publishedDate)){
                lastWeekFlag = true;<commit_msg>Change feed to include more items<commit_after>$.ajax({
        dataType: 'jsonp',
        url:'http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=30&output=json&q=http://www.reddit.com/r/HumanitarianIM/new/.rss?limit=50',
        success: function(data){
            console.log(data);
            constructFeed(data.responseData.feed.entries);
        },
        error: function(error){
            console.log(error);
        }
});

function constructFeed(entries){
    var html = '<div class="timetitle">This week</div><div class="nomargin row">';
    var lastWeekFlag = false;
    var beforeFlag = false;
    var today = new Date();
    entries.forEach(function(e){
        if(!lastWeekFlag){
            if(new Date(today.getFullYear(), today.getMonth(), today.getDate() - 7)>new Date(e.publishedDate)){
                lastWeekFlag = true;
{'fraction_non_alphanumeric': 0.1568627450980392, 'fraction_numerical': 0.0071301247771836, 'mean_word_length': 2.7757847533632285, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3981179', 'n_tokens_mistral': 516, 'n_tokens_neox': 504, 'n_words': 84}