In order to "read a web page" from a program you have to use HTTP. You can
do this easier if you can use some HTTP library (I think you have
something like this in Java or perl), otherwise you might take a look to
HTTP/1.0 or HTTP/1.1 specification, see RFC2616:
http://www.w3.org/Protocols/rfc2616/rfc2616.html

To read a page you have to do a GET request (see HTTP)

To "fill in some fields" and "submit it" you have to parse the page, then
build a new HTTP request (usually you do a GET or POST).

Anyway, if HTTP or GET sounds completly strange to you, then either
you find an existing library/program and use it, or you have to put some
time in it.


Best,
Mihai Preda



On Thu, 8 Mar 2001, Warhurst, SI (Spencer) wrote:

> I want to write a program a robot to perform a series of actions on a web
> page form (ie: fill in some fields), submit it & then when the resulting
> page is delivered performs further actions. However, I do not know where to
> begin. For example, how do you read a web page displayed in a browser from a
> separate program, and then how do you interact with it from that program?
> Can anyone point me to a tutorial on this or give me some advice?
>
> Thankyou :)
>
> --
> Spencer Warhurst
> JISCmail Administrator
>

Reply via email to