# This patch, by Steve will return # your default flavour instead of the message # Error: I'm afraid this is the first I've heard of an "ht" flavoured Blosxom. # Try dropping the "/+ht" bit from the end of the URL. # To use this patch find the appropriate place in your blosxom.cgi (v2) and # paste the bit "# Begin added code" in. More information can be found on # Steve's site. $template = sub { my ($path, $chunk, $flavour) = @_; do { return join '', <$fh> if $fh->open("< $datadir/$path/$chunk.$flavour"); } while ($path =~ s/(\/*[^\/]*)$// and $1); # Begin added code do { return join '', <$fh> if $fh->open("< $datadir/$path/$chunk.$default_flavour"); } while ($path =~ s/(\/*[^\/]*)$// and $1); # End added code return join '', ($template{$flavour}{$chunk} || $template{error}{$chunk} || ''); };