forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Submit using VDSIPP.DLL

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Thu Apr 17, 2003 2:51 pm    Post subject: Submit using VDSIPP.DLL Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Apr 17, 2003 5:09 pm    Post subject: Reply with quote

You asked for two??? Very Happy

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... Wink

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Thu Apr 17, 2003 7:17 pm    Post subject: Reply with quote

Question

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 ! Very Happy

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Apr 17, 2003 7:20 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Thu Apr 17, 2003 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Apr 17, 2003 8:59 pm    Post subject: Reply with quote

Thanks SnarlingSheep. Wink
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group