14-Oct-1998 PBl $$1 Created 01-Nov-1998 PBl $$2 Nicer layout 13-Nov-1998 PBl $$3 Added MIVA STANDARDOUTPUTLEVEL 13-Jan-1998 PBl $$4 Fixed index page Global variables and constants g.inBlock = 1 -> we are in JavaScript script g.inBlock = 2 -> we are in
 ... 
block
Functions This function is called inside an MvCALL loop. Global variables used: g.inBlock (has to be initialized with 0) Getting out of a block. The blocks need to be printed as a whole, not element by element (e.g., newlines confuse the JavaScript interpreter in the browser). Just accumulate the block text - to be printed later. Getting into a new block text. It's a plain text document; first print the logo file, then dump the whole text in
 (there could be > 1 elements
    if < and > are in the text)
  
It's an HTML document; do not check the headers next time. Server-generated dir index - first print the logo file Done with the logo. Now go through the real contents. Just a regular HTML - display it ' }"> No need to go through the headers for each element, we need to do it only once. This source is present for the day (' $ l.j $ ') ' }">

No entries found.

To do... check if everything is valid (e.g. MMMdd[i].source).. This is a new source for the month This is a new source for the day Wrong no. of arguments '$ g.serverName $'' }"> Normal execution - first print the logo file g.isHTML = 0 -> don't know yet g.isHTML = 1 -> it's a plain text document g.isHTML = 2 -> it's a regular HTML g.isHTML = 3 -> server-generated dir index before HR (ignore) g.isHTML = 4 -> server-generated dir index past HR <MvEVAL EXPR = "{GetTitle()}" > Server-generated dir index - skip everything until HR Process the HTML documents. Server-generated dir index