old_contents: 
  !(function()
  {
    var goo = {};
    goo.searchGoo = function(query)
    {
      d3.json('/api/goo/search?' + Object.keys(query).reduce(function(a,k){a.push(k+'='+encodeURIComponent(query[k]));return a},[]).join('&'), function(err,dat)
      {
        if (err != null)
        {
          return;
        }
        d3.select('div#goo ul').selectAll('li').remove();
        var lis = d3.select('div#goo ul')
          .selectAll('li')
          .data(dat.items)
          .enter().append('li')
          .on('click', function(d)
          {
            d3.event.preventDefault();
            d3.select(this)
              .select('span')
              .text(function(d){return d.body;});
          });
        lis.append('div')
          .style('background-color', '‪#‎91c3c9‬')
          .append('a').text(function(d){return d.title;}).attr('href','#');
        lis.append('span');
      });
    }
    if (typeof define === "function" && define.amd) define(goo); else if (typeof module === "object" && module.exports) module.exports = goo;
    this.goo = goo;
  }());
  
new_contents: 
  !(function()
  {
    var goo = {};
    goo.searchGoo = function(query)
    {
      d3.json('/api/goo/search?' + Object.keys(query).reduce(function(a,k){a.push(k+'='+encodeURIComponent(query[k]));return a},[]).join('&'), function(err,dat)
      {
        if (err != null)
        {
          return;
        }
        d3.select('div#goo ul').selectAll('li').remove();
        var lis = d3.select('div#goo ul')
          .selectAll('li')
          .data(dat.items)
          .enter().append('li')
          .on('click', function(d)
          {
            d3.event.preventDefault();
            d3.select(this)
              .select('span')
              .append('a')
              .text(function(d){return d.body;})
              .attr('href','http://oshiete.goo.ne.jp/qa/' + function(d){return d.question_id;} + '.html');
          });
        lis.append('div')
          .style('background-color', '‪#‎91c3c9‬')
          .append('a').text(function(d){return d.title;}).attr('href','#');
        lis.append('span');
      });
    }
    if (typeof define === "function" && define.amd) define(goo); else if (typeof module === "object" && module.exports) module.exports = goo;
    this.goo = goo;
  }());
  
subject: add link for oshiete goo