Output - putNews

 

Description

This DIM takes an input product, formats it using a specified productVisitor, and posts it to a Usenet newsgroup.

Configuration Variables

newsServer
The news server to connect to

newsGroups

The news groups to post to

outputStyle

The output style to use to format the product (default: plainText).  Other possible values are:
plainTextNoRootId, tickerTextNoRootId, or tickerText.

How it works

This DIM instantiates an NNTPClient which implements a subset of RFC977 (Network News Transfer Protocol).  Then, the DIM calls certain productVisitors on its input product depending on the value of its outputStyle configuration variable.  Finally, the formatted product is posted to the newsgroups specified in its newsGroups configuration variable after connecting to the news server specified in its newsServer configuration variable.

Revised: 14 Dec 1998