ASP Rss News Feed Question

Results 1 to 2 of 2

Thread: ASP Rss News Feed Question

  1. #1
    Join Date
    Dec 1969

    Default ASP Rss News Feed Question

    I&#039;ve developed a webpage that includes some news feeds from outside sources. The pages work fine on my test server WinXP, IIS. However, now that I&#039;m testing on the live server, the host tells me the server side request xmlhttp.Send is deactiviated on their server. Can someone tell me how i could get around this? Is there something I can do client-side? <BR><BR>Thanks! <BR><BR>Here is the code: <BR><BR><BR>&#060;%<BR>Function getXML(sourceFile) <BR>dim styleFile <BR>dim source, style <BR>styleFile = Server.MapPath("national.xsl")<BR><BR>Dim xmlhttp<BR>Set xmlhttp = Server.CreateObject("Microsoft.XMLHTTP")<BR>xmlhtt p.Open "GET", sourceFile, false<BR>xmlhttp.Send<BR><BR>set source = Server.CreateObject("Microsoft.XMLDOM")<BR>source. async = false <BR>source.loadxml(xmlhttp.ResponseText) <BR><BR>set style = Server.CreateObject("Microsoft.XMLDOM")<BR>style.a sync = false <BR>style.load(styleFile) <BR><BR>getXML = source.transformNode(style) <BR>set source = nothing <BR>set style = nothing <BR>End Function <BR>%&#062;<BR>&#060;%= getXML("") %&#062;&#060;br /&#062;<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Find another host...

    Many ISPs do this just to prevent the bandwidth consumption (some call it "stealing bandwidth", in fact) that *exactly* this kind of thing causes.<BR><BR>So either pay your host to allow it or find another host.<BR><BR>Yeah, you could do things client-side, but it would mean installing a custom ActiveX control in *EACH* of your users&#039; computers. And activating it as a trusted control. And... You *really* don&#039;t want to go that route.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts