Question on searching
[1/4] from: chris:softsteele at: 7-Nov-2000 21:07
Is there a way to enter information into a web page using rebol for example
to; Select from a select list on a web page enter your name and select a go
button to generate a search. For example if you wanted to automate a query
function to a specific web site.
Thanks
Chris Steele
[2/4] from: al:bri:xtra at: 8-Nov-2000 15:41
Chris Steele asked:
> Is there a way to enter information into a web page using rebol for
example to; Select from a select list on a web page enter your name and
select a go button to generate a search. For example if you wanted to
automate a query function to a specific web site.
Usually you can so this by requesting a search url from the site. Like this:
>> print read join http://www.google.com/search ["?q=" ask "Search for: "]
Search for: rebol
<html>
<head><META HTTP-EQUIV="content-type" CONTENT="text/html;
charset=ISO-8859-1">
<title>Google Search: rebol </title>
<style><!--
body {font-family: arial,sans-serif;}
div.nav {margin-top: 1ex;}
<snip!>
Which finds this results of looking for Rebol through Google like this
direct link:
http://www.google.com/search?q=rebol
I hope that helps!
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
[3/4] from: allen::rebolforces::com at: 8-Nov-2000 13:48
----- Original Message -----
From: "Andrew Martin" <[Al--Bri--xtra--co--nz]>
To: <[rebol-list--rebol--com]>
Sent: Wednesday, November 08, 2000 12:41 PM
Subject: [REBOL] Re: Question on searching
> Chris Steele asked:
> > Is there a way to enter information into a web page using rebol for
> example to; Select from a select list on a web page enter your name and
> select a go button to generate a search. For example if you wanted to
> automate a query function to a specific web site.
For Forms that require POST for submission. Use read with the custom
refinement.
print read/custom http://babelfish.altavista.com/translate.dyn reduce ['POST
{text=REBOL+Rules&lp=en_fr}]
Cheers,
Allen K
[4/4] from: chris:softsteele at: 8-Nov-2000 13:04
Allen and Andrew
Thank you very much for your help. I have never used REBOL before so your
assistance is much appreciated
Chris Steele