473,513 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Writing a local XML file from a parsed URL?? Similar to RSS

Hello,

I may not have worded the subject correctly, but what I am trying to do
is pull the XML data from the following stream,
http://www.360voice.com/api/blog-get...ngeagent&num=5,
into a webpage. What I would like to do, or think I need to do is
create a webpage that will pull the XML data from the above URL and
write it to a local XML file. I would then like to apply an XSL
stylesheet to the local XML file and display it on a website. In other
words, I am trying to pull the above URL into my website.... so I am
looking for a place to start with javascript. This is almost like
displaying RSS feeds into a webpage.

Thanks so much!!!!!
Shannon

Jun 27 '06 #1
2 1857
linearfusion wrote:
Hello,

I may not have worded the subject correctly, but what I am trying to do
is pull the XML data from the following stream,
http://www.360voice.com/api/blog-get...ngeagent&num=5,
into a webpage. What I would like to do, or think I need to do is
create a webpage that will pull the XML data from the above URL and
write it to a local XML file. I would then like to apply an XSL
stylesheet to the local XML file and display it on a website. In other
words, I am trying to pull the above URL into my website.... so I am
looking for a place to start with javascript. This is almost like
displaying RSS feeds into a webpage.

Thanks so much!!!!!
Shannon


Shannon,
I'm afraid you're barking up the wrong tree with Javascript. This is
something you need to do server-side; for example, using PHP or a
similar back-end language.

Due to security restrictions on Javascript, it's not possible to
(directly) grab a file from a server besides your own. You could have a
backend script that grabs a remote file and spits it back out, and then
use javascript to access the remote feed through that backend script.
Then, you could use XSLT (for example: AjaXSLT, a Google library) to
transform the feed.

But this is probably best accomplished through a backend script. Ask in
a PHP group - you can do what you want to do in about 8 lines of code
with PHP.

Jeremy
Jun 27 '06 #2
Awesome!! Thanks for the help!!

Jeremy wrote:
linearfusion wrote:
Hello,

I may not have worded the subject correctly, but what I am trying to do
is pull the XML data from the following stream,
http://www.360voice.com/api/blog-get...ngeagent&num=5,
into a webpage. What I would like to do, or think I need to do is
create a webpage that will pull the XML data from the above URL and
write it to a local XML file. I would then like to apply an XSL
stylesheet to the local XML file and display it on a website. In other
words, I am trying to pull the above URL into my website.... so I am
looking for a place to start with javascript. This is almost like
displaying RSS feeds into a webpage.

Thanks so much!!!!!
Shannon


Shannon,
I'm afraid you're barking up the wrong tree with Javascript. This is
something you need to do server-side; for example, using PHP or a
similar back-end language.

Due to security restrictions on Javascript, it's not possible to
(directly) grab a file from a server besides your own. You could have a
backend script that grabs a remote file and spits it back out, and then
use javascript to access the remote feed through that backend script.
Then, you could use XSLT (for example: AjaXSLT, a Google library) to
transform the feed.

But this is probably best accomplished through a backend script. Ask in
a PHP group - you can do what you want to do in about 8 lines of code
with PHP.

Jeremy


Jun 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1942
by: Jiho Han | last post by:
Should ASPNET user belong to the local Users group? I may have made some changes that affected my workstation setup and I am experiencing some unexpected behaviors. For example, I have my IIS set up with anonymous login and have ASP.NET running. My ASP.NET application then creates a log file and writes to it during its course. The only...
1
2500
by: Peter Strøiman | last post by:
Hi. I have a web project, that is intended to be installed multiple times as different product with different names. All strings in the web are placed in local resource files. In some of the strings, we would like to put the name of the site, different contact e-mail etc. Would it be possible to make these strings as global resources and...
2
1371
by: linearfusion | last post by:
Hello, I am trying to pull the XML data from the following stream: http://www.360voice.com/api/blog-getentries.asp?tag=changeagent&num=5 and write it to a local file. Actually, what I would like to do is take the above stream and display it into a website... much like displaying RSS feeds on a webpage. I looked at javascript, but...
59
3392
by: riva | last post by:
I am developing a compression program. Is there any way to write a data to file in the form of bits, like write bit 0 then bit 1 and then bit 1 and so on ....
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
5704
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5103
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4759
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
473
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.