Good point.  I probably wouldn't have looked now that I think about it :0

Anyhow, try
http://www.hembiocenter.se/search.asp?word=line&search=actor

http://www.hembiocenter.se/search.asp?word=line&search=title

word=<movie title/actor name>
search=<search type (actor/title)

This should get you the data you need.  I tried it and I get the same
results (minus the frames of course) as if I had typed 'line' into their
form search box.

Good luck.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 08, 2000 7:34 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] Getting an URL from a form Re:(4)


Hi,
of course that isn't the right URL, as it's a swedish site I figured no one
would try it. Anyways, the real URL for the site is www.hembiocenter.se in
the top left corner you have the search form. Here's a small swedish
dictionary:

Sök Film = Search Movie
Sök = Search
Skådespelare = Actor
Titel = Title

:)

Have a look see...

/Regards Stefan Falk

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 8 juni 2000 13:29
To: [EMAIL PROTECTED]
Subject: [REBOL] Getting an URL from a form Re:(3)


I'd like to help, but I can't see that the company sells DVD movies at all.
I can't find that they have a search page either.  I tried to the url you
supplied, but it just isn't there for me.

Regardless, I would be interested in how you go about parsing the return
page when you get to that part.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 08, 2000 3:44 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] Getting an URL from a form Re:(2)


Hi,
uhm, I'll try to explain what I want to do.

The site I'm looking at is a company that sell DVD movies. They have a
function to search for movies. I want to be able to make that search, not by
going to their homepage and typing in the form below, but just to enter an
URL (or send an URL from a Rebol script actually), and then parse the
returned page to get the info I want. The problem is that I don't know the
syntax of the URL being sent (if it's possible to use an URL). IE. one of
their links show something like:

http://www.dvdshop.com/dvdsearch.asp?category=Horror

if I press that link I get a list of all the horror movies. However, when it
comes to the search form, I'm unable to figure out what the URL should look
like. I've tried for example:

http://www.dvdshop.com/dvdsearch.asp?title=Scream

However, this isn't working, and I'd like to know what the info being sent
to their script look like, so I can reproduce it in my Rebol script.

As I see it, there's only thing I can do. Learn what all those ? = & etc.
mean in a form posted URL and use trial and error... Or if I can capture the
info sent from the form somehow to read and be able to reproduce it from a
script.

//Regards Stefan Falk

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 7 juni 2000 20:03
To: [EMAIL PROTECTED]
Subject: [REBOL] Getting an URL from a form Re:


Hey Stefan,
I dont quite understand what your trying to do, but I will try to give you
some
information you may be able to use anyways.

As you should already know HTTP servers take information from forms and pass
it
to a CGI program using POST or GET.  The GET request can pass data via URL
encoding such as "www.foobar.com/test.cgi?test=on".

With POST, your data is sent additionally, not as part of a URL.  This
prevents
your data from being viewed or entered as a URL, and as I understand was
inpart
the reason they came up with POST.

Hope I helped,
--Ryan


[EMAIL PROTECTED] wrote:

> Hi list,
> this might not be Rebol related directly, but since I intend to use the
info
> for a rebol script I guess it's ok. Anyways, here we go.
>
> There's a page with a search form, and I'd like to know what the POSTed
URL
> look like. The source goes something like this:
>
> <FORM ACTION="search.asp" method=post target="rightframe" NAME=frmSearch>
>                         <TD width=15 height=1></TD>
>                         <TD><INPUT TYPE="text" SIZE=11 NAME=word></TD>
>                         <TR>
>                         <TD></TD><TD><INPUT TYPE="radio" NAME="search"
> VALUE="actor" CHECKED>
>                         <IMG SRC="Actor.gif"></TD>
>                         </TR>
>                         <TD></TD><TD><INPUT TYPE="radio" NAME="search"
> VALUE="title">
>                         <IMG SRC="title.gif"><INPUT TYPE=image
> SRC="search.gif" BORDER=0 ALT="Search"></TD>
>                      </FORM>
>
> Of course, I tried to (naive as I am), to post an url that has the form
data
> like this: http://blaaah.com/search.asp?title=blaaah
>
> but this isn't the right one. Is there any way I can instead of performing
> the search just see the url?
>
> Any info appreciated
>
> //Regards Stefan






Reply via email to