6 Setting up News in Mixed Local/Served Configuration

In order to use News with a local database while relying on a remote server to supply you with specific newsgroups, you should follow the instructions for setting up News to use a local database, but do not create the newsgroups you want to be served by the remote site. Once you have completed this and run News for the first time, you create the served newsgroups using the News command
|NEWS> Create Newsgroup/Server=server_name/Protocol=nntp_transport group
where
group is the name of the newsgroup you wish to create,
server_name is the DECnet nodename or TCP host name of the server you wish to use for this newsgroup, depending on the NNTP transport you specified via the /Protocol qualifier, and
nntp_transport is the NNTP transport protocol you wish to use. You may specify DECnet or the TCP protocol specified when you built News.
If you wish to create a number of served newsgroups, you may use a wildcard pattern as group, and specify the /Inquire qualifier with the Create Newsgroup command, which will cause News to obtain a list of active newsgroups on the server, and, for each newsgroup whose name matches the pattern you specified, create an equivalent served newsgroup on the local system.

When a newsgroup is created /Served, the local system keeps a record of item numbers and selected information about each item (principally information used to construct the item index display). This information is updated by connecting to the server every time a Skim/Served is performed. When a user reads an article from a served newsgroup, News retrieves the text of the item from the server and displays it for the user. By default, News then retains the text locally for 2 days, and uses this local copy when other users read the item at a later time. (This can be customized by using the /Cache qualifier to Create Newsgroup and Set Newsgroup.) Because of the overhead incurred during the Skim/Served, it is not efficient to have more than a few served newsgroups on a system. If you cannot retain most newsgroups locally due to space constraints, consider shortening the item retention time for locally held groups, particularly large groups, or paring down your feed, and perhaps providing access to newsgroups you don't carry by using News in different sessions as a local reader or as a diskless client to the remote server. While this is less convenient than having all groups available in one session, it is much more efficient than having a large number of individual served groups.

Finally, remember that at present the NNTP server provided with News cannot serve the text of items from a remote newsgroup to its clients. It will present the information which is available locally, but will not query the remote server for items. Of course, anyone with some spare time and the inclination to do so is welcome to add this capability to the ANU News server.

previous: 5.12.3.4 Test the outgoing feed
next: 7 News Support Utilities
Table of Contents