Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-17 Thread Robert Barta
On Thu, Jul 14, 2005 at 08:42:40PM +0200, Peter Stevens wrote: Under the heading of small serious amounts of work... I mentioned previously Win32::IE::Mechanize - does anybody have any ideas on how to do the same thing with Firefox under Linux? Have a look at KDE, DCOP and Konquerer and the

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-15 Thread John J Lee
[John Lee] That's not a small amount of work you've just set Warren to do. :-) (speaking as somebody who made a semi-serious attempt at it, in Python) [deborah sciales] Well, I guess it depends on his set of needs, and he does have tokeparser and treebuilder, etc to use. If his javascript

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-15 Thread John J Lee
On Thu, 14 Jul 2005, Peter Stevens wrote: Under the heading of small serious amounts of work... I mentioned previously Win32::IE::Mechanize - does anybody have any ideas on how to do the same thing with Firefox under Linux? [...] Warning: I'm not up-to-date on this, take what I say with a

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-14 Thread John J Lee
[Warren Pollans] The problem I'm running into is trying to deal with scripts that use javascript - so far, I've had to ignore them or, at least, those [deborah sciales] You might also try writing your own javascript parsing routines? That's not a small amount of work you've just set Warren to

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-12 Thread John J Lee
On Mon, 11 Jul 2005, Warren Pollans wrote: I've been using WWW::Mechanize to automate testing of cgi scripts - works great! The problem I'm running into is trying to deal with scripts that use javascript - so far, I've had to ignore them or, at least, those [...] I really like being able to

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-11 Thread Andy Lester
On Mon, Jul 11, 2005 at 05:13:04PM -0400, Warren Pollans ([EMAIL PROTECTED]) wrote: Is there a way to get Mech to handle javascript? Has anyone been able to do this? Anyone working on it? Or have I missed something? No. No. Theoretically. No. -- Andy Lester = [EMAIL PROTECTED] =

RE: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-11 Thread Lan, Fang
What's the theoretical reason? -Original Message- From: Andy Lester [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 2:14 PM To: Warren Pollans Cc: libwww@perl.org Subject: Re: Javascript and WWW::Mechanize or LWP::UserAgent? On Mon, Jul 11, 2005 at 05:13:04PM -0400, Warren

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-11 Thread Andy Lester
On Mon, Jul 11, 2005 at 02:18:32PM -0700, Lan, Fang ([EMAIL PROTECTED]) wrote: What's the theoretical reason? I know of someone who told me last week that he was working on a JavaScript implementation. I haven't heard anything since. -- Andy Lester = [EMAIL PROTECTED] = www.petdance.com =

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-11 Thread apv
Last year I was trying to extend some of Sean Burke's DOM stuff with a primitive pure perl JavaScript parser and classes to mimic JS objects. It's difficult and I didn't get far before running out of time and putting it aside. Probably the right avenue is this sort of approach,

Re: Javascript and WWW::Mechanize or LWP::UserAgent?

2005-07-11 Thread Peter Stevens
Hi Warren, I wrote some comments on dealing with javascript from a scraper for this list. You can find the comments, e.g. at http://www.codecomments.com/message443297.html - It doesn't sound like that's really a solution to your problem, however, since presumably you want to test the