[thelist] SSI in XML

Joel Konkle-Parker jjk3 at msstate.edu
Wed Jun 12 22:56:00 CDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't have access to PHP, ASP or any of the others. The only thing
I have to work with is .htaccess files.

- -joeljkp

- ---------------------------------------
http://www.ballsome.com

- -----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Paul Cowan
Sent: Wednesday, June 12, 2002 10:35 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] SSI in XML


Hi Joel,

Joel Konkle-Parker wrote:
> 1. rename index.xml to index.html of type text/xml
> didn't work, SSI parser apparently needs text/html

You should be able to do this, or something similar.

I don't know what web server you're using, but it's comparatively
simple to
do in (say) ASP.

Call your file index.asp. Inside index.asp have:

<%
    response.contenttype = "text/xml"
%>
<?xml blahblahblah>
<blah>
blah blah
<!--#include whatever-->
</blah>

Don't know the syntax for PHP, or CF, or whatever server-side
language is on
your server (if any), but I'm pretty sure you'd be able to do it. And
I know
that the above works in ASP (your mileage may vary).

cheers,

Paul.

- --
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPQgXyn880CLOJa2eEQKPnACeOFWJS3BiCQcFY7/hjkJBu4D3tE0AoL4A
gJ7MNiJVlX5DFig840+Vr6IO
=EseZ
-----END PGP SIGNATURE-----





More information about the thelist mailing list