473,587 Members | 2,451 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 1862
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
1946
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
2503
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
1377
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
3425
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
7920
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
7849
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
8215
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. ...
1
7973
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5718
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
5394
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
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1189
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.