-
-
19 Aug 2008 04:44:57 UTC
- Distribution: Template-Plugin-HtmlToText
- Module version: 0.03
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (575 / 0 / 0)
- Kwalitee
Bus factor: 1- 45.95% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (2.8KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Template::Plugin::HtmlToText - Plugin interface to HTML::FormatText
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
[% USE HtmlToText %] # use html2text FILTER to var 'myhtml' or 'myhtmltext' [% myhtml FILTER html2text(leftmargin => 0, rightmargin => 50) %] [% myhtmltext | html2text %] # not to a var, but to html code [% FILTER html2text %] <b>heavy</b> [% END %] [%# output is "heavy", no <b></b> %]
DESCRIPTION
This plugin provides an interface to the HTML::FormatText module which format HTML as plaintext.
AUTHOR
Fayland Lam,
<fayland>
COPYRIGHT & LICENSE
Copyright 2006 Fayland Lam, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Template::Plugin::HtmlToText, copy and paste the appropriate command in to your terminal.
cpanm Template::Plugin::HtmlToText
perl -MCPAN -e shell install Template::Plugin::HtmlToText
For more information on module installation, please visit the detailed CPAN module installation guide.