MHonArc Resource List

IDXPGBEGIN


Syntax

Envariable

N/A

Element

<IDXPGBEGIN>
markup ...
</IDXPGBEGIN>

Command-line Option

N/A


Description

The IDXPGBEGIN resource defines the beginning markup for the main index page. I.e. You can control the opening <HTML> tag, the HEAD element contents, the opening <BODY> tag, etc. Therefore, if you are not satisfied with the default behavior of how the TITLE resource is used, or have other needs that require control on the beginning markup, you can set the IDXPGBEGIN resource to what you desire.


Default Setting

<IdxPgBegin>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>$IDXTITLE$</TITLE>
</HEAD>
<BODY>
<H1>$IDXTITLE$</H1>
</IdxPgBegin>

Resource Variables

VariableValue
$DOCURL$ URL to documentation.
$FIRSTPG$ Filename of first page of main index.
$GMTDATE$ Current GMT date.
$IDXFNAME$ Filename of main index page.
$IDXLABEL$ Label for main index page.
$IDXPREFIX$ Prefix of filenames of main index pages.
$IDXSIZE$ Max number of messages that may be listed in index page.
$IDXTITLE$ The title of the main index page.
$LASTPG$ Filename of last page in of main index.
$LOCALDATE$ Current local date.
$NEXTPG$ Filename of next page of the main index.
$NEXTPGLINK$ Markup linking to the next page of the main index.
$NUMOFIDXMSG$ Number of message listed.
$NUMOFMSG$ Number of messages in the archive.
$NUMOFPAGES$ Number of index pages.
$OUTDIR$ Pathname of archive.
$PAGENUM$ Current index page number.
$PREVPG$ Filename of the previous page of the main index.
$PREVPGLINK$ Markup linking to the previous page of the main index.
$PROG$ Program name
$TFIRSTPG$ Filename of first page of thread index.
$TIDXFNAME$ Filename of thread index page.
$TIDXLABEL$ Label for thread index page.
$TIDXPREFIX$ Prefix of filenames of thread index pages.
$TIDXTITLE$ Title of thread index.
$TLASTPG$ Filename of last page of thread index.
$VERSION$ Program version.

Examples

The following shows how you can set HTML body element attributes to control the appearence of the index page:

<IdxPgBegin>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>$IDXTITLE$</TITLE>
</HEAD>
<BODY background="idxbg.gif" bgproperties="fixed">
<H1>$IDXTITLE$</H1>
</IdxPgBegin>

Version

1.2


See Also

IDXPGEND, TITLE, TIDXPGBEGIN, TIDXPGEND


97/06/03 17:04:10
MHonArc
Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu