#code google feed RSS script html # **code google feed RSS script php** <code html> <script src="http://www.google.com/jsapi?key=AIzaSyA5m1Nc8ws2BbmPRwKu5gFradvD_hgq6G0" type="text/javascript"></script> <script type="text/javascript"> /* * How to load a feed via the Feeds API. */ google.load("feeds", "1"); // Our callback function, for when a feed is loaded. function feedLoaded(result) { if (!result.error) { // Grab the container we will put the results into var container = document.getElementById("content"); container.innerHTML = ''; // Loop through the feeds, putting the titles onto the page. // Check out the result object for a list of properties returned in each entry. // http://code.google.com/apis/ajaxfeeds/documentation/reference.html#JSON for (var i = 0; i < result.feed.entries.length; i++) { var entry = result.feed.entries[i]; var div = document.createElement("div"); div.appendChild(document.createTextNode(entry.title)); container.appendChild(div); } } } function OnLoad() { // Create a feed instance that will grab Digg's feed. var feed = new google.feeds.Feed("http://echosystem.fr/wiki/feed.php"); // Calling load sends the request off. It requires a callback function. feed.load(feedLoaded); } google.setOnLoadCallback(OnLoad); </script> </head> <body style="font-family: Arial;border: 0 none;"> <div id="content">Loading...</div> </body> </code>