An include function is a small piece of useful HTML code that you can use in your web pages. All include functions available to you are of the form (be very careful with blank spaces -- it's best to copy and paste as much as possible).
<!--#include virtual='/cgi-bin/SCRIPT'-->These HTML snippets can be placed in any web page, and in any news item or seminar talk announcement. To see what each script does, enter the URL
https://www.math.temple.edu/cgi-bin/SCRIPTin your browser.
Below are the possible choices for SCRIPT (in red) and their uses.
get_headerThis generates the top part of the page, including the headings and navigation menubar.
get_footerThis generates the bottom part of the page.
get_dir_heading?uri=/dir1/dir2/This generates a link header for inter-related pages as described in "Creating your own web page".
get_avatar?email=uidThis displays the image [if one was uploaded via the Join page] of the person whose Temple username is uid. If their home folder has a home web page, then this image is clickable.
get_blurb?email=uidThis displays the blurb or bio that the person whose Temple username is uid has uploaded and that appears in their /people page.
get_image_gallery?dir=/dir1/dir2/img&width=ssThis display a clickable gallery of all images located in the folder /dir1/dir2/img, with each image width resized to equal ss% of the page width, where ss is an integer between 1 and 100. When specifying the folder, do not include the DOCROOT /www/math in the folder path /dir1/dir2/img. The images in the gallery are sorted according to increasing aspect ratio. After width resizing, this is the same as saying according to decreasing heights. To sort the images chronologically, replace the code by
get_image_gallery?dir=/dir1/dir2/img&width=ss&order=chrono. To custom sort the images, insert a .order file in /dir1/dir2/img, containing a vertical listing of the images' filenames.
get_image_slideshow?dir=/dir1/dir2/img&height=ssThis displays a slideshow of all images located in the folder /dir1/dir2/img, with each image height resized to equal ss pixels. When specifying the folder, do not include the DOCROOT /www/math in the folder path /dir1/dir2/img. The images in the slideshow are sorted according to decreasing aspect ratio. After height resizing, this is the same as saying according to decreasing widths.