Re: Parsing HTML : I would appreciate advice

"Joachim Pimiskern" <JoachimPimiskern@web.de>
15 Nov 2006 00:12:16 -0500

          From comp.compilers

Related articles
Parsing HTML : I would appreciate advice jim@aol.com (Jim) (2006-11-13)
Re: Parsing HTML : I would appreciate advice zingard@mcmaster.ca (Daniel Zingaro) (2006-11-15)
Re: Parsing HTML : I would appreciate advice JustinBl@osiristrading.com (excalibur2000) (2006-11-15)
Re: Parsing HTML : I would appreciate advice vidar.hokstad@gmail.com (Vidar Hokstad) (2006-11-15)
Re: Parsing HTML : I would appreciate advice Juergen.KahrsDELETETHIS@vr-web.de (Juergen Kahrs) (2006-11-15)
Re: Parsing HTML : I would appreciate advice JoachimPimiskern@web.de (Joachim Pimiskern) (2006-11-15)
Re: Parsing HTML : I would appreciate advice m.collado@fi.upm.es (Manuel Collado) (2006-11-15)
Re: Parsing HTML : I would appreciate advice ojh16@student.canterbury.ac.nz (Oliver Hunt) (2006-11-15)
Re: Parsing HTML : I would appreciate advice sorry@nospam.org (Tim Van Holder) (2006-11-18)
| List of all articles for this month |

From: "Joachim Pimiskern" <JoachimPimiskern@web.de>
Newsgroups: comp.compilers
Date: 15 Nov 2006 00:12:16 -0500
Organization: Compilers Central
References: 06-11-059
Keywords: parse
Posted-Date: 15 Nov 2006 00:12:16 EST

Das moderator schrieb:
> [There's a bazillion HTML parsers available. I write most of my stuff
> in perl these days, so I like the HTML::Parser package which could
> easily do what you want. -John]


For an example of how to use HTML::Parser, see
http://www.augos.com/temp/MyHtmlParser.pm


You would use this class like:


$o = MyHtmlParser->new();
my ($title,
        $meta_keywords,
        $meta_description,
        $meta_robots,
        $words,
        $links,
        $cached)= $o->analyze($html);


where $html is a string that contains
the HTML page.


Regards,
Joachim


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.