        
            google.load("feeds", "1");
            function initialize(){
                init("http://feedblog.ameba.jp/rss/ameblo/michiyo-style/rss20.xml","ivy_contents","15"); // アメブロ
            }
            function init(feedurl,obj,feedmax) {
                var feed = new google.feeds.Feed(feedurl);
                feed.setNumEntries(feedmax);
                feed.setResultFormat(google.feeds.Feed.XML_FORMAT);
                feed.load(function(result) {
                    var container = document.getElementById(obj);

                    //var h2 = document.createElement("h2");
                    //h2.appendChild(document.createTextNode(result.xmlDocument.getElementsByTagName("title")[0].firstChild.nodeValue));
                    //container.appendChild(h2);

                    var dl = document.createElement("dl");
                    container.appendChild(dl);
                    if (!result.error) {
                        var items = result.xmlDocument.getElementsByTagName("item");
                        var j=0;
                        for (var i = 0; i < items.length; i++) {

                            //タイトル取得
                            var titleElement = items[i].getElementsByTagName("title")[0];
                            var title = titleElement.firstChild.nodeValue;
                            
                            //PRチェック
                            if(title.slice(0, 3)!="PR:"){
                                //3件分カウント
                                if(j<3){
                                    j++;
                                    //日付取得・加工・表示
                                    var pubDateElement = items[i].getElementsByTagName("pubDate")[0];
                                    var pubDate = pubDateElement.firstChild.nodeValue;

                                    var Dt = new Date(pubDate);
                                    var year = Dt.getFullYear();
                                    var month = Dt.getMonth()+1;
                                    if(month < 10){
                                    	month = "0" + month;
                                    }
                                    var date = Dt.getDate()
                                    if(date < 10){
                                    	date = "0" + date;
                                    }
                                    
                                    document.getElementById("content"+ j).innerHTML = year+"."+month+"."+date
                                    
                                    //リンク取得・表示
                                    var linkElement = items[i].getElementsByTagName("link")[0];
                                    var link = linkElement.firstChild.nodeValue;
                                    document.getElementById("a" + j).setAttribute("href", link);

                                    //タイトル表示
                                    document.getElementById("a"+ j).innerHTML = title;
                                }
                            }
                        }
                    }else{
                        container.appendChild(document.createTextNode(url));
                    }
                });
            }
            google.setOnLoadCallback(initialize);
