MHonArc Resources: TIDXPGBEGIN

# TIDXPGBEGIN

## Syntax

Envariable

  N/A

Element

  `<TIDXPGBEGIN>
  ` markup ...
  `</TIDXPGBEGIN>
  `

Command-line Option

  N/A

## Description

The TIDXPGBEGIN resource defines the beginning markup for the thread index pages. 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 TTITLE resource is used, or have other needs that require control on the beginning markup, you can set the TIDXPGBEGIN resource to what you desire.

## Default Setting

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

## Resource Variables

Variable | Value
--- | ---
`$DOCURL$` | URL to documentation.
`$ENV$` | Value of an environment variable.
`$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.
`$LOCALDATE$` | Current local date.
`$NUMOFIDXMSG$` | Number of message listed.
`$NUMOFMSG$` | Number of messages in the archive.
`$NUMOFPAGES$` | Number of index pages.
`$OUTDIR$` | Pathname of archive.
`$PROG$` | Program name
`$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.
`$VERSION$` | Program version.

## Examples

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

    <TIdxPgBegin>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
    <HTML>
    <HEAD>
    <TITLE>$TIDXTITLE$</TITLE>
    </HEAD>
    <BODY background="tidxbg.gif" bgproperties="fixed">
    <H1>$TIDXTITLE$</H1>
    </TIdxPgBegin>

## Version

1.2.0

## See Also

TIDXPGEND, TTITLE