[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: Server Side Include Problem - RaQ3
- Subject: Re: [cobalt-users] Re: Server Side Include Problem - RaQ3
- From: "Jamie Martino" <webmaster1@xxxxxxx>
- Date: Mon Aug 27 10:40:37 2001
- Organization: WebConnection.Net, Inc.
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> OK, I got the "set var" thing to work too. Which of these two methods
would
> be least CPU heavy, or doesn't it make a difference?
>
Ok, I'm not too familiar with running commands from SSI's, but I am familiar
with perl.. Couldn't you just extrapolate the day and month out of the
complete date and assign them variables like:
month = ......
day = ......
then write it up something like:
<!--#set var="month" value="(Code to extrapolate month)" -->
<!--#set var="day" value="(Code to extrapolate day)" -->
<!--#include virtual="${day}&${month}.txt" -->
Like I said, I don't really know much about SSI but the idea is the same..
Plus you cut it down from over 31 lines to just a few lines... Just a
thought...
-Jamie-
http://w-c.net
WebConnection.Net, Inc.
In a mad world, only the mad are sane...