Re: An E-like command line for the whole of the Web

Tyler Close <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
I've made some improvements to the shell and also added a compelling
example to the documentation. The example code is:

; var search = lib.web._ref(null,
     'http://ajax.googleapis.com/ajax/services/search/web?v=1.0')
; var results = lib.Q.get(search, 'Paris Hilton')
; var feelingLucky = lib.Q.when(results, function (value) {
      return value.responseData.results[0].url;
  })
; feelingLucky
// "http://en.wikipedia.org/wiki/Paris_Hilton"

Read more at:

http://waterken.sourceforge.net/web_send/wsh/?v=1

--Tyler

-- 
"Waterken News: Capability security on the Web"
http://waterken.sourceforge.net/recent.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.