<commit_before>- real_page = page["real_page"]
.col-md-6
  .well
    %h2 Latest news
    #feed
      .text-center
      %i.icon-refresh.icon-spin.icon-4x
    %a{:href => "http://jbossts.blogspot.com"} More news

    %script{ :type => 'text/javascript', :src => 'https://www.google.com/jsapi'}
    -# Uses Google Feed API to load blog.infinispan.org feed and replace the DOM elements
    :javascript
      google.load("feeds", "1");

      function initialize() {
        var feed = new google.feeds.Feed("http://feeds.feedburner.com/Infinispan?format=xml");
        feed.setNumEntries(4);
        feed.load(function(result) {
          if (!result.error) {
            var feedDiv = $('#feed');
            feedDiv.empty();
            for (var i = 0; i < result.feed.entries.length; i++) {
              var entry = result.feed.entries[i];
              var entryDate = new Date(entry.publishedDate);
              var date_string =
                entryDate.getFullYear() + '-'
                + ('0' + entryDate.getDate()).slice(-2) + '-'
                + ('0' + (entryDate.getMonth()+1)).slice(-2);
              feedDiv.append(
                $('<div class="news"/>').append(
                  $('<h5/>').text(entry.title)
                ).append(
                  $('<small/>').text(date_string)
                ).append(
                  $('<p/>').text(entry.contentSnippet).append(
                    ' <a href="' + entry.link + '">more</a>'<commit_msg>Added narayana block to home page<commit_after>- real_page = page["real_page"]
.col-md-6
  .well
    %h2 Latest news
    #feed
      .text-center
      %i.icon-refresh.icon-spin.icon-4x
    %a{:href => "http://jbossts.blogspot.com"} More news

    %script{ :type => 'text/javascript', :src => 'https://www.google.com/jsapi'}
    -# Uses Google Feed API to load blog.infinispan.org feed and replace the DOM elements
    :javascript
      google.load("feeds", "1");

      function initialize() {
        var feed = new google.feeds.Feed("http://jbossts.blogspot.com/feeds/posts/default");
        feed.setNumEntries(4);
        feed.load(function(result) {
          if (!result.error) {
            var feedDiv = $('#feed');
            feedDiv.empty();
            for (var i = 0; i < result.feed.entries.length; i++) {
              var entry = result.feed.entries[i];
              var entryDate = new Date(entry.publishedDate);
              var date_string =
                entryDate.getFullYear() + '-'
                + ('0' + entryDate.getDate()).slice(-2) + '-'
                + ('0' + (entryDate.getMonth()+1)).slice(-2);
              feedDiv.append(
                $('<div class="news"/>').append(
                  $('<h5/>').text(entry.title)
                ).append(
                  $('<small/>').text(date_string)
                ).append(
                  $('<p/>').text(entry.contentSnippet).append(
                    ' <a href="' + entry.link + '">more</a>'
{'fraction_non_alphanumeric': 0.17276422764227642, 'fraction_numerical': 0.008130081300813009, 'mean_word_length': 1.7858490566037737, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, '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': '5501660', 'n_tokens_mistral': 921, 'n_tokens_neox': 880, 'n_words': 170}