[5452] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

modular web browser

daemon@ATHENA.MIT.EDU (George Phillips)
Fri Sep 2 00:11:53 1994

Date: Fri, 2 Sep 1994 04:54:19 +0200
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: phillips@cs.ubc.ca
From: George Phillips <phillips@cs.ubc.ca>
To: Multiple recipients of list <www-talk@www0.cern.ch>

Good stuff.  You may want to consider using CGI as your interface
to protocol handlers.  It covers all the information you need in
environment variables and has ways to handle POST data and the like.

You may say "But CGI is for servers".  Yes, it is, but you can look
at those external protocol handlers as servers.  You could handle
unknown protocols by connecting to an HTTP server and giving it
the full URL and have it gateway for you.  That's done all the
time by proxy servers.  What you've done is cut out the HTTP middleman
and directly run the gateway.  With the HTTP server out of the way,
CGI logically follows as the interface.  Well, it _does_ make sense,
I may just not be explaining it well.

I've got some code which almost does what you want (except that it's
tied to a particular URL scheme), look under
http://www.cs.ubc.ca/doc/world/exec/intro to find it.


home help back first fref pref prev next nref lref last post