Re: Tidy on a shared host
| From: | Manuel Lemos | Date: | Sat, 22 Aug 2009 02:41:59 +0000 |
| Subject: | Re: Tidy on a shared host | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297068@lists.php.net to get a copy of this message | ||
Hello,
on 08/20/2009 09:47 PM Al said the following:
> Or, does anyone know of a stand-alone php class that emulates the tidy
> extension. I've looked; but, not found any.
Yes, you may want to try this Secure HTML parser filter package. It
comes with parser and a filter class that validates HTML against an
eventually auto-detected DTD. It returns an array of tag and data
elements that you can use to rebuild a valid HTML document using the
RewriteElement function.
http://www.phpclasses.org/secure-html-filter
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/