Tatsuhiko Miyagawa

NAME

Template::Plugin::ResolveLink - Template plugin for HTML::ResolveLink

SYNOPSIS

  use Template::Plugin::ResolveLink;

  # in your template
  [% USE ResolveLink -%]
  [% FILTER resolve_link base = "http://www.example.com/base/" -%]
  <a href="foo.html"><img src="/bar.gif"></a>
  <a href="mailto:bar">foo</a>
  [% END %]

  # will become
  <a href="http://www.example.com/base/foo.html"><img src="http://www.example.com/bar.gif"></a>
  <a href="mailto:bar">foo</a>

DESCRIPTION

Template::Plugin::ResolveLink is a wrapper for HTML::ResolveLink to be used in Template Toolkit templates.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE

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

SEE ALSO

HTML::ResolveLink