/* static_html.li @(#)static_html.li 1.3 10/13/95 by Scott McGee (smcgee@microware.com) This is a library of functions and data used by a variety of GenWeb programs which produce static HTML files. It also provides all needed customizing data in onefile to allow easy customization of the GenWeb system to a new site. The proc set_static_html_globals() should be called early in programs using this library, before any other calls to its code are made. This proc sets the customization globals. */ /* customization globals - customize values assigned in main */ global(db_owner) /* name of database owner */ global(owner_addr) /* url of database owner (mailto or homepage) */ global(use_image) /* flag to indicate whether to use genweb image */ global(genweb_image) /* name of genweb image to place on each page */ global(use_page) /* flag to add link to genweb page or homepage */ global(genweb_page) /* URL of base genweb (or homepage) web page */ global(page_name) /* name of base genweb (or homepage) web page */ global(LDS) /* display LDS Ordinances? (1=yes 0=no) */ global(html_index) /* put HTML tag in INDEX file (1=yes 0=no) */ proc set_static_html_globals(){ /* customize these globals to customize the output to your site */ set(db_owner, "Scott McGee") set(owner_addr, "mailto:smcgee@microware.com") set(use_image, 1) /* 1 to use image, 0 to not use image */ set(genweb_image, "../../pics/genweb.gif") set(use_page, 1) /* 1 to use link to page, 0 if not */ set(genweb_page, "../genweb.html") set(page_name, "genweb page") /* might change to "my homepage" */ set(LDS, 1) set(html_index, 0) /* use 1 to add to INDEX file */ }