Re: [Htmlparser-user] extracting text from paragraph tag<p>
Brought to you by:
derrickoswald
From: walterwkh <wal...@ho...> - 2006-12-13 16:49:36
|
how about this : =20 NodeFilter filter =3D new NodeClassFilter(ParagraphTag.class) list =3D parser.extractAllNodesThatMatch(filter); -----Original Message----- From: htm...@li... [mailto:htm...@li...] On Behalf Of = Derrick Oswald Sent: Thursday, December 14, 2006 12:02 AM To: htmlparser user list Subject: Re: [Htmlparser-user] extracting text from paragraph tag<p> Did you try the StringBean? ----- Original Message ---- From: Khan Khurram Ali <khu...@ya...> To: htm...@li... Sent: Wednesday, December 13, 2006 7:11:03 AM Subject: [Htmlparser-user] extracting text from paragraph tag<p> hi there !=20 I am new to usin htmlparser , and I need to extract pure textual content of the webpage like paragraphs in the webpage. I tried to use paragraph tag class but cannot able to work.=20 Is there any easy way. and one thing the doucments api is extreamly complicated as I can not understand it .=20 please do hellp me out with this..... I just need to extract the pure text of web page that is inside <p> tag thanking for your anticpation in advacnce. Khan,Khurram=20 _________________________________________________________________________= ___ ________ Want to start your own business? Learn how on Yahoo! Small Business. HYPERLINK "http://smallbusiness.yahoo.com/r-index" \nhttp://smallbusiness.yahoo.com/r-index -------------------------------------------------------------------------= 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 HYPERLINK "http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV" \nhttp://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Htmlparser-user mailing list Htm...@li... HYPERLINK "https://lists.sourceforge.net/lists/listinfo/htmlparser-user" \nhttps://lists.sourceforge.net/lists/listinfo/htmlparser-user --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.18/584 - Release Date: = 12/12/2006 23:17 =20 |