Re: [Htmlparser-user] finding meta data
Brought to you by:
derrickoswald
|
From: kavorka <the...@gm...> - 2006-07-28 20:53:56
|
Hi Oswald,
I have another question. In HTMLPARSER, is it possible to extract only the
text in the webpage. In the stringextractor program, it extract also link
text in the page, i want to extract "pure" text. can i do it?
thanks
Murat
On 7/25/06, kavorka <the...@gm...> wrote:
>
> 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
> >
>
>
|