« 《金刚经》白话译文 ---圆觉 翻译 转帖:【安全幻想曲2008】 »

下一步,向blog里增加rss阅读

 
<%
dim xmlDoc 
dim root
dim number
Set http=Server.CreateObject("Microsoft.XMLHTTP") 
http.Open "GET","http://all2rss.com/star.asp?starid=6",False 
http.send 
Set xmlDoc=Server.CreateObject("Microsoft.XMLDOM") 
xmlDoc.Async=False 
xmlDoc.ValidateOnParse=False 
xmlDoc.Load(http.ResponseXML)
set root=xmlDoc.documentElement
tt=replace( root.childNodes(0).childNodes(7).text,"http://astro.sina.com.cn/pc/west/frame0_5.htmlhttp://astro.sina.com.cn/pc/west/frame0_5.html","<br>")
response.write "<p align='center' class='font'>" & root.childNodes(0).childNodes(0).text & "<p>"     
response.write "<p >" &tt& "</p>"
%>

先输出一下 今日星座(处女座)
然后找个好地方插入一下。替换掉里面的文本。
  • 相关文章:
  • quote 1.boin
  • 你确认这个有效?
    XMLHTTPREQUEST是不允许跨域的。
  • 2008-3-28 14:26:34 回复该留言

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80605 Code detection by Codefense  theme by BokeZhuti

Copyright uiokyu T's Blog. Some Rights Reserved.
湘ICP备07005089号