Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

refinement for whois protocol

 [1/4] from: a:none:email:it at: 21-Apr-2002 22:56


Does anyone know how to set the server refinement for the whois scheme? what I want to do is build a view interface so I can do a whois lookup on the name entered. The problem I`m having is specifying the @rs.internic.net when I try to join whois:// + variable [+--rs--internic--net] I get a malformed email address error. Can I do a refinement to pre-specify the whois server resource ? Adrian -- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Puglia Pocket: le ultime notizie, gratis, sul tuo sito; devi solo prenderlo Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=314&d=22-4

 [2/4] from: al::bri::xtra::co::nz at: 22-Apr-2002 17:09


Adrian wrote:
> The problem I`m having is specifying the @rs.internic.net when I try to
join whois:// + variable [+--rs--internic--net] I get a malformed email address error. Can I do a refinement to pre-specify the whois server resource ? Try something like:
>> variable: "www.rebol.com"
== "www.rebol.com"
>> rejoin [whois:// variable "@rs.internic.net"]
== whois://[www--rebol--com--rs--internic--net] Andrew Martin ICQ: 26227169 http://valley.150m.com/

 [3/4] from: chalz:earthlink at: 22-Apr-2002 4:06


I've got a script on my website for executing whois through my web browser. I'm sure it can be done more elegantly, but this was still early for me. And it works, so why mess with it? ;) Anyways, here's what the script says: ; service: "internic.net" service: "whois.geektools.com" print "Content-Type: text/plain^/" if not query: system/options/cgi/query-string [ print "Usage: whois?<id>" print "For instance, whois?chalz.net" ; print "Uses InterNIC. If you want to use" print "Uses whois.GeekTools.com. If you want to use" print " another service, use <id>@<service>." halt ] id: first query: parse query "@" if (length? query) = 2 [ service: second query ] print read rejoin [whois:// id "@" service]

 [4/4] from: ronald:free at: 22-Apr-2002 9:23


Hi none, Monday, April 22, 2002, 12:56:08 AM, vous avez écrit: n> Does anyone know how to set the server refinement for the whois scheme? n> what I want to do is build a view interface so I can do a whois lookup n> on the n> name entered. The problem I`m having is specifying the @rs.internic.net n> when I try to join whois:// + variable [+--rs--internic--net] I get a malformed n> email address error. Can I do a refinement to pre-specify the whois server n> resource ? n> Adrian n> -- n> Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f n> Sponsor: n> Puglia Pocket: le ultime notizie, gratis, sul tuo sito; devi solo prenderlo n> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=314&d=22-4 Try this : whois: func [ "Retrieves 'whois' information from Network Solutions' server" domain "Domain to Look Up" [string! word!] /server whois-domain "Alternative Whois Server" [string! word!] ][ if not server [whois-domain: 'whois.networksolutions.com] read join whois:// [domain "@" whois-domain] ] print whois "rebol.com" Taken from script called whois.r that could perharps help you (view/desktop/sites/Automation/whois.r from Christopher Ross-Gill) -- Best regards, Ronald