Fetching A RSS Feed Through A Proxy Server And Displaying It On ASP Page
I need to display the contents of an external XML/RSS feed in an ASP page. I have found a couple of scripts that seem to do the trick at:
(URL address blocked: See forum rules)
(URL address blocked: See forum rules)/ow.asp?ASP_Based_RSS_Reader
(any good alternatives will be much welcome)
However, my problem is that the ASP page is part of an Intranet site, so it can only access the Internet (in order to fetch the RSS) via a proxy server.
Can somebody tell me how can I modify the above scripts (or any other that does the same) so the IP/port/login/password parameters can be passed along with the feed URL?
Firstly, I am not a programmer, so forgive my complete and utter ignorance of all things ASP related.I am trying to display an RSS feed on a website using some ASP which I found on this website - http://www.tele-pro.co.uk/scripts/rs...d_class_dl.htm I have downloaded the script and running it locally it works (kind of):-
However, when I put this page on my web server I get an error message:- http://www.ubsigroup.com/testing/
The ASP file is here:- http://www.ubsigroup.com/testing/rss...ed_class.1.txt
We are working on a real estate web site which lists real estate listings from different affiliated realtors.
Our client wants to have a system where it display real estate listings from affiliated realtors without having to enter listing information into our database.
Affiliated realtor will provide a link to xml file containing listings information and we have to fetch the data from it and display it into our web site. The xml file will be on some other server.
I work in a corporate environment where they have been restricting (preventing) more and more of what we can view on the internet.I think they restrict that through the proxy server... in Internet Explorer, in Internet Options under LAN Settings, we use an automatic configuration script.
Any way... to make a long story short and to be as truthful as possible, I still want to view my fantasy football web sites. My question is, is there a way I could code something to get around this? For example, I do have space on a server that runs ASP, so could I code something that would allow me to get around this?
I am making a web-based proxy server, and I need to make it so that it can download a webpage, and modify all of the links inside it (so that it can proxyfy all of the links, rather than the browser downloading the files from the original website).
So far the first bit is fine, but I still need to make my script modify all of the links inside the given HTML file. I know I can do it, but it wouldn’t be the most effective way of doing it. Does anyone have any suggestions on how they would search through an HTML script, and locate links?
So far what I am doing is searching for anything that one of these at the beginning of it: href= src= background=
And I am changing the text that comes afterwards (thus modifying the link). But for many reasons, this is a really bad way of doing it.
My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy server,the proxy method is HTTP(proxy server:xx.yyyy.com,port:8080,username/password),I want to use this program to send from intranet to internet through proxy server.I want to know how to realize this function.My code is follows:
Consider the following simple function to get the contents of a remote URL:
Function GetURL(str_URL) Set obj_XMLHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.3.0") obj_XMLHTTP.Open "GET", str_URL, False, "", "" obj_XMLHTTP.Send GetURL = obj_XMLHTTP.ResponseText Set obj_XMLHTTP = Nothing End Function
Is there anyway that I can use a remote proxy server to make the request?
I have a rss feed that I am pulling into an ASP page. In the rss there is a url with the text 'SITEID' that I need to change to my actual id '456456'. Does anyone know how I can have the ASP page replace the text in the URL? I am pretty green on all this. Here is the asp page code I am working with: Code:
This is a mix of technologies so I hope I've put this in the right place.
I have a system where people can sign up to a data feed. They place a single line of Javascript on their web page and a formatted banner of products is displayed based on the options they have chosen in their affiliate account.
The original system was built by our developer 3 or 4 years ago, and worked fine. However, he built the system using two ASP files - feed.asp which looks like this:
I have been using PHP for along time but had to change to ASP, so I am new to ASP.
I was wondering how to fetch a page and take out all the junk you dont need. It was easy with php because you start fetching where ever you want and stop where ever you want So i was wondering if there is any code for ASP
I've been searching the web for hours and can't seem to find what I'm looking for. What I want is to create a function to fetch a file (in this case a PDF) from another webhost to my own server.
In other words, I would like a little bit of code that grabs a PDF file from a http website and save it to my server, all automatically.
I came up with the new problem. I want to fetch all form values by using request.form("FormName") which is generated by javascript on runtime.
The attached zip code contains the working code of javascript creating dynamic form elements. So after generating a couple of textboxes when I click on the "Submit" button it should display all the values entered in the textboxes on the next page.
I have a script that allows people within my company to see the files end-users have uploaded to the sever, and it gives them the ability to download the files to their computer. The only problem: When someone uploads a file that has spaces in the title ...
For instance, if someone uploads document.doc, it displays and everything is great; I can download it from the web. If someone uploads document_1.doc that's fine too. When this happens, and I go to download, the URL is http://www.mycompany.com/extranet/uss/document_1.doc and everything is great.
But when someone uploads document 1.doc ... there's that space in there, then it gets all messed up. The download URL would then be http://www.mycompany.com/extranet/uss/document ... and it would cut off after the space. Does anyone have any suggestions? The code is below. Code:
With the website i'm developing, the user can upload images and the filename is saved to a mysql db, the problem is displaying these images. If i use the servers local path i.e. "C:InetpubwwwrootIMGimage.jpg" then the page just displays the little box with a square, circle and triangle in it, that usually displays while an image is loading. If i use "http://localhost/IMG/image.jpg" then when i load the page i get the "connect to the server:type name & password" box popping up...
I've set the permissions so that an Internet guest has read & write permissions to the IMG folder so I don't understand why it's not just displaying the images.
Following is a function on button click event to display the details of an user.if i include this function page is not displaying.can u tell me where the mistake is? Code:
I am trying to create an XML file but i want to create an ASP page that will eventually save the XML file to the site, but to get the formatting of the file correct first, i want the ASP page to display the XML in the browser window. as an example: Code:
as i have it i can see the line if i view source but its not displaying on the actual page. Once i have the format of the file correct i will need to save it to the disk on the web server but for now i just need to see what will be saved.
I have an XML file, which is a phone list of staff for the firm i work with. I need to display this in an ASP page. Is there a code which will do this? As it will be live and update as the XML file is updated.
I recently downloaded the Baby Web Server, installed it and started it. I was trying to run a website for a printer setup page on the webserver which came from a CD (I didnt modify any thing).
When I was trying to run the website from it gave the headers of the website without the menu and the mean page. and when i was try to run the menu page independently it was showing some thing like: Code:
&eprinter=&action=pause&page=" target="main" title = ""> &eprinter=&action=resume&page=" target="main" title = ""> &eprinter=&action=purge&page=" target="main" title = "">
We encountered a very strange problem. We host a web site: www.[our_site].com and a large number of our users belong to an organization group with central network control and they can only access our web site through two headquarter proxy servers: x.x.a.7 and x.x.b.8, which was set in security dept of the group headquarter. The web site was working fine till recently when those user accessing via x.x.a.7 all have problem suddently while those accessing via x.x.b.8 have no problem. The users accessing via x.x.a.7 are directed to wrong page, very slow response, hang on some page or encounter errors, etc. If they access the same site via another alias, like www2.[our_site].com which points to the same web server, they will not have any problem. They do not have problem to access any other web sites we tried, including our other web sites hosting in the same site, even the same server. If the users change their ie setting to use other public proxy server, they will have no problem to access our site. Strict security policy are applied to the user site, so we cannot ping, tracert or do any other network testing from user machine. Since user has no problem to access any other web site, the headquarter security department wont handle our case and simply think it is our problem.
any one know how can we bypass the proxy with asp code ? you may know that ther is some bypass proxy codes with Perl and PHP but I've never see any in asp . Example of Perl proxy bypass is http://kenby.com and I want to write such proxy bypass cod with asp
I have a database full of info and I have display.asp which I want to display 10 items at a time so I have display.asp?page=1, display.asp?page=2, etc. How do I go about actually filtering the database to only produce 10 results per page? I was trying to use:
results.Move 10
and things like that, but I'm not sure of the best way around this.
Our website works correctly for 99.9% of customers, however we have one set of customers who access our website from what appears to be a proxy server of some kind. i.e. The IP address is always the same no matter where the location of the computer is.
My site is a framed site, and the specific problem is that a list of links in one frame will not load a page on another frame. I don't believe this is a browser compatibily problem. (I wont rule it out though). But there are no problems as far as I can tell on other peoples computers.
My question is....Is there anything special that needs to be done to make sure a site works through proxy servers, or is this likly to be some other problem such as an SSL problem (the whole site is under ssl), browser incompatibility problem, or just downright dodgy programing on my behalf?
We have this portal that accesses content from various places on the web. The portal is SSL secured, so any content that is outside the portal and nonsecure is going to cause an nonsecure error prompt in every page within the portal site.
So, we obviously want to get away from these annoying messages. To do it, we've considered a reverse proxy, and even a tool like WGET... but, WGET can't fetch a complex URL... and reverse proxys seem like they might be a serious pain to set up along side our tomcat server
I've created a db field with Memo type, and I have stored some text with carriage returns (no html) So the 3 words start on a differnt line. In access this displays correctly ( each word starts on a new line). However when I display these on a web page all the words appear on the same line.
I need the words to be displayed on a seperate line.
I can display information to a webpage from a database and handle the connections etc. My next task is a bit more complicated for myelf. Id like to have a page the pulls information from a record set and displays like this.
down one side
the container numbers
along the top
the products in the containers
the information in the middle would be the amount of product that came on that container.
Im just wondering how the best way to setup my database would be, and the best way to setup the asp webpage. (oh) nearly forgot, it has to repeat the information till all the records are finished but i guess that gos without saying.
I need to solve this as part of a class project. It is designed to simply read a SQL table and display the data in the browser. But it will only show one record based on ID at a time. So if I have multiple records with the same ID such as page.asp?ID=9734, it would show all records using that ID in the browser. Code:
I wasnt really sure where to put this thread so I have put it in both ASP and DNS forums - i hope this is ok. My problem feels incredibly complicated so Im hoping that someone on one of the forums might know a few things .
Im interested in getting remote data off of a URL using ASP. There is an article about it at the URL below: Code: