Home     PHP / Javascript / Ajax
PHP HTML2Text, HTML to plain text converter Script

PHP Script Codes > development-tools

HTML2Text, HTML to plain text converter Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 2474

PHP Script Codes > HTML2Text, HTML to plain text converter
This class converts HTML to plain, formatted ASCII text. By default, the text is wrapped to 70 characters, and some basic formatting is applied to preserve some of the HTML formatting. For example:<br>
<ul>
<li>Paragraphs are indented</li>
<li>Heading tags <h1> - <h3> are all caps</li>
<li>Horizontal lines, <hr>, are converted to hyphens</li>
<li>Links are preserved as a footnoted list at the end</li>
</ul>