Re: Old HTML convert to XHTML Class?
| From: | Christian Stocker | Date: | Wed, 04 Aug 2004 13:09:48 +0000 |
| Subject: | Re: Old HTML convert to XHTML Class? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192699@lists.php.net to get a copy of this message | ||
On Wed, 04 Aug 2004 14:57:45 +0200, Jay <jaynews2002@yahoo.se> wrote:
> Hi!
>
> 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.
try tidy as external tool, or even better the tidy extension as native
php extension
chregu
>
> 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>"
>
> or something like that.
>
> Any opensource, commercials?
>
> Thanx In Advance
> Jay
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB