The entry page of a generated web is treated as a special case for the following reasons:
TITLE
for the entry page because:
To guarantee the generation of the entry page, including a user-specified HTML TITLE
, WebMaker requires the following:
FirstPage
is reserved for the node that describes the entry page. If no NODE FirstPage
is defined, a default one is created by WebMaker.
TYPE Normal
, as shown in the following example.
TITLE
of the entry page is specified in the Make a Web dialog, and on the batch-mode command line with the -t
switch:
webmaker ... -t "The Title of the first page" ...
maintitle()
The following excerpt from a WML configuration file describes an entry page for a generated web and the conversion rules for the paragraph of the topmost heading.
NODE FirstPage { TITLE maintitle() HEADER { @NavigationPanel=concatenate(button("[Next] ",filename(next))); write(*,paragraph(@NavigationPanel)); } FOOTER { write(*,heading(2,"Table of contents")); write(*,toc(1)); write(*,hrule()); write(*,address(concatenate("MR - ",date()))); write(*,paragraph(@NavigationPanel)); } } PARAGRAPH "Title" TYPE Normal { ACTIONS { write(*,heading(1,text())); write(*,hrule()); } }