NYCPHP Meetup

NYPHP.org

[nycphp-talk] Anyone know of a decent HTML parser class?

Hans Zaunere zaunere at yahoo.com
Thu Feb 6 08:40:24 EST 2003


Hi George,

--- George Webb <gw.nyphp at gwprogramming.com> wrote:
> Hi.
> 
> 	Has anyone seen or heard of a PHP class that will parse an HTML
> document and return some sort of structured list of elements?

This is something that the community could probably use, since I haven't
found a good solution and it's a topic that comes up frequently.

So far, I've only found:

http://www.zend.com/codex.php?id=367&single=1
http://sourceforge.net/projects/html-parser

> 	I don't know much about the expat library, but perhaps it might be
> helpful?  Or does that only work with XML?

I don't believe it supports HTML either.

Hans



More information about the talk mailing list