On Monday 11 March 2002 18:12, Melvyn Sopacua wrote: > Kip Hampton said at 23:16 11-3-2002: > >Now that i think about it... are the request/server/environment vars > >something that folks will want, in general, to be available to their > >stylesheets? If so, and I get enough "+1"s here, I'd be willing to ram > >out and CPAN a Plugin that does all that stuff...
Seems to me like an interface for all of them would be good. If you can import some of the headers you might as well provide access to all of them, there is always someone that needs them. Cookies are another thing people need pretty often, though its probably best to have a taglib specifically designed for that, which already exists. It might be worth considering making a StyleChooser that can act on arbitrary request headers. I would guess that the StyleChooser::UserAgent could be tweaked a little for that. > > +1 on all request/http vars. > Specifically: > HTTP_ACCEPT_* > HTTP_USER_AGENT > HTTP_REFERER > HTTP_HOST > > REMOTE_USER > REMOTE_HOST > > REQUEST_METHOD > > Tricky one: > COOKIE => prolly map to: _cookie.name=value > > Server+Env is less important IMHO. > Especially the cookie, would and/or REMOTE_USER would allow personalisation > via XSLT. > > > > Best regards, > > Melvyn Sopacua > WebMaster IDG.nl > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > If it applies, where it applies - this email is a personal > contribution and does not reflect the views of my employer > IDG.nl. > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
