473,320 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Display RSS Can't locate Resources - REPOST

Sorry about the repost but i didn't get any responses....

I am trying to make a simple page display a rss news feed.. I don't want the
web server to connect to remote site because it doesn't work. I want the
client to do it because my web server is behind a proxy (Tried proxycfg.exe
on web server with no success)

I am going nuts.. something that should be so simple for me...

The following will just not work and I give up.. so now I want client side
code (Unless someone can fix my problem):
ALWAYS Give's me
msxml3.dll error '800c0005'

The system cannot locate the resource specified.

/readnews.asp, line 12

SOURCE ---
<%
response.write "WOW!<br>"
Call getNews(10)
response.write "<BR>WOW!"
'http://www.redbooks.ibm.com/rss/xseries.xml
Sub getNEWS(howManyResults)
myRSSfile = "http://www.redbooks.ibm.com/rss/xseries.xml"

Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP")
xmlHttp.Open "Get", myRSSfile, false
xmlHttp.Send()
myXML = xmlHttp.ResponseText

Set xmlResponse = Server.CreateObject("MSXML2.DomDocument")
xmlResponse.async = false
' oxml.setProperty "ServerHTTPRequest", true
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,so urce
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
%>

%>

End News.

Jul 22 '05 #1
1 2523
This code works perfectly on my server.

You should check for a firewall or other blocking issue from your web
server. Perhaps there is a routing problem between your server and ibm.com,
or a DNS issue.
"Anthony" <an*********@nospam.comcast.net> wrote in message
news:uo**************@TK2MSFTNGP09.phx.gbl...
Sorry about the repost but i didn't get any responses....

I am trying to make a simple page display a rss news feed.. I don't want the web server to connect to remote site because it doesn't work. I want the
client to do it because my web server is behind a proxy (Tried proxycfg.exe on web server with no success)

I am going nuts.. something that should be so simple for me...

The following will just not work and I give up.. so now I want client side
code (Unless someone can fix my problem):
ALWAYS Give's me
msxml3.dll error '800c0005'

The system cannot locate the resource specified.

/readnews.asp, line 12

SOURCE ---
<%
response.write "WOW!<br>"
Call getNews(10)
response.write "<BR>WOW!"
'http://www.redbooks.ibm.com/rss/xseries.xml
Sub getNEWS(howManyResults)
myRSSfile = "http://www.redbooks.ibm.com/rss/xseries.xml"

Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP")
xmlHttp.Open "Get", myRSSfile, false
xmlHttp.Send()
myXML = xmlHttp.ResponseText

Set xmlResponse = Server.CreateObject("MSXML2.DomDocument")
xmlResponse.async = false
' oxml.setProperty "ServerHTTPRequest", true
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,so urce
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
%>

%>

End News.

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David Greenwood | last post by:
I posted this under 'microsoft.public.sqlserver.client' but got no reply. Any help with this problem would be greatly appreciated --------------------- I developed a database under SQL Server...
0
by: Anthony | last post by:
I am trying to make a simple page display a rss news feed.. I don't want the web server to connect to remote site because it doesn't work. I want the client to do it because my web server is behind...
0
by: BP | last post by:
Hello (this is _not_ a job posting!) I'm looking for an experienced C#/.Net programmer for a short-term project using Dundas and Quinn-Curtis charting frameworks. Does anyone know a decent...
6
by: Saya | last post by:
Hello, This is a repost 'cause I haven't solve the problem: I can't use the System.Drawing class 'Image.FromStream' in the CompactFramework environment. What I've done with respect to Brendan's...
1
by: iana_kosio | last post by:
Hi, I was wondering if I can make an aspx file use the PATH variable to locate dlls that it needs. Currently, it looks as though that the aspx page looks for binaries in a bin folder that is...
1
by: bizt | last post by:
Hi, I have an XML document that, at some points, nodes are about several levels deep. For example: <?xml... <root> <node>
7
by: libsfan01 | last post by:
Hi all This js i wrote to switch display on and off of a given element does not work in ie but it does in ff and safari. how can i make it work with ie guys? <script...
5
by: SarahZ | last post by:
Hi all, I am working on a project which is using a windows form to locate an Excel file and then display it. I am trying to use two combo boxes to locate an Excel file. The two combo boxes will be...
9
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.