Tatsuhiko Miyagawa > Template-Plugin-ResolveLink > Template::Plugin::ResolveLink

Download:
Template-Plugin-ResolveLink-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

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

syntax highlighting: