I did some work on this myself. It's a bit annoying when sites don't
have a mechanism for a GET HTTP request. A while back Martin
Johannesson wrote a simple http-post script to do those requests.
Then, to help automate it a bit, I wrote a form parser that reads a
web page, parses out a form and returns an object with that info in it
so you can see what it requires to post it back. In the case you are
talking about, here's what I can do:
>> probe parse-form http://www.hembiocenter.se/menu.asp
make object! [
method: 'post
action: "search.asp"
inputs: [word: none search: "actor" search: "title"]
hidden: []
]
Then just change some fields so that your values are filled into the
inputs block for the words you want...
>> inputs
== [word: "sleepy+hollow" search: "actor" search: "title]
since 'search' appears twice, it's the radio buttons and the last one
will be used. Then...
>> page: http-post-form http://www.hembiocenter.se/search.asp inputs
and presto! You have your page. On pages with hidden inputs, you
will have to do an 'append inputs hidden' to pass the rest of the form
data on.
Both scripts are available form rebol.org...
http://www.rebol.org/web/http-post.r
http://www.rebol.org/web/parse-form.r
Anyway, it'll help when you want to use a form where there is no
alternate GET method to use.
Sterling