MHonArc Resources: TIDXPGBEGIN

[Prev: TIDXLABEL] | [Resources][TOC] | [Next: TIDXPGEND]

# TIDXPGBEGIN

- Syntax
- Description
- Default Setting
- Resource Variables
- Examples
- Version
- See Also

## 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.
`$ICONURLPREFIX$` | Value of ICONURLPREFIX resource.
`$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.png" bgproperties="fixed">
    <h1>$TIDXTITLE$</h1>
    </TIdxPgBegin>

## Version

1.2.0

## See Also

TIDXPGEND, TTITLE

[Prev: TIDXLABEL] | [Resources][TOC] | [Next: TIDXPGEND]