--- seemore 2003-11-19 20:02:22.000000000 -0800 +++ seemore.cooluri 2003-11-20 10:11:20.000000000 -0800 @@ -5,6 +5,8 @@ # SeeMore plugin Home/Docs/Licensing: # http://molelog.molehill.org/blox/Computers/Internet/Web/Blosxom/SeeMore/ +# Added configuration to play nicely with cooluri + package seemore; # --- Configuration Variables --- @@ -15,6 +17,9 @@ # not so good for spoiler protection $more_on_article = 1 unless defined $more_on_article; +# Using CoolURI plugin? +$cool_uri = 1; + $debug_level = 1 unless defined $debug_level; # ---------------------------------------------------------------------- @@ -44,7 +49,10 @@ } sub show_more_p { + my $pathinfo = &CGI::path_info(); return 1 if $more_on_article and $blosxom::path_info =~ m:\.:; + return 1 if ($more_on_article and $cool_uri and + $pathinfo =~ m:^/\d\d\d\d/\d\d/\d\d/.+:); return 1 if (CGI::param("seemore")); # XXX return 1 if google/&c spider? return 0;