|
DEFINEDERIVEDSyntax
DescriptionDEFINEDERIVED is used to define extra files that are generated for each message processed. DEFINEDERIVED can only be specified in a resource file and may occur mutliple times to define multiple files to be created. The first line of the DEFINEDERIVED element is the name of the file. All subsequent lines represent the content of the file. Default SettingN/A Resource Variables
ExamplesThe following example shows how user defined files can be used to provide a framed navigational view of an archive. Note how the filenames contain resource variables to uniquely qualify the name for each message.
The following derived file is the main file the index pages will link to. It defines the subframe definitions for the navigational links and the message data: <DefineDerived> frm$MSGNUM$.html <html> <head> <title>Message View</title> </head> <frameset rows="75,*"> <frame src="nav$MSGNUM$.html" name="NAV"> <frame src="msg$MSGNUM$.html" name="MESSAGE"> </frameset> </html> </DefineDerived> The following derived file defines the navigational links for a message. The links will be displayed in a frame above the converted message. <DefineDerived> nav$MSGNUM$.html <html> <head> <title>Message Navigation</title> </head> <body> <table cellpadding=0 cellspacing=0 cols=3 border=1 width="100%"> <tbody> <tr align="center"> <th colspan=3><strong>Thread Links</strong></th> <th colspan=3><strong>Date Links</strong></th> </tr> <tr align="center"> <td>$TPREVBUTTON$</td> <td>$TNEXTBUTTON$</td> <td><a $FRAME-IDX$ href="$TIDXFNAME$#$MSGNUM$">Index</a></td> <td>$PREVBUTTON$</td> <td>$NEXTBUTTON$</td> <td><a $FRAME-IDX$ href="$IDXFNAME$#$MSGNUM$">Index</a></td> </tr> </tbody> </table> </body> </html> </DefineDerived> Version2.0 See Also
$Date: 2002/07/27 05:13:10 $ MHonArc Copyright © 1997-1998, Earl Hood, mhonarc@mhonarc.org |