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?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Displaying RSS Feed
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
Fetching Xml File Data From Remote Server
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. Is this possible?
Corporate Proxy 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?
How To Send Mail Using ASP Through Proxy Server
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: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = frommail objCDOMail.To = tomail objCDOMail.Subject = mailsubject objCDOMail.BodyFormat = 0 objCDOMail.MailFormat = 0 objCDOMail.Body = mailbody objCDOMail.Send Set objCDOMail = Nothing
Data Feed Called By Javascript From Affiliate's Server
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. <script language="Javascript" src="http://www.somewhere.com/feed.asp"></script> 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: Code:
Fetching
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
Fetching Http Pages
In PHP it is easy to fetch a HTTP page using syntax like: $http_data = file("http://somedomain.com/some_script.php?some_data=x"); after successful completion of this statement, the page data is available in the variable $http_data. Could anyone please let me know if is similarly easy to fetch a page in ASP code. I would appreciate an example of the equivalent code. I am not working in ASP but want users to be able to programmatically fetch pages from my site.
Fetching Form Values
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.
Displaying Images Uploaded Onto Server
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.
Page Not Displaying
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:
ASP Page Not Displaying
I have IIS 5.0 configured in win2k server. When I browse a html I have no problem. But when I browse an asp page, the browser is hanging around.
Displaying XML In A Web Page
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: Response.write "<graph caption='Feburary Track Listend To' xAxisName='Date' yAxisName='Total Tracks Listened Too' showNames='1' decimalPrecision='0' formatNumberScale='0'>" 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.
Proxy Cached
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.
Bypass The Proxy
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
Multi-page Displaying
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.
Are There Any Issues With ASP And Proxy Servers?
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?
WGET And Reverse Proxy
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
Image Not Displaying From The Include Page
I have designed asp pages where all pages have common header and footer. I have added Images to the footer page called as footer.asp. now i have the footer.asp in another folder and i call that footer.asp within my index.asp page as a include page. but the images in the footer.asp are not displaying in the index.asp. what could be the problem?
Displaying Text On Asp Page From Access
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.
Displaying Database Info On Asp Page
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.
ASP Page Displaying SQL Table Data
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:
Proxy Configuration Tool - Proxycfg.exe
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:
Problem Displaying Page Before Initiating File Download
I'm looking to display a page and then initiate the downloading of a file. Basically trying to display a page that says the download will begin shortly, and if it doesn't, click here. Like what you see at a number sites. I found code to initiate the download in a previous posting ("Force Download fails when I select "Open" but works when I select "Save"", posted Jan 25, 2005). The code works fine in terms of initiating the download. The problem I've encountered is that the download begins before the page itself is displayed.
Reading And Displaying HTML Source From Remote Page
I am currently attempting to convert from PHP to ASP and I am having some difficulties. Foremost, from my PHP page I have pages that reference HTML source code from a remote page, write it to a local page and then displays it. I haven't been able to find any way to display this HTML source anywhere.
Problem With An .asp Page Displaying Data Based On A Form Field Value.
I have an asp page that displays informaton from an Access database. I want to create a form that allows users to display only data that matches their search criteria. I have made many forms like this in Front Page with the Database results wizard, but I want to manually code it. Code:
RSS Feed
today a client asked me for an RSS feed on their website. I've never done it before. Bascially i've just spend a while on google and worming my way around the web but just cant seem to get my head around how the heck I make this thing work. I basically want to embed an rss feed on a website in a little section that will act like a news bar. Can anyone describe to me in the simplest possible terms how i do it. Thats an rss feed, as part of a website. Not a descktop application or anything, it needs to be embedded.Im thinking its the morning tierdness thats making me 'not get it'
Rss Feed
I would like to create a RSS feed from my Access Database. I have an Access table for news which has the article title, date, and story in it. What I would like to do is pull the data from there into an xml file to create the RSS feed, so when users upload a news story it automatically updates in the xml file. Can this be done with asp? and where should I look for more information.
What Is RSS Feed?
i am new to this RSS. so can any body tell me wat is RSS feed? wat is the benifit?
RSS Feed
I have this statement which produces data from an RSS feed. The statement works well but I'm confused on how to format the {DC:DATE}.The date currently displays like this: 2006-05-22T08:57:00-04:00. I might like something else ie May 22, 2005 or maybe time. This statement is inside ASP Tags. ItemTemplate = " <a class='rssLink1' href=" & """{LINK}""" & ">{TITLE}</a> {DC:DATE}<BR>"
BBC RSS Feed
I want to put a BBC RSS Feed onto my site, and i dont want to link to a host, i want to link directly onto the bbc site.
RSS Feed
where i can find a good explaination of RSS Feed and a example of it a working example of it. I searched google found some articles but it only tells me what RSS is an overview not in depth.
Create RSS Feed
how to create the RSS for a static ASP site. I have used CMS before which has buitin feature of creating the RSS. I like to write own RSS for individual pages. The site in question is SIPLNET.COM
Reading XML/RSS Feed With ASP
I could post the various bits of code that I've tried to use to get this to work... but it'd be kind of pointless as I haven't gotten very far with either of them (I've run across encoding problems, and problems where it works on the local machine, but not through ASP. I've tried using an XLT doc and without).
Data Feed
I have access to a .csv data feed behind a password-protected ftp server. What I would like to do is access the server via code, execute queries against the .csv data feed, and return live results. Is there a way to do this?
Parsing A CSV Feed
I need to create an asp page to parse a slightly unusual data stream which is in CSV format with new records identified by carriage returns. how to start? Really I want to just tabulate some of the data and ignore other fields. It's a travel industry data feed - sample record: 1,JNY,1,050718,1943,S,AHL,051217,LGW,ALC,0645,1235 ,051224,LGW,7,R,154,154,0,-1,0,8888,8888,,,WAL2,0,0,0,0,0,0,
RSS News Feed
Anyone know the code to retrieve and display an rss news feed ?
RSS Feed To Email Via ASP
I would like to publish my RSS Feed to our blogger page via email. Can anyone direct me to an IIS-compatible solution so the blog could stay automatically updated? CDO would be the preferred mail component.
Read XML Feed From Yahoo In ASP
I have been struggling with this for ages and have seen nothing but brick walls! This is what I'm trying to do: 1. Read the information from this Yahoo weather feed: ptth//:xml.weather.yahoo.com/forecastrss?p=AUXX0040&u=c (i changed the http etc as it wouldn't let me post the link) 2. Pluck out selected info like weather status and temperature etc and display it using my own formatted text/icons on my website. It seems so simple, I just cannot get it to work. Please can anyone help me with the parsing function? and then how to display the info?
Import Data Via Csv Feed
I need to find a way to import a csv file into a sql database via classic asp or if easy .net to update a table. Every time this is imported i would like to overwrite the existing data in the database.
Feed Variable Into Include Statement
i'm trying to change the following include statement : <div id="contents"> <!-- #include file="includes/main_page.asp" --> </div> on an ASP page into something that receives the file name as a variable : <div id="contents"> <!-- #include file="<%=fileToInclude%>" --> </div> however, this doesn't seem to work, as i get the following error message : The include file '<%=fileToInclude%>' was not found. it obviously is trying to find a file named <%=fileToInclude%> instead of seeing the variable my question is : is it possible to feed a variable into an include statement ? if yes, how should i go about it ? if not, are there any alternatives ?
Carriage Return / Line Feed
I want to send an Email using ASP (I know how to to this) The body of the Email contains several variabels How do I concat string values and separate them by carriage returns/ Line feeds?
Parse An XML Feed Which Has An .asp Extension On The Output
Basically I want to parse an XML feed - the problem being the XML data itself has a .asp extension and a few query strings. I can currently parse the same xml data if I save it with a .xml extension, just not with the .asp extension and query strings. Code:
HTML Table In Excel With Line Feed In Cell
I an using ASP to read a database table and generate an HTML table which is save via FSO with a file extension of .xls which opens up in MS-Excel. I am inserting several lines of text into a cell and would like to force a line break between them. I recorded an MS-Excel macro so see how Alt-Enter was captured which turned out to be Chr(10) which is the same as vbLf (right?) I tried inserting that in character in the text but it didn't show up as a line break in MS-Excel.
URL For Server Page
I'm developing a Web App using C#. I want a page in the app to refer to another page in the app. I tried to create a web request with the page address below: pageAddress = "http://~/clientDBQuery.aspx"; WebRequest request = WebRequest.Create (pageAddress); and got the following error: Exception Details: System.UriFormatException: Invalid URI: The hostname could not be parsed. What is the syntax for referring to a page on the current site so I don't have to change it when it's published? When I used the following page address: pageAddress = "http://clientDBQuery.aspx"; I didn't get the parsing error but the debugger didn't stop on a break point I set in the LoadPage method. This seems to occurr because it goes to a page on my ISP which doesn't exist. What's the right way to handle this situation?
Server Page
I have a server page that has served an HTML page with a "Cancel" button on it, BUT this server page has not completed and is running a 15-30 second process before it completes. I want the browser user to be able to terminate the page before the server process has finished. What I tried was an onClick event that issue a "location.href..." in hopes that this would load this referenced page, etc. but I have found that the browser waits until the server process had compled before executing the "location.href". is there some way that I can "signal" the server to stop processing so that I can go to the "location.href" page; or is there some other way?
Including A Page From Another Server?
How would I go about displaying a plain text page that is located on a website that is not my own? For example... my site is www.x.com and www.y.com has a news article at http://www.y.com/article1.asp and i want to "include" this file on a page located on my site (www.x.com).
|