Date2sNode = b.selectNodes("//rss/channel/item/dc:date");
var listchar=""
//使用for循环,产生列表信息
for (i=0; i<a; i++)
{
titleV = trydata(titleNode(i))
linkV = trydata(linkNode(i))
categoryV = trydata(categoryNode(i),category2sNode(i))
authorV = trydata(authorNode(i),author2sNode(i))
pubDateV = trydata(pubDateNode(i),pubDate2sNode(i))
descriptionV = trydata(descriptionNode(i))
adminlinkV = trydata(adminlinkNode(0))
//将得到的元素值装载到产生表格的字符串中
listchar += "<h5><a href=''"+linkV+"'' target=''_blank''>"+titleV+"</a></h5><span>发表时间:"+pubDateV+"</span><div class=''article''>"+descriptionV+"</div><div class=''bottom''>文章分类:"+categoryV+" <a href=''"+adminlinkV+"'' target=''_blank''>作者:"+authorV+"</a></div>";
}
//将生成的表格输出到页面的DIV元素
getId("prolist").innerHTML = listchar;
listen("mainbg")
}
//浏览器回退部分
//重写IFREAM链接,浏览器回退重点
function saveState(message) {
var hisFrm = getId("historyFrame")
hisFrm.src = "blank.html?"+message
}
//检测IFREAM
window.dhtmlHistory = {
iframeLoaded:function(newLocation){
var hash = new String(newLocation.search)
if (hash.length >= 2 && hash.charAt(0) == "?" && hash.substring(1) !=delChar()){
hash = hash.substring(1)
window.location.hash = hash;
var hisFrmdata = loadrss(hash)
}
}
}
//浏览器链接指向部分
//去除符号,请注明http://www.cnrui.cn/blog转载
function delChar(){
var a = window.location.hash
return a.substring(1)
}
window.onload = function(){