|
From: Stas Z <sta...@gm...> - 2005-09-12 13:23:16
|
On 9/12/05, Waseem S. Daher <wd...@mi...> wrote: > On Mon, 2005-09-12 at 14:40 +0200, Stas Z wrote: > > > > We need javascript Python bindings :-) > I was more being facetious than anything else -- I'm not totally > convinced there's an easy way to handle these gmail changes totally > agnostically. I mean, I guess gmail tells us what 'objects' correspond > to what variable names, in javascript, but there's nothing really to say > that those variable names won't change (and if they do, we need to > rewrite some code), right? You right, I'm wrong. I've warned you about my knowledge of javascript :-) =20 > I guess we could try to parse some javascript in the Python, but I guess > I don't see what's to be gained from doing it. (Though it's probably > that I just don't understand what's going on with what you're proposing) My line of thinking was something like this: - Gmail changes it's pages. - libgmail is broken. - Firefox, or any other browser, is not broken. - Why? - Because firefox parses the webpages while libgmail hacks into them with regexp etc. So I was thinking about some way to "run" the javascript rather then trying= to get the information out of it. Yeah, I realize that running javascript is something only done by lunatics, it's just a thought :-) After googling for "Python parsing javascript" I think I will forget my parsing ideas. Stas =20 --=20 A nation that continues year after year to spend more money on military def= ense than on programs of social uplift is approaching spiritual doom. Martin Luther King, Jr. |