shtml/include equivalent for XML (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Pleiades -> shtml/include equivalent for XML (3/5/2008 16:25:25)

Hi,

on some of my sites I use shtml to include content from other pages.
I'm pretty new to xml, but I was wondering if there is a way to accomplish something similar with xml?

The idea would be to automatically include certain html pages in an xml page, so when something changes on the html page it updates the xml page.

Can this be done?

Thanks you




Tailslide -> RE: shtml/include equivalent for XML (3/6/2008 3:16:53)

What end purpose are you using XML for? Feeds or something similar?




Pleiades -> RE: shtml/include equivalent for XML (3/6/2008 13:00:08)

Hi Tailslide,
thanks for replying :)

Yep, the idea is to include parts of a standard html page into a xml feed, so when something on the html pages changes it automatically updates the xml feed. Can this be done?

Thank you




Tailslide -> RE: shtml/include equivalent for XML (3/6/2008 15:11:58)

I'm no expert on this (hopefully someone who knows a lot more than me will come along) - I've tended to use feeds with WordPress so much of the hard work is done for you.

Is this article of any use?

http://www.devx.com/xml/Article/10790

It looks like you need the content in a DB to be able to easily hook the feed into the information as it changes.




Pleiades -> RE: shtml/include equivalent for XML (3/6/2008 17:03:58)

I've done more research over the last few hours and it seems that Xinclude could be a way to do it. But I couldn't find any more documentation on that so far.

Has anybody ever used Xinclude in an RSS feed; ie is it possible to use it?

Thank you in advance




coreybryant -> RE: shtml/include equivalent for XML (3/6/2008 18:26:33)

Check with the guys and gals over at International Web Developers Network. I have never used includes of any type in an XML file.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125