To transform an XML repository into an HTML docbase with an NNTP discussion component, you need to do the following three things.
Links in the discussion area point back to these targets, as do links in the web-based table of contents.
These links invoke the comment form, or rather the script that generates that form. The links encode the information that the script needs to produce an NNTP message that will bind to the right spot in the newsgroup and that will point back to the right spot in the docbase.
The docbase’s headers (
h1..h6) define the
desired structure. To populate the newsgroup accordingly, you
generate a set of NNTP messages whose
References: headers correspond to that
structure; then load those messages using one of several techniques.
Let’s consider each of these three steps in more detail.
We want to
<a name="252"><p> or
<a name="1124"><li> so that comments posted regarding
these elements can point back to the right spot in the text.