W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

Re: libwww & javascript

From: (wrong string) çois Chenais <Francois.Chenais@citb.bull.net>
Date: Tue, 10 Jul 2001 11:51:15 +0200
To: "???" <thedeft@softwise.co.kr>
Cc: www-lib@w3.org
Message-Id: <20010710115115.581b8f41.Francois.Chenais@citb.bull.net>
A would like to do the same thing but How can I dectect the deference 
between  

    <a href="/hello/world">my link

and

    url='"/hello/';
    doc.write("<a href=" + url +'world\"' );


    I've seen someone writing this Sh... code !!   :-|


My problem is to add a session id on the url :-)

	François






On Tue, 10 Jul 2001 18:00:02 +0900
"???" <thedeft@softwise.co.kr> wrote:

> 
> ----- Original Message ----- 
> From: "François Chenais" <Francois.Chenais@citb.bull.net>
> To: <www-lib@w3.org>
> Sent: Tuesday, July 10, 2001 5:37 PM
> Subject: libwww & javascript
> 
> 
> Hello,
> 
> Is libwww included functionnalities for parsing javascript code ?
> 
> 
> François
> 
> 
> -- 
> Francois.Chenais@citb.bull.net
>    BULL-CITB            tel:(+33) 556 437 848   Home: francois@chenais.net
> 207, cours du Médoc     fax:(+33) 556 437 978   http://www.citb.bull.net
>  33000 Bordeaux         BullCom: 227 7848       ICQ :3886291
> -------------------------------------------------------------------- Linux -----
> 
> No, Javascript is not understood by libwww. I'm also looking for ways to parse "some" java functionalities within HTML documents (for following links generated by javascript). I did a little trick with default HTML parser such that things within <SCRIPT> tags are passed as "LITERAL" sgml elements. So that I can use HText_addText calls and parse the codes explicitly. All I've done is extract everything within single/double quotes and decide whether they can be valid links or not. Inappropriate, but worked in quite a few cases.
> 
> Are there open source Javascript interpreters that I may be able to use ?
> 
> 


-- 
Francois.Chenais@citb.bull.net
   BULL-CITB            tel:(+33) 556 437 848   Home: francois@chenais.net
207, cours du Médoc     fax:(+33) 556 437 978   http://www.citb.bull.net
 33000 Bordeaux         BullCom: 227 7848       ICQ :3886291
-------------------------------------------------------------------- Linux -----
Received on Tuesday, 10 July 2001 05:46:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT