GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Text::EtText(3) User Contributed Perl Documentation Text::EtText(3)

Text::EtText - editable-text format for HTML output

  my $t1 = new Text::EtText::EtText2HTML;
  print $t1->text2html ($text);

  my $t2 = new Text::EtText::EtText2HTML;
  print $t2->text2html ();                      # from STDIN

  my $h1 = new Text::EtText::HTML2EtText;
  print $h1->html2text ($html);

  my $h2 = new Text::EtText::HTML2EtText;
  print $h2->html2text ();                      # from STDIN

EtText is a simple plain-text format which allows conversion to and from HTML. Instead of editing HTML directly, it provides an easy-to-edit, easy-to-read and intuitive way to write HTML, based on the plain-text markup conventions we've been using for years.

Like most simple text markup formats (POD, setext, etc.), EtText markup handles the usual things: insertion of <p> tags, header recognition and markup. However it also adds a powerful link markup system, and tries to be XHTML-conformant in its generated code.

EtText markup is simple and effective; it's very similar to setext, WikiWikiWeb TextFormattingRules or Zope's StructuredText.

EtText is an integral part of WebMake, but unlike WebMake, which is GPL'ed, EtText is distributed under Perl's Artistic license.

For more information on the EtText format, check the EtText documentation on the web at http://ettext.taint.org/ .

See also http://webmake.taint.org/ for more information.

Text::EtText::EtText2HTML Text::EtText::HTML2EtText Text::EtText::LinkGlossary Text::EtText::DefaultGlossary ettext2html ethtml2text HTML::WebMake webmake

Justin Mason <jm /at/ jmason.org>

EtText is distributed under the terms of the GNU Public License.

The latest version of this library is likely to be available from CPAN as well as:

  http://ettext.taint.org/
2001-06-21 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.