topical media & game development
#javascript-code-04-extract.js / js
// We're going to iterate through each of the posts in the RSS feed
var items = rss.getElementsByTagName("item");
for ( var i = 0; i < items.length; i++ ) {
// Extract the title, description, and link from the rss feed <item> elements
var title = elem.getElementsByTagName("title")[0].firstChild.nodeValue;
var desc = elem.getElementsByTagName("description")[0].firstChild.nodeValue;
var link = elem.getElementsByTagName("link")[0].firstChild.nodeValue;
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.