Using Guestbook Technology to impliment simple Web based applications.
The guestbook CGI script wraps the escaped data from the form into a file called gbookFXXX.js formatted into function calls.
// two guest book additions
gbF(
"Test Call", "email", "15 Nov 2003", "IPaddress",
"userfield1", "userfield2", "userfield3", "userfield4",
"Testcomments"
);
gbF(
"name", "email", "Fri, 26 Jan 2007 20:59:00 UTC+0100", "212.56.108.219 | dougrice.plus.com ",
"userfield1", "3", "userfield3", "userfield4",
"test"
);
The function is defined:
<script>
function gbF( name,email,postedOn,IPaddress,userfield1,userfield2,userfield3,userfield4,comments){
// you do what you want here!
};
</script>
The guestbook entries are stored at: http://ccgi.dougrice.plus.com/gb/gbookFXXX.js
and is included into a web page using:
<script language = "JavaScript" type = "text/javascript"
src = "http://ccgi.dougrice.plus.com/gb/gbookFXXX.js" >
</script>
It contains comments and a list the text below and comments.