473,503 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cache a XML file from a different server

48 New Member
Does anyone know how to cache (or download and overwrite) a file from internet periodocally withouth using any server side script (PHP, ASP Coldfusion etc)?

I want to display RSS feeds on my website from CNET using their RSS XML file but I do not know how to repeatedly download the file to keep the latest version on my server.

Thanks
AJ
Jun 15 '07 #1
9 2000
acoder
16,027 Recognized Expert Moderator MVP
You will have to use a server-side language, but you can use Javascript as part of Ajax for client-side updates.
Jun 15 '07 #2
amanjsingh
48 New Member
You will have to use a server-side language, but you can use Javascript as part of Ajax for client-side updates.
I thought that Ajax can itself pull out data for me from a remote server? Do I strictly have to use a server side scripting?
Jun 18 '07 #3
amanjsingh
48 New Member
Does anyone know how to cache (or download and overwrite) a file from internet periodocally withouth using any server side script (PHP, ASP Coldfusion etc)?

I want to display RSS feeds on my website from CNET using their RSS XML file but I do not know how to repeatedly download the file to keep the latest version on my server.

I want to know whether AJAX can work on its own to fetch the file or does it need a PHP or any other kind of server side scripting to cache the file on to my machine?

Thanks
AJ
Jun 18 '07 #4
acoder
16,027 Recognized Expert Moderator MVP
What do you currently have?
Jun 18 '07 #5
amanjsingh
48 New Member
What do you currently have?
Coldfusion on my server but I did not want to use index.CFM. I want to keep my page static. index.HTML. so I do not want to use any server side scr.

any suggestsions?
Jun 18 '07 #6
acoder
16,027 Recognized Expert Moderator MVP
How are you currently obtaining the file?

Ajax is only part Javascript - there's always a server-side element to it too.
Jun 19 '07 #7
acoder
16,027 Recognized Expert Moderator MVP
I thought that Ajax can itself pull out data for me from a remote server? Do I strictly have to use a server side scripting?
There will be server-side scripting involved, but it doesn't involve unloading the page, so you could have your 'static' HTML page that calls some javascript. Read up on Ajax in the Offsite Links thread (top of this forum).
Jun 19 '07 #8
acoder
16,027 Recognized Expert Moderator MVP
Merged threads.
Jun 19 '07 #9
amanjsingh
48 New Member
Merged threads.
Thanks.

I understand that I will have to use Server side scripts. I am using Coldfusion. Now the problem is -
(know that this is an intranet website that I am working for)

I am using CFHTTP to retrieve a certain document (xml rss) but it says "connection failure".

Can you suggest anything? It cannot be my firewall as all the communication is done over HTTP, right?

AJ
Jun 19 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
4077
by: Nadav | last post by:
Hi, I am new to WebControls, I have created a WebControl that is used to present an image, the image bing presented is created on runtime, each client side button click causes the image to...
11
3098
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
3
2198
by: Arthur Dzhelali | last post by:
Is there any way to cache dataset on one page and it will be accessible for one user? if you declare dataset shared it will stay on the server and page will be able reference to it on reload,...
13
1760
by: Fernando Chilvarguer | last post by:
Hi, I'm retriving data from a database and storing it on the Cache Object using the following code: HttpContext.Current.Cache.Insert( cacheItemKey, contentDS, //THE DATASET WITH MY DATA...
4
4359
by: Erick | last post by:
i have an asp.net application and I want to save the results of an sql query in cache. Because the queries take 28 seconds to run (there are twelve similar queries) I want to run it all at 4am, ...
2
5400
by: rrossney | last post by:
Please look at the "what I've already done" section of this message before responding to it: I believe that I've done everything that the people who experience this error are typically told to do....
18
9121
by: siddharthkhare | last post by:
Hi All, what is the diference between these two cache control header. no-cache and no-store. I have read the w3.org explanation. So lets say I am using only no-cache ....my understanding is...
2
2644
by: moondaddy | last post by:
I had to repost this because I had to update and change my msdn alias. I will re-ask the question and clarify a few things that were not clear before. This code is all executed on my dev...
7
1997
by: Andrew Jocelyn | last post by:
Hi I'm running an ASP.NET web application under IIS. I'm inserting a cache object with a file based CacheDependency. I've noticed that when the file changes the Cache object is not always...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7342
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.