Re: HTML 2 TEXT
| From: | SiTA WebMaster - VST | Date: | Fri, 20 Sep 2002 11:16:47 +0000 |
| Subject: | Re: HTML 2 TEXT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116987@lists.php.net to get a copy of this message | ||
Try to remove all strings starting with "<" and ending with ">". Be sure not to remove "<A href ... ></A>"'s. Also you need to format line endings via "\n" or "<BR>".
it might seem a little bit hard, but any other solution won't work rather than this.
Tim Haynes wrote:
Does anybody know of a class or a solution to converting an HTML page to a text only page via PHP, but leaving in href links in and a certain degree of formatting. Cheers, Tim-- Vehbi Sinan Tunalioglu * email : vst@post.com * * email : vst@sita.com.tr * * email : webmaster@sita.com.tr *