On Thu, 18 Oct 2001, Adam Shand wrote:
> > What I'd really _love_ to see would be a wiki engine that generated
> > XML, so that you could then format both wiki and non-wiki pages
> > through an XML application server. That would be embeddable in
> > anything, and IMO truly cool.
>
> i'm not overly familiar with xml. there have been discussions about using
> rss/rdf as an output format, would that do what you want?
An ordinary web server runs like this:
PHP stuff -> [runs] -> HTML -> +------------+
CGI stuff -> [runs] -> HTML -> | web server | --> to browser
Static html -------------------> +------------+
An XML application server runs like this:
PHP stuff -> [runs] -> XML -> +--------+
CGI stuff -> [runs] -> XML -> | XML AS | -> html -> +------------+
Static XML -------------------> +--------+ | web server | -> ...
(Static HTML) --------------------------------------> +------------+
Here, all the formatting (headers, footers, sidebars, what have you) gets
added in the XML server. What's more, you don't _just_ have to convert
the XML to HTML, you could add templates to convert it to text, PDF, Wiki
syntax, whatever.
Gary
|