function handleRssFeedXml(xml, status)
{
	var html = "";
	if (status == 0)
	{
		var items = new Array();
		var xmlItems = xml.getElementsByTagName("item");
		var xmlTitle = getNodeText(xml.getElementsByTagName("title"));
		document.getElementById("rssTitle").innerHTML = xmlTitle;
		for (var i = 0; i < xmlItems.length; i++)
		{
			var title = getNodeText(xmlItems[i].getElementsByTagName("title"));
			var link = getNodeText(xmlItems[i].getElementsByTagName("link")).replace(/\\/g, "\\\\");
			var desc = getNodeText(xmlItems[i].getElementsByTagName("description"));
			html += formatString(rssFeedItemTemplate, title, link, desc);
			if (i != xmlItems.length - 1) html += "<hr />";
		}
	} 
	else html = getLocaleString("rssFeedNotAvailable");
	var element = document.getElementById("rssContent");
	element.innerHTML = "<ul>" + html + "</ul>";
}
/**
* Parses the rss feed xml document.
*/
Parses the rss feed xml document.
Parses the rss feed xml document .
function handleRssFeedXml(xml, status)
{
	var html = "";
	if (status == 0)
	{
		var items = new Array();
		var xmlItems = xml.getElementsByTagName("item");
		var xmlTitle = getNodeText(xml.getElementsByTagName("title"));
		document.getElementById("rssTitle").innerHTML = xmlTitle;
		for (var i = 0; i < xmlItems.length; i++)
		{
			var title = getNodeText(xmlItems[i].getElementsByTagName("title"));
			var link = getNodeText(xmlItems[i].getElementsByTagName("link")).replace(/\\/g, "\\\\");
			var desc = getNodeText(xmlItems[i].getElementsByTagName("description"));
			html += formatString(rssFeedItemTemplate, title, link, desc);
			if (i != xmlItems.length - 1) html += "<hr />";
		}
	} 
	else html = getLocaleString("rssFeedNotAvailable");
	var element = document.getElementById("rssContent");
	element.innerHTML = "<ul>" + html + "</ul>";
}
function handleRssFeedXml ( xml , status ) { var html = "" ; if ( status == 0 ) { var items = new Array ( ) ; var xmlItems = xml . getElementsByTagName ( "item" ) ; var xmlTitle = getNodeText ( xml . getElementsByTagName ( "title" ) ) ; document . getElementById ( "rssTitle" ) . innerHTML = xmlTitle ; for ( var i = 0 ; i < xmlItems . length ; i ++ ) { var title = getNodeText ( xmlItems [ i ] . getElementsByTagName ( "title" ) ) ; var link = getNodeText ( xmlItems [ i ] . getElementsByTagName ( "link" ) ) . replace ( / \\ / g , "\\\\" ) ; var desc = getNodeText ( xmlItems [ i ] . getElementsByTagName ( "description" ) ) ; html += formatString ( rssFeedItemTemplate , title , link , desc ) ; if ( i != xmlItems . length - 1 ) html += "<hr />" ; } } else html = getLocaleString ( "rssFeedNotAvailable" ) ; var element = document . getElementById ( "rssContent" ) ; element . innerHTML = "<ul>" + html + "</ul>" ; }
Parses the rss feed xml document.
Parses the rss feed xml document .