Re: [Htmlparser-user] finding meta data
Brought to you by:
derrickoswald
|
From: kavorka <the...@gm...> - 2006-07-25 08:49:52
|
Hi Oswald,
Thanks a lot for your help.
Murat
On 7/24/06, Derrick Oswald <Der...@ro...> wrote:
>
> 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
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Htmlparser-user mailing list
> Htm...@li...
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
|