| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Thu Apr 17, 2003 2:51 pm Post subject: Submit using VDSIPP.DLL |
|
|
How could i do the following. an example line or two would be great.
Submit a keyword to a search engine eg.
Yahoo and then retrieve the results ?
Any way of doing this?
I know you could use the POST command in vdsipp.dll but what are the parameters to use ?
Nathan |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Apr 17, 2003 5:09 pm Post subject: |
|
|
You asked for two???
| Code: | internet http,get,1,http://search.yahoo.com/bin/search?p=@input(Search for...)&ei=UTF-8
info @internet(http,content,1) |
Be sure to make a connection before you try it... I wanted to add it, but I would exceed those two lines then...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Thu Apr 17, 2003 7:17 pm Post subject: |
|
|
Could you explain a bit more....?
I what to submit a keyword to a search engine and retrieve the results !
OK, I won't restrict the amount of lines you should post !
Nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Apr 17, 2003 7:20 pm Post subject: |
|
|
The gadget.dll can do this with the Google APIs... not sure if you've seen
that. What Skit did in those lines was used the VDSIPP.DLL and retreived
the content which could be processed and displayed.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Thu Apr 17, 2003 7:55 pm Post subject: |
|
|
Hopefully this gives you a better idea of what you can do:
| Code: |
EXTERNAL vdsipp.dll
internet HTTP,CREATE,1
internet http,get,1,http://search.yahoo.com/bin/search?p=@input(Search for...)
:evloop
wait event
goto @event()
:HTTP1ONGETDONE
list create,1
list assign,1,@internet(http,content,1)
list savefile,1,@WINDIR(T)\SearchResults.tmp.html
SHELL OPEN,@WINDIR(T)\SearchResults.tmp.html
WAIT 3
FILE DELETE,@WINDIR(T)\SearchResults.tmp.html
exit
|
_________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|