next up previous
Next: Coming soon Up: html_pl Library Manual Previous: Predicates for Creating Form Handlers

Example Files

 

We have created several example files to illustrate the use of the predicates provided by the package and to demonstrate its capabilities. For each example we list first the Prolog code (.pl) and then its output (.html).

html_simple.pl
The code shown when explaining the use of output_html/2.
html_simple.html
Shown in the same place.
html_demo.pl
A file that illustrates the creation of HTML pages using the specific Prolog HTML structures.
html_demo.html
html_simple_form.pl
A simple file which illustrates the creation of HTML form handlers using the Prolog HTML structures for forms. It also uses the predicates for producing HTML executables and for creating form handlers.
html_simple_form.html
Output the first time the form handler is invoked.
html_simple_form
The executable produced by html_simple_form.pl. Try it out!

html_forms.pl
A more involved example of form handling illustrating more uses of the Prolog HTML structures for forms.
html_forms.html
Output the first time the form handler is invoked.
html_forms
The executable produced by html_forms.pl. Try it out!

Additionally, you can try out webchat, a geographical database server with natural language interface (good old Chat) starting from http://www.clip.dia.fi.upm.es/miscdocs/webchat_info.html.



Mon Mar 18 21:38:39 MET 1996 <clip@dia.fi.upm.es>