<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
EtText: Documentation: Text::EtText::HTML2EtText
</title>
<meta name="generator" content="WebMake/2.2" />
<style>
body {
background-color: #ffffff;
color: #000000;
font-size: medium;
font-family: verdana,lucida,helvetica,sans-serif;
}
// OL,UL,P,BODY,TD,TR,TH,FORM {
// font-family: verdana,lucida,helvetica,sans-serif;
// font-size: medium;
// color: #000000;
}
code, samp, pre
{
font-family: monospace;
}
H1 { font-size: large; font-family: Garamond,Book Antiqua,Times,serif; }
H2 { font-size: large; font-family: Garamond,Book Antiqua,Times,serif; }
H3 { font-size: medium; font-family: Garamond,Book Antiqua,Times,serif; }
H4 { font-size: small; font-family: Garamond,Book Antiqua,Times,serif; }
H5 { font-size: x-small; font-family: Garamond,Book Antiqua,Times,serif; }
H6 { font-size: xx-small; font-family: Garamond,Book Antiqua,Times,serif; }
A:link {
font-weight: bold;
color: #004000;
text-decoration: underline;
}
A:visited {
font-weight: normal;
color: #008000;
text-decoration: underline;
}
A:active {
font-weight: bold;
color: #800000;
text-decoration: underline;
}
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#3300cc" vlink="#660066">
<font face="lucida,verdana,sans-serif">
<div align="center">
<img src="images/EtTextTitle.png" width="489" height="113" />
</div>
<table width="100%">
<tr>
<td valign="top">
<strong><a href="http://ettext.taint.org/">EtText</a>
Documentation</strong> (version 2.2)
</td>
<td valign="top">
<div align="right">
[ <a href="EtText2HTML.pm.html">Back</a> | <a href="LinkGlossary.pm.html">Forward</a> | <a href="index.html">Index</a>
| <a href="allinone.html">All In One</a> ]
</div>
</td>
</tr>
</table>
<!-- yes, it's that Mozilla black-border code again ;) -->
<!-- stolen from www.mozilla.org via rc3.org -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#aaaaaa">
<table border="0" cellspacing="4" cellpadding="4" width="100%">
<tr>
<td bgcolor="#ffffff">
<table border="0" cellspacing="4" cellpadding="4" width="100%">
<tr>
<td>
<h2>Text::EtText::HTML2EtText</h2><!-- INDEX BEGIN -->
<ul>
<li>
<a href="#NAME">NAME</a><li>
<a href="#SYNOPSIS">SYNOPSIS</a><li>
<a href="#DESCRIPTION">DESCRIPTION</a><li>
<a href="#METHODS">METHODS</a><li>
<a href="#MORE_DOCUMENTATION">MORE DOCUMENTATION</a><li>
<a href="#SEE_ALSO">SEE ALSO</a><li>
<a href="#AUTHOR">AUTHOR</a><li>
<a href="#COPYRIGHT">COPYRIGHT</a><li>
<a href="#AVAILABILITY">AVAILABILITY</a>
</ul>
<!-- INDEX END -->
<hr />
<h1><a name="NAME">NAME</a></h1><p>
Text::EtText::HTML2EtText - convert from HTML to the EtText editable-text
format
<hr />
<h1><a name="SYNOPSIS">SYNOPSIS</a></h1><p>
<pre>
my $t = new Text::EtText::HTML2EtText;
print $t->html2text ($html);
</pre>
<p>
or
<p>
<pre>
my $t = new Text::EtText::HTML2EtText;
print $t->html2text (); # from STDIN
</pre>
<hr />
<h1><a name="DESCRIPTION">DESCRIPTION</a></h1><p>
ethtml2text will convert a HTML file into the EtText editable-text format,
for use with webmake or ettext2html.
<p>
For more information on the EtText format, check the WebMake documentation
on the web at <a href="http://webmake.taint.org/">http://webmake.taint.org/</a> .
<hr />
<h1><a name="METHODS">METHODS</a></h1><dl>
<dt>
<strong><a name="item__f">$f = new Text::EtText::HTML2EtText</a></strong>
</dt>
<dd>
<p>
Constructs a new <code>Text::EtText::HTML2EtText</code> object.
</dd>
<dt>
<strong><a name="item__text">$text = $f->html2text( [$html] )</a></strong>
</dt>
<dd>
<p>
Convert HTML, either from the argument or from STDIN, into EtText.
</dd>
</dl>
<hr />
<h1><a name="MORE_DOCUMENTATION">MORE DOCUMENTATION</a></h1><p>
See also <a href="http://webmake.taint.org/">http://webmake.taint.org/</a>
for more information.
<hr />
<h1><a name="SEE_ALSO">SEE ALSO</a></h1><p>
<code>webmake</code><code>ettext2html</code><code>ethtml2text</code><code>HTML::WebMake</code><code>Text::EtText::EtText2HTML</code><code>Text::EtText::HTML2EtText</code><hr />
<h1><a name="AUTHOR">AUTHOR</a></h1><p>
Justin Mason <jm /at/ jmason.org>
<hr />
<h1><a name="COPYRIGHT">COPYRIGHT</a></h1><p>
WebMake is distributed under the terms of the GNU Public License.
<hr />
<h1><a name="AVAILABILITY">AVAILABILITY</a></h1><p>
The latest version of this library is likely to be available from CPAN as
well as:
<p>
<pre>
<a href="http://webmake.taint.org/">http://webmake.taint.org/</a>
</pre>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td valign="top">
<strong><a href="http://ettext.taint.org/">EtText</a>
Documentation</strong> (version 2.2)
</td>
<td valign="top">
<div align="right">
[ <a href="EtText2HTML.pm.html">Back</a> | <a href="LinkGlossary.pm.html">Forward</a> | <a href="index.html">Index</a>
| <a href="allinone.html">All In One</a> ]
</div>
</td>
</tr>
</table>
<div align="right">
<a href="http://webmake.taint.org/"><img src="images/BuiltWithWebMake.png" border="0" width="88" height="31" /></a>
</div>
</font>
</body>
</html>