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:

On Wed, 04 Aug 2004 14:57:45 +0200, Jay <[EMAIL PROTECTED]> 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


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
Jay



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






Th

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to