Log in

View Full Version : xml server?



Peter Johnson
11-25-2008, 04:18 PM
I currently have a website done in html. Right now, the only way for other websites to put my content on their server is through an iframe. Some of these websites want to pull my content in, using xml.

I've just started looking at whether it's possible to convert the site to xml. I understand how to create an xml document, schema, stylesheet,etc. What I don't understand is how the content would then be delivered to other websites.

Would I have to use a special xml server?
Do outside hosting companies even have such things?
Is there an xml server for dummies tutorial somewhere?

I've tried googling this and can only find sites that are WAY beyond my comprehension. I really can't run my own server. I use a hosting company now. Any insight is greatly appreciated.

Twey
11-25-2008, 06:24 PM
No, you don't need to have a 'special server'. XML is a text-based format, and is usually served over plain old HTTP. The preferable design pattern is to have the data of your site encoded in XML in the first place, and transform it to HTML for direct display using a server-side script of some sort.

Peter Johnson
11-26-2008, 02:11 AM
Thanks. Do you know of any links to basic tutorials to get me started in writing such a server side script using PHP?

magicyte
11-26-2008, 09:19 PM
http://www.php.net/manual/en/index.php

Nice little thing.

-magicyte