You are currently offline, waiting for your internet to reconnect

FP2000: Overview of FrontPage Discussion Web Architecture

This article was previously published under Q250626
This article has been archived. It is offered "as is" and will no longer be updated.

For a Microsoft FrontPage 98 version of this article, see 250839.
For a Microsoft FrontPage 97 version of this article, see 177092.
This article describes which files and processes are needed to administer aFrontPage Discussion Web and offers tips for keeping a Discussion Webfunctioning correctly.
The following main components provide the foundation for the FrontPageDiscussion Web, assuming that you select the Use Threaded Replies option when you create the Discussion Web by using the Discussion Web Wizard.
  • WebBot Discussion component.
  • Disc#_toc.htm or Disc#_tocf.htm (framed), where disc# is the name of your Discussion Web.
  • Tocproto.htm.
  • Service.cnf.
  • The Discussion Web folder. By default, this folder is named _disc# where # is the number of discussion Webs that you have created so far.

All of these items work only when used with the FrontPage ServerExtensions.

If any of these components is damaged or configured incorrectly, you mayexperience one or more of the following symptoms:

  • New posts are appended to existing posts.
  • Messages are threaded incorrectly.
  • Posted articles do not appear in the table of contents even when you refresh the page.

What Happens When an Article Is Submitted?

When you submit an article, the WebBot Discussion component does thefollowing:
  1. Scans the Service.cnf file for an article number and converts this number to hexadecimal.
  2. Creates the article using an eight-digit hexadecimal integer; for example, 00000001.htm or 0000000a.htm.
  3. Updates the Tocproto.htm file with threading structure and hyperlink information.
  4. Uses the WebBot Include component in the Toc.htm file and copies the body of the Tocproto.htm file to the Toc.htm file for threading structure. The Toc.htm file contains a header (also included by a WebBot Include component) that creates the Next, Previous, Up, Post, Search, and Reply hyperlinks.

What Is Tocproto.htm?

The Tocproto.htm file is located in the _disc# folder.

NOTE: This is only true if the discussion folder was not renamed. It has a specific architecture that is maintained by the WebBot Discussion component and changes every time an article is posted. For example, the Hypertext Markup Language (HTML) code for the article structure initially looks similar to this:

NOTE: To conserve space, only the body of the file is shown.
<dl>  <!--webbot bot="FormInsertHere"  descr="The FrontPage FormInsertHere Component indicates the point in anHTML file where you want a default, Registration, or Discussion Componentto insert new results."  --></dl>				

After the first article is posted, the Tocproto.htm file reflects thechanges as follows:

NOTE: The position of a new thread is indentedonly once, and replies to that thread are indented even further.
<dl>  <dt><b><a href="00000001.htm" name="00000001">Test</a></b><i> Joe 1/12/2000</i></dt>  <dd>    <dl>      <!--webbot bot="FormInsertHere" s-repliesto="00000001" -->    </dl>  </dd>  <!--webbot bot="FormInsertHere"  descr="The FrontPage FormInsertHere Component indicates the point in anHTML file where you want a default, Registration, or Discussion Componentto insert new results."  --></dl>				
Notice below how the addition of another article (the reply) to thatposting is indented.
<dl>  <dt><b><a href="00000001.htm" name="00000001">Test</a></b><i> Joe    1/12/2000</i></dt>  <dd>    <dl>      <dt><b><a href="00000002.htm" name="00000002">Re: Test</a></b><i> Paul        1/12/2000</i></dt>      <dd>        <dl>          <!--webbot BOT="FormInsertHere" S-RepliesTo="00000002" startspan  --><!--webbot bot="FormInsertHere" endspan i-checksum="0"  -->        </dl>      </dd>      <!--webbot BOT="FormInsertHere" S-RepliesTo="00000001" DESCR="TheFrontPage FormInsertHere Component indicates the point in an HTML filewhere you want a default, Registration, or Discussion Component to insertnew results." startspan  --><!--webbot bot="FormInsertHere" endspan i-checksum="0"  -->    </dl>  </dd>  <!--webbot BOT="FormInsertHere"  DESCR="The FrontPage FormInsertHere Component indicates the point in anHTML file where you want a default, Registration, or Discussion Componentto insert new results." startspan  --><!--webbot bot="FormInsertHere" endspan i-checksum="0"  --></dl>				
A new thread posted to the discussion group begins at a new indention,and replies to that posting appear indented under the new thread asshown above. This structure continues throughout continuous repliesand with replies to a reply.

What Components Make the Tocproto.htm File Work as It Does?

The Tocproto.htm file comprises three components:

  • <DT>, <DD>, <DL>
  • "FormInsertHere" (with the quotation marks)
  • s-repliesto=x
<DT>, <DD>, <DL>:
where <DT> denotes Designated Term, <DD> denotes Designated Definition, and <DL> denotes Designated List. Note that each of these elements requires an ending tag (</DT>, </DD>, and </DL>). These tags provide the formatting information that displays the threads correctly.

"FormInsertHere" (with the quotation marks):

The point at which the new article is inserted.

This is an argument for the FormInsertHere component. It instructs the particular instance of the component to accept replies to posts of a specific article number.

Disc#_toc.htm or Disc#_tocf.htm (framed)

The Disc#_toc.htm file (or Disc#_tocf.htm) is used as the contents page of your Discussion Web.(The Disc#_tocf.htm file is created when you use a frameset to create theDiscussion Web.) The body of the Tocproto.htm file is included in this page using the WebBot Include component.

Unlike Disc#_tocf.htm, Disc#_toc.htm also includes _private/disc1_head.htm (header) and _private/disc1_foot.htm (footer).

What Is Service.cnf?

The Service.cnf file is a configuration file located in the _vti_pvt folderin the current Web. This file contains information about the Discussion Webas well as other FrontPage Web-specific configuration information. Thesection of this file that the Discussion Web directly relates to containsthe article number variable. For example, if your discussion group iscalled "_bob", the configuration information is stored in the_vti__bob_articlenumber key. The number increments each time an articleis submitted. If you change this number, you can alter the next articlenumber. However, if you change this number so that it is less than thenumber of articles you have, newer articles are appended or added to anexisting article.

NOTE: If you rename or modify a file in FrontPage Explorer, all subsequent links and configurations are updated automatically. Becauseexperimenting with the structure of your Discussion Web can cause it to function incorrectly, you should make these types of adjustments to a test Web first. When you have attained the results you want, check and recheckyour Web before you implement the changes on your primary Web.
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
196126 FP2000:How to Edit/Delete Articles in a Discussion Web
197624 FP2000: Newest to Oldest Order Does Not Work in Discussion Web
232524 FP2000: Features That Require FrontPage 2000 Server Extensions
front page

Article ID: 250626 - Last Review: 10/20/2013 16:55:16 - Revision: 1.0

Microsoft FrontPage 2000 Standard Edition

  • kbnosurvey kbarchive kbinfo KB250626