I was wondering if there is someone to assist in showing me how to make ASP inclusion code work on my webpage? I have the Javascript working but with multiple Java scripts loading at one time it slows the page down. I would like to use the ASP code as that loads at a server level. But, I don't know how to use ASP.
Frank
Forums
Feed Informer Support
How Do I Make the ASP Script Work?
9 posts-
Posted 17 years ago #
-
As with the JavaScript, it's just a case of copying and pasting the supplied code onto a page. In the case of PHP, ASP, and other technologies, however, you have to ensure your Web hosting provider supports these technologies. Secondly, you have to make sure the page itself supports these technologies. For example, PHP code will often not run unless it is on a page with a file extension of .php. Likewise with ASP, the extension is typically .asp. There are workarounds for this in both cases, but it requires a little work.
Posted 17 years ago # -
I took a blank page and saved it as an ASP page. I put one of my scripts in the page and received an error when I made it live. The script I used was PX3VVRYCRN and I chose the ASP VBscript. Here is the page: http://www.lastdayreport.com/asp-test-page.asp
I do have ASP support on the server. Can you see what I might be doing wrong? Located below is the actual raw code from the page.
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>asp-test-page</title>
</head><body>
<p><u><b>asp-test-page</b></u></p>
<p> </p>
<p> </p>
<%
dim Http
Set Http = Server.CreateObject("Microsoft.XMLHTTP")
Http.Open "Get","http://app.feeddigest.com/digest3/GS7O8YMJB7.html",False
Http.Send()
Response.Write(Http.ResponseText)
%>
</body></html>
Posted 17 years ago # -
Try renaming it to use .aspx as the extension. Supposedly that extension is for ASP .NET. I must admit I know very little about these technologies, so it's a bit of a stab in the dark. Failing that, the error I'm seeing about not being able to load resource might indicate some issue with accessing us from your host's server. But try .aspx first.
Posted 17 years ago # -
I have tried many different things today. I even loaded up other ASP code on my website and it worked. I have an idea. My website is hosted by GoDaddy, could it be that GoDaddy is blocking Feeddigest? Could that be the problem??? If it is the case, could there be a workaround some how?
Posted 17 years ago # -
Oh, yes. GoDaddy has blocked us. See this:
http://www.feeddigest.info/oldforums/3_1238_0.html
We used to have a workaround that proxied through a third party (a.k.a. app4.feeddigest.com) but this is no longer active. One workaround that sometimes works for GoDaddy users is to route the digests through Coral cache, like so:
http://app.feeddigest.com.nyud.net:8090/digest3/GS7O8YMJB7.html
instead of
http://app.feeddigest.com/digest3/GS7O8YMJB7.html
Note that just ".nyud.net:8090" is being added in to the URL.
Posted 17 years ago # -
For what it's worth, GoDaddy has had this policy in place for over a year now.
Posted 17 years ago # -
I just tried your suggestion and they are blocking that also, see below the code I used. Why are they doing this? What advantage is it to them? I'm sure they do not care but I will be calling them later today to request they stop blocking Feeddigest. I'm sure it will not do a bit of good.
Do you have any other possible workaround that I could try?
<%
dim Http
Set Http = Server.CreateObject("Microsoft.XMLHTTP")
Http.Open "Get","http://app.feeddigest.com.nyud.net:8090/digest3/GS7O8YMJB7.html",False
Http.Send()
Response.Write(Http.ResponseText)
%>Posted 17 years ago # -
The results of when people complained to GoDaddy a year ago are in the old Feed Digest forum thread:
http://www.feeddigest.info/oldforums/3_1238_0.html
I believe they initially claimed it was us, but we actually moved datacenters since then and it still didn't work. I'm guessing they have a pretty conservative firewall policy for stuff like this. Perhaps they have a proxy server and/or some source code that they advise clients to use, so it's worth asking about that as it should be possible to use their proxy server if they have one with some minor code adjustments.
Posted 17 years ago #
Topic Closed
This topic has been closed to new replies.