// JavaScript Document
    google.load("feeds", "1");
    function initialize() {
       var feed = new google.feeds.Feed("http://pipes.yahoo.com/pipes/pipe.run?_id=31ce700e755e719cb01e5a9aea526320&_render=rss&feed=http://feedblog.ameba.jp/rss/ameblo/yamashowten/rss20.xml");
       feed.setNumEntries(3);
       feed.load(function(result) {
       var container = document.getElementById("rss_feed_lite");
        if (!result.error) {
            // Xbrowser
            var cls = "class";
            if(/*@cc_on!@*/false){ cls = "className" };
	var h2 = document.createElement("li");
		h2.className = "rss_title";
	var h2link = document.createElement("a");
	h2link.setAttribute("href", result.feed.link);
	h2link.appendChild(document.createTextNode(result.feed.title));
	h2.appendChild(h2link);
	container.appendChild(h2);
          for (var i = 0; i < result.feed.entries.length; i++) {
            var entry = result.feed.entries[i];
            // make dt element with link for item title
            var dt = document.createElement("li");
			dt.className = "rss_item_title";
            // make link text for item title
            var link = document.createElement("a");
            link.setAttribute("href", entry.link);
			var date = new Date(entry.publishedDate);
			var hours = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
			var minutes = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
			var mon = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
			var dat = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
            link.appendChild(document.createTextNode(mon+"/"+dat+" "+hours+":"+minutes+"> " + entry.title));
            dt.appendChild(link);
            container.appendChild(dt);
          }
        } else {
			container.appendChild(document.createTextNode("Sorry! feedが読込めませんでした。feedのURLが正しいか、feedのフォーマットが正しいかをご確認下さい。"));
		}
      });
    }
    google.setOnLoadCallback(initialize);

