I've made a simple plugin that rewrites HTML in a clickable format,
meaning any URLs in a text is marked up with hyperlinks.

You can get it at 
http://bulknews.net/lib/archives/Template-Plugin-Clickable-0.01.tar.gz 

=head1 NAME

Template::Plugin::Clickable - Make URLs clickable in HTML

=head1 SYNOPSIS

  [% USE Clickable %]
  [% FILTER clickable %]
  URL is http://www.template-toolkit.org/
  [% END %]

this will become:

  URL is <a 
href="http://www.template-toolkit.org/";>http://www.template-toolkit.org/</a>

=head1 DESCRIPTION

Template::Plugin::Clickable is a plugin for TT, which allows your to
filter HTMLs clickable.

=head1 AUTHOR

Tatsuhiko Miyagawa E<lt>[EMAIL PROTECTED]<gt>

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=head1 SEE ALSO

L<Template>, L<URI::Find>

=cut



Reply via email to