# Blosxom Plugin: debtags vim:ft=perl: # Author: Gerfried Fuchs # Version: 0.1.1 (2004-05-24) # Documentation: See the end of this file or type: perldoc debtags package debtags; # --- Configurable variables ----- # none needed # -------------------------------- sub detagit { # detaggs the reference my ($reference) = @_; $$reference =~ s#]+)\s*/?>#$1#sg; $$reference =~ s|#(?#$1|g; $$reference =~ s#]+)\s*/?>#$1#sg; 1; } sub start { 1; } sub story { my ($class, $path, $fn, $story, $title, $body) = @_; detagit($body); 1; } 1; __END__ =head1 NAME Blosxom Plugin: debtags =head1 SYNOPSIS You can use two new tags in your text: which will result in a 12345 link, and which in turn turns into blosxom. More are planed, I am always up for suggestions. Suggestion for #12345 for a bug number link received from Marco d'Itri. Thanks. =head1 VERSION 0.1.0 =head1 AUTHOR Gerfried Fuchs , http://alfie.ist.org/projects/blosxom/ =head1 SEE ALSO Blosxom Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ Blosxom Plugin Docs: http://www.raelity.org/apps/blosxom/plugin.shtml =head1 BUGS None that I know of. If you find one feel free to fix it and send me a patch so I can incorporate it in future releases. =head1 LICENSE GPLv2