# Blosxom plugin by Nelson Minar nelson@monkey.org to use with # ago.js. Creates a variable $ago::ts that you can use as the argument # to the ago javascript function. For more info, see # http://www.nelson.monkey.org/~nelson/weblog/tech/ago/ package ago; $ts; sub start { 1; } sub story { my ($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) =@_; $path = "" if (!defined $path); $ts = $blosxom::files{"$blosxom::datadir$path/$filename.$blosxom::file_extension"}; 1; } 1;