Re: [SPAM] Re: [PHP] Old HTML convert to XHTML Class
| From: | Jay | Date: | Wed, 04 Aug 2004 21:55:12 +0000 |
| Subject: | Re: [SPAM] Re: [PHP] Old HTML convert to XHTML Class | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192759@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On Wed, 04 Aug 2004 19:02:41 +0200, Jay <jaynews2002@yahoo.se> wrote:Don´t i need good access to my webhost then? I thought Tidy was a error reporting tool, not a HTML to XHTML converter? I have a simple web account....with PHP and MySQL support. Thanx In AdvanceJay Blanchard wrote:Since you can't use the tidy PHP extension, you could always use tidy from the command-line.[snip] Is there any class, functions etc that will convert old HTML to XHTML. I want to send in some HTML text and get XHTML back. e.g: the following would be converted: in="<font face="verdana,arial,helvetica,sans-serif" color="#0000cc" size="2">hello</font>" out="<span style"font-family:verdana,arial,helvetica,sans-serif; font-size: 10px; color:#0000cc">hello</span>" [/snip] Have you searched phpclasses.org? Google?Yes i have searched but couldn´t find anything. Hard to search for becuase "PHP HTML to XHTML" brings up a lot of "Tech youself XHTML" pages. So i hoped someone knew about a commercial or Free class/functions i could use.