Alison Pope's Library tagged → View Popular
15 Apr 08
Feed Digest : Mix, convert, and syndicate RSS and Atom feeds
- ReMix you Feeds - ajp-diigo on 2006-06-12
» ASP: Easily Parse and Consume RSS in Classic ASP
-
<%
Call getNews(10)
Sub getNEWS(howManyResults)
myRSSfile = "http://rss.news.yahoo.com/rss/tech"
Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.4.0")
xmlHttp.Open "Get", myRSSfile, false
xmlHttp.Send()
myXML = xmlHttp.ResponseText
Set xmlResponse = Server.CreateObject("MSXML2.DomDocument.4.0")
xmlResponse.async = false
xmlResponse.LoadXml(myXML)
Set xmlHttp = Nothing
Set objLst = xmlResponse.getElementsByTagName("item")
Set xmlResponse = Nothing
intNoOfHeadlines = objLst.length -1
For i = 0 To (intNoOfHeadlines)
Set objHdl = objLst.item(i)
for each child in objHdl.childNodes
Select case lcase(child.nodeName)
case "title"
title = child.text
case "link"
link = child.text
case "description"
description = child.text
'You can also use the following: author,category,comments,enclosure,guid,pubDate,source
End Select
next
kk = kk+1
if kk < howManyresults+1 then
Response.Write "<br /><a href=""" & link & """>" & title & "</a> <br> " & description
end if
Next
End Sub
%>
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in rss
Related Lists on Diigo
-
IBP_overview
iBusinessPromoter (IBP) is ...
Items: 13 | Visits: 310
Created by: nmstrategies _
-
RSS Tools
A compiled link list of Fee...
Items: 44 | Visits: 208
Created by: Ido Notes
-
web2tools
A collected list of Web 2.0...
Items: 80 | Visits: 200
Created by: Michelle Krill
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
