Re: [Htmlparser-user] HTML Parsing
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-03-14 12:43:41
|
Here's your program attached. Run it on the attached file. I think this is what you wanted to do. Regards, Somik ----- Original Message ----- From: "Somik Raha" <so...@ya...> To: "HTMLParser User List" <htm...@li...> Sent: Wednesday, March 13, 2002 11:38 PM Subject: Re: [Htmlparser-user] HTML Parsing > Yes - this should be possible. You have to process a HTMLTag, and check if > it is a DIV tag. If yes, you can use the parseParameters() to get the CLASS > value. > > Regards, > Somik > ----- Original Message ----- > From: "Kalyan Kumar Mudumbai" <mk...@wi...> > To: "'Somik Raha'" <so...@ya...> > Sent: Wednesday, March 13, 2002 2:56 PM > Subject: RE: [Htmlparser-user] HTML Parsing > > > > Hi Somik, > > thanks alot for the quick reply. I had had a feel of the parser. I > > wanted to obtain the attribute value of CLASS in DIV to do the further > > processing in my application. But what I found from the initial running > was, > > DIV tag hasn't been handled (if I'm not wrong. Please excuse me for my > > ignorance). I have also tried using the default java parser > > HTMLEditorKit.ParserCallback. Even this guy is also not handling this one. > > Can I handle this and if so, how can I? > > Thanks for your input. > > > > Regards, > > Kalyan > > > > > -----Original Message----- > > > From: Somik Raha [SMTP:so...@ya...] > > > Sent: Tuesday, March 12, 2002 1:10 PM > > > To: Kalyan Kumar Mudumbai > > > Subject: Re: [Htmlparser-user] HTML Parsing > > > > > > Hi Kalyan > > > It seems like you are using something else other than HtmlParser. > > > Please download htmlparser from http://htmlparser.sourceforge.net > > > You will find the documentation as well with all info. To try it > > > immediately after downloading it, you can try : > > > run.bat http://www.yahoo.com > > > > > > Type run.bat to get options for your switches. In your question - you > want > > > to only extract links. So you can do : > > > > > > run.bat http://www.yahoo.com -l > > > > > > This will only show you the links. > > > > > > Regards, > > > Somik > > > > > > > > > This message is confidential and may also be legally privileged. If you > are not the intended recipient, please notify us immediately. You should not > copy it or use it for any purpose, nor disclose it's contents to any other > person. The views and opinions expressed in this e-mail message are the > author's own and may not reflect the views and opinions of Wilco > International. > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user |