% mk_web_page -help
General information about the UU huisstijl can be found in
The icons are in /users/www/icons/uu/ and
can be referred to in web pages with /icons/uu/.
Icon /icons/uu/CS_home.gif (below) is an extra (thanks Hans Bodlaender).
The mk_web_page program has support for the <META> tag. Use the -keys option with one or more keywords (separated with comma's) as argument.
Consider this page as an example. To generate the HTML template for this page, the following command was executed:
% mk_web_page -title "Templates and Indexing" \ -keys "Templates,Indexing" > page.htmlAll the HTML-code before the upper horizontal line and below the lower horizontal line is generated by the program. Here's an example of the header section:
<html> <head><title>Templates and Indexing</title> <META NAME="Keywords" CONTENT="Templates,Indexing"> </head> <body>If you select the index-button at the lower section of this page, you could see the two entries Templates and Indexing. Of course you can add the <META> tag by hand if you don't want to use the mk_web_page program.
If you want to supply some keywords, but you don't want your file to appear
in the index, add the keyword
to your list of keywords.
<FORM METHOD=POST ACTION="/email@example.com/subject"> .... </FORM>where user is a valid user or sendmail alias and subject is the url-encoded subject of the message to be sent. You have url-encoded the subject if you only use letters and digits, and type '+' instead of <SPACE>. For example
The mail you receive looks like a list of key/value-pairs:
Date: Wed, 26 Aug 1998 09:05:01 +0200 (MET DST) From: firstname.lastname@example.org To: email@example.com Subject: subject Sender: firstname.lastname@example.org comments=first line realname=My Name email@example.comHowever, the values are just what the user typed in, so values (from TEXTAREAS's) may contain for instance newlines which makes parsing of the mail message difficult. Decoding of user data can be suppressed by including a hidden field ENCODE in your form.
<INPUT TYPE="hidden" NAME="ENCODE" VALUE="1">Nonprintable ascii is now url-encoded and may decoded in a perlscript with the magic incantation:
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg ;If a hidden field ENCODE is used, the first line of your mail will be:
ENCODE=valuedepending on the value of the hidden field ENCODE, so your script can easily determine the proper decoding.
When you use the hidden field TOHTML, the result page will show the full content of the mail that is sent.
<INPUT TYPE="hidden" NAME="TOHTML" VALUE="1">
mail-form replaces all other scripts
mailing form output to users.