Re: [SPAM] Re: [PHP] Old HTML convert to XHTML Class
| From: | Justin Patrin | Date: | Wed, 04 Aug 2004 20:45:53 +0000 |
| Subject: | Re: [SPAM] Re: [PHP] Old HTML convert to XHTML Class | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192749@lists.php.net to get a copy of this message | ||
On Wed, 04 Aug 2004 19:02:41 +0200, Jay <jaynews2002@yahoo.se> 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.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--