On 01/07/2005 14:55, Janusz 'Kali' Kaliszczak wrote:
[snip]
I've never tried this, but a think (as Lars says) you can try to
preprocess it on server side.
Server-side processing may be overkill, depending on exactly what the OP
needs to do. If it's the equivalent of simple macro expansion, then I'd
run it through a preprocessor (command-line PHP, for example) /before/
uploading.
Unless the style sheet really needs to be dynamic (some content might be
based on user preferences, for example), it's a waste of server time.
Doing it properly may entail calculating the Content-Length header value
yourself, and ensuring that freshness and validator information is
included, too. Using a static file allows the server to take care of all
of that for you.
Preprocessing before upload requires a little more effort that simply
uploading and serving something dynamically, but the use of a shell
script do automate the process could negate that, and I think it's a
better solution.
[snip]
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.