title:pagemaker:pagemaker:Software:Web Page Maker main:Web Page Making Tool page:index:Web Page Making Tool This is the tool I use to create most of the web pages on this site (including the ones you are reading now). It takes a description file and generates a set of web pages. If photos are referenced, then you will need the PNM toolset to create the small and large versions of the photos. page:download:Dowloads
There are 6 special tags that can be used. Everything else is placed verbatim into the appropriate web page and so all HTML syntax is valid. Be careful, however, not to begin a line with one of the special tags (though they need to be immediately followed by a colon to be treated as a tag).
The special tags are:
imgconv script to generate the images
actually used in the pages).NAME.html will be generated in the current directory
and all referenced pages will be created in DIRECTORY
and TITLE will be used in the <title>
tag in each generated page.page
tag will go into the file FILE.html in the directory
specified by the title tag. The front page will also
get a hyperlink to the file using this HEADING which
will also form the main heading for this page.HEADING
text to generate links forward and backwards. If that text is
overly long, then this tag allows you to specify a shorter form.photo or
page tag will be used as a caption for the specified
image. It is expected that there exists both
DIRECTORY/small/PHOTO (used inline in this page) and
DIRECTORY/pics/PHOTO (displayed when the smaller
image is selected). The imgconv application
generates both of these from the original at appropriate sizes.
The base directory used and subdirectories small
and pics will be created if they do not already exist.
The original will be scaled to generate a small image which is no more than 256 pixels wide and 192 pixels high (maintaining aspect ratio) and a larger image no more than 1024 pixels wide and 768 pixels high. The images created will be the largest that fir these criteria.
The script uses jpegtopnm, pnmscale and
ppmtojpeg from the PPM toolset. These also have the
advantage of generating quite small files by using JPEG compression
techniques without noticably degrading image quality which helps
prevent your pages from taking too long to download for users.
Note that the script was designed to use the bash shell
and the first line should be edited to reflect this shell's location
on your site. If you do not have bash, then you should
be able to use the korn shell (ksh) instead.