[Htmlparser-user] Re: Htmlparser-user digest, Vol 1 #171 - 1 msg
Brought to you by:
derrickoswald
From: Derrick O. <Der...@ro...> - 2003-01-20 00:20:24
|
Pavan, The HTMLLinkTag class has methods to determine the type: isMailLink(), isJavascriptLink(), isFTPLink(), isHTTPLink(), isHTTPSLink() and isHTTPLikeLink(). By a FILE link do you mean something like file:///C:/config.sys? Derrick htm...@li... wrote: >From: "Pavan Podila" <pav...@pe...> >To: <htm...@li...> >Date: Sun, 19 Jan 2003 17:49:47 +0530 >Organization: P S P L >Subject: [Htmlparser-user] getLink() method of HTMLLinkTag doesn't work properly >Reply-To: htm...@li... > >Hello, > The getLink() method of HTMLLinkTag doesn't return proper values for >MAILTO, JAVASCRIPT AND FILE links. For example for MAILTO links which >appear as: ><a href=3D"mailto:he...@he..."> mailto link </a>, the getLink() >method returns only he...@he... (without the "mailto:"). I think it >should be returning mailto:he...@he.... Similar behaviour occurs for >JAVASCRIPT link and FILE links don't get detected at all. > My application depends crucially upon the presence of these >protocols in the link and the inclusion of the protocol as part of the >link will greatly help me. I am facing lot of problems because of this >behaviour. Please help. > >thanks, >Pavan > > |