Re: [Htmlparser-user] finding meta data
Brought to you by:
derrickoswald
|
From: Derrick O. <Der...@Ro...> - 2006-07-24 03:25:32
|
Kavorka,
This should give you the meta tag, from which you can get the
information you want:
NodeList nodes = parser.parse (null);
NodeList metas = nodes.extractAllNodesThatMatch (new TagNameFilter
("META"));
MetaTag meta = (MetaTag)metas.elementAt (0);
System.out.println (meta);
Derrick
kavorka wrote:
> Hi all,
> I'm new to HTML-parser. I used sample programs to understand how can i
> find the meta data of the page but i could't use it. Do you have any
> code samples that finds meta data of the page using HTMLparser.
> Thank you
> best regards
>
|