General ideas
Ok, the most important thing to understand is that we need a so called makefile
(which has nothing in common which GNU make!). Here, we get the most widly used
settings:
Please note that blank lines and files starting with # are ignored!
# denfine the menu menuitem part01.html _part01.html 01 * * Part 1 menuitem part02.html _part02.html 02 * * Part 2 ... menuitem part08.html _part08.html 08 * * Part 8This will define the menu. Every file which has to appear in the menu, has it's menuitem here. The entries after it are (in this order):
# set the direction of the menu (horizontal/vertical) set menu horizontal # set the size of graphics border set border 0These two settings define the appearence of the menu: The first sets weather you will get vertical or horizontal menues (default is horizontal) and the second defines the border (default is 0) of the menu items.
# files which don't appear in the menu file nonemenu.html _nonemenu.htmlThis will create files, which don't appear in the menu themselfves, but which have the menu and the same layout. It is especially useful, if you have CGIs which display a HTML page which should have the same layout like all the others, but doesn't contain and dynamic information. ("Thank you filling out our formular...") In this case you can redirect the return page to this one.
# set the path where the result files should we written set htmlpath ../html/This will set the path where the result files are copied to. Please note that makeHTML interprets all graphics filenames relative to this path!
# set starting value for $count_gfx (=number of pictures before menu -1) set start_count_gfx 0 # set add value for $count_gfx (=number of pictures in the dummy file after # the menu -1) set add_count_gfx 0If you want to use graphic highlightning on mouseover (a little javascript), this is is must. It defines how many graphics appear before and after the menue in the dummy file (see below).
# set the title of the page set title Exapmle pages for makeHTML # the html version set html 4.0These commands define to different html settings:
# set the dummy file set dummy _dummy.htmlYou need a dummy file which defines the general layout of your pages. Set it here.
# set the default graphics extension set gfxfilename pics/nav_part*.jpg # set the default string which is added for highligted menu items set gfxhlfilename pics/nav_part*_hl.jpg # set the default string which is added for highligted menu items set gfxhl2filename pics/nav_part*_shown.jpgHere you can set three basefilenames for the graphic files. Please not that they are all relative to the htmlpath which was set above.
# set the gfx dummy file (space between two menu items) set gfxdummy pics/nav_sep.jpg # set the width of the dummy (0 for autosize) set dummywidth 32 # set the height of the dummy (0 for autosize) set dummyheight 32If you want a seperator between two of your menuitems, please set it here. Note that the basefilenames are not applied to this graphic filename.
# set the height and width for the menu items set width 96 set height 32If all of your menuitems have the same size, you can set this here. This will speed up makeHTML a little. If it is not set, autosize tries to detect the size for every menuitem.
# ----- insert the meta tags meta author Jan Theofel, jan@theofel.de / www.theofel.de meta description This are some exapmle pages for the homepage creation tool makeHTML. Visit http://www.theofel.de/oss/makehtml.html for more informations. meta keywords exapmle, makeHTML meta revisit-after 7days meta DC.Title Exapmle pages for makeHTML meta DC.Creator =author meta DC.Subject This are some exapmle pages for the homepage creation tool makeHTML. meta DC.Description =description meta DC.Publisher =author meta DC.Contributor none meta DC.Language en meta DC.Rights written by Jan Theofel, jan@theofel.de - This is public domain, you may use and change it your your needs!An important point to optimize your page for search engines are the meta tags. You can set them here, and they'll be written in all the files in this order.