I found that writing my own parser to fit my specific need was far and away
the fastest thing I could do. It really depends upon your specific
application. HTML::Parser is nice if you want to see the structure of the
document your parsing but is just too slow to use for wresting particular tags
from a document... If you're interested, I could forward you the code snippet
I wrote as it is part of a package we've obtained a software release from AT&T
called absent (see http://www.research.att.com/projects/absent/ for more).

Regards,
Christian

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Ian Mahuron
> Sent: Wednesday, November 10, 1999 1:10 PM
> To: Ian Mahuron; ModPerl
> Subject: RE: Trying not to re-invent the wheel
>
>
>
> As per someone's suggestion I'll ellaborate on what's in the HTML...
>
> Insert code for advertisment (there's 1,000's of different ads on the
> site.):
> <ADVERTISMENT id=252>
>
> Insert news scroller:
> <NEWS_ITEM id=92834 bgcolor="#0066FF">
>
> There will be at least 50 similar tags.. so I'm not parsing for just a
> couple of tags like HTML::Template..
>
> I may implement IF/LOOPS/etc.. but not until I see the need.
>
> I've written up a few test benches for HTML::Parser.. it
> works ok, but it's
> not as fast as I would like it to be.
>
> Ian
>
>

Reply via email to