javascript读取RSS数据

2019-06-03 08:43:00王旭

   description=item.getElementsByTagName("description")[0];
   temp = temp + "<font size=-1><a href=" + link.firstChild.nodeValue+ " target='_bank'>" + title.firstChild.nodeValue +"</a></font><br><br>";
   //temp = temp +"<font size=-1>" + description.firstChild.nodeValue + "</font><br><br>";
   document.getElementById("container").innerHTML = temp;
  }
 }
 if (window.ActiveXObject)
  fetchxml()
 else if (typeof xmlDoc!="undefined")
  xmlDoc.onload=output
 </script>
</body>
</html>