On Wed, 04 Aug 2004 23:55:12 +0200, Jay <[EMAIL PROTECTED]> wrote:
> Justin Patrin wrote:
> > On Wed, 04 Aug 2004 19:02:41 +0200, Jay <[EMAIL PROTECTED]> wrote:
> >
> >>Jay Blanchard wrote:
> >>
> >>>[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.
> >>
> >
> >
> > Since you can't use the tidy PHP extension, you could always use tidy
> > from the command-line.
> >
> 
> 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 Advance
> 

If you can upload files and run system commands, you should be able to use it.

Tidy actually tidies up your HTML. ;-)

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

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

Reply via email to