You are here: Re: [PHP] PHP RegExp and HTML tags attributes values etc... « PHP « IT news, forums, messages
Re: [PHP] PHP RegExp and HTML tags attributes values etc...

Posted by BlackDex on 10/03/86 11:10

"Jason Petersen" <fuzzybad@gmail.com> wrote in message
news:5eafe1ec050310084713cca44d@mail.gmail.com...
> On Thu, 10 Mar 2005 00:18:05 +0100, BlackDex <black.dex@lycos.nl> wrote:
>> Hello ppl,
>>
>> I have a question about regex and html parsing.
>>
>> I have the following code:
>> ---
>> <p class=MsoNormal><font size=3 face="Comic Sans MS"><span lang=NL
>> style='font-size:12.0pt;font-family:"Comic Sans
>> MS"'>&nbsp;</span></font></p>
>
> I'm guessing that you're writing a function to parse "HTML" that users
> upload via a web form? I would start with a look at this Perl script
> to fix code generated by MS products:
>
> http://www.fourmilab.ch/webtools/demoroniser/
>
---
Il go and check it out..
---

> Also, PHP's "libtidy" extension might be useful for you, although I
> haven't used it personally.
---
I have tryed it.. But it removes/changes to much even if i disable all the
tidy settings. So thats not an option :(.
---

>
> http://us2.php.net/manual/en/ref.tidy.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация