On 7/29/02 12:25 PM, Bill Moseley wrote:
> But, perl is suppose to make thing easy, so you might try this untested bit
> of code. Replace the above line in swish.cgi with:
>
> my @props = map {
> $_ eq 'swishlastmodified' ? "$_ fmt='%Y-%m-%d'" : $_
> } @properties;
>
> $self->swish_command( -x => join( '\t', map { "<$_>" } @props ) . '\n' );
>
Many thanks to Bill for making me look great in front of my boss ;) This
works fine. I'd like to see straightforward options in the conf file for
date formatting in a future version.
Again, thanks for the assists!
Scot
--
UC Berkeley Graduate School of Journalism
http://journalism.berkeley.edu
Received on Mon Jul 29 20:03:52 2002