Re: Old HTML convert to XHTML Class?
| From: | Kin-Hing Lo | Date: | Fri, 06 Aug 2004 10:13:26 +0000 |
| Subject: | Re: Old HTML convert to XHTML Class? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192976@lists.php.net to get a copy of this message | ||
There are HTML Tidy Web Services avaliable, just found one quickly via Google:
http://vsbabu.org/services/tidy/introspect.php
PHP 5 has SOAP support built in, otherwise you'll need to find a class for SOAP/XML-RPC. PEAR has a class for XML RPC and Soap, NuSOAP is another nice SOAP client.
Hope this helps :)
Jay wrote:
Christian Stocker wrote:ThOn Wed, 04 Aug 2004 14:57:45 +0200, Jay <jaynews2002@yahoo.se> wrote:I can´t use Tidy because i can´t install it on my server...i got a hosted server. So i don´t have access to install stuff. Thanx JayHi! 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 chregue.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