SOAP? Bah! What's wrong with /bin/sh?
The frenzy over Google's new SOAP API is just plain silly. Today I was sent details by a proud PR representative (I'll not mention them, but you'll likely hear from them yourselves) of his company's Google-over-email service, using the SOAP interface. What a waste of space for something that can be done in one line of shell script! Here's how...
Grab your local Linux/BSD box of preference, put this bit of script into a file, say /usr/local/bin/google.sh, and make it executable.
Then, edit your /etc/aliases file, and add in something like:
Run newaliases and you're all set. Send email to the google user on your host, and put your query string in the subject field. You'll get back a nice HTML email with up to 100 results from Google.
It's more or less a one-liner. (You'll need lynx and formail, which comes with procmail, installed.)
Please don't come running to me with SOAP demos until they do something useful.
Edd Dumbill is co-chair of the O'Reilly Open Source Convention. He is also chair of the XTech web technology conference. Edd conceived and developed Expectnation, a hosted service for organizing and producing conferences. Edd has also been Managing Editor for XML.com, a Debian developer, and GNOME contributor. He writes a blog called Behind the Times.
Comments on this weblog
1 to 6 of 6
2002-04-18 17:17:54 jenglish [View]
2002-04-18 11:42:27 garym [View]
2002-04-18 11:39:21 davidthewatson [View]
2002-04-18 11:10:37 mchampion [View]
1 to 6 of 6
Return to weblogs.oreilly.com.