Web site translator - xpath MessageID Report problems to . NNTP reader

xpath MessageID Report problems to . NNTP reader mode has a lot of commands. Many of these are designed to make the life of a newsreader easier. We mentioned earlier that there are commands that instruct the server to send the head and the body of articles separately. There are also commands that list the available groups and articles, and others that allow posting, an alternate means of sending news articles to the server. Listing Available Groups The list command lists a number of different types of information; notably the groups supported by the server: list newsgroups 215 Descriptions in form “group description”. control News server internal group junk News server internal group local.general General local stuff local.test Local test group . Listing Active Groups list active shows each supported group and provides information about them. The two numbers in each line of the output are the high-water mark and the low-water mark — that is, the highest numbered article and lowest numbered article in each group. The newsreader is able to form an idea of the number of articles in the group from these. We’ll talk a little more about these numbers in a moment. The last field in the output displays flags that control whether posting is allowed to the group, whether the group is moderated, and whether articles posted are actually stored or just passed on. These flags are described in detail in Chapter 23. An example looks like this: list active 215 Newsgroups in form “group high low flags”. control 0000000000 0000000001 y junk 0000000003 0000000001 y alt.test 0000000000 0000000001 y . Posting an Article We mentioned there was a difference between pushing an article and posting an article. When you are pushing an article, there is an implicit assumption that the article already exists, that it has a message identifier that has been uniquely assigned to it by the server to which it was originally posted, and that it has a complete set of headers. When posting an article, you are creating the article for the first time and the only headers you supply are those that are meaningful to you, such as the Subject and the Newgroups to which you are posting the article. The news server you post the article on will add all the other headers for you and create a message ID that it will use when pushing the article onto other servers. All of this means that posting an article is even easier than pushing one. An example posting looks like this: post 340 Ok From: terry@richard.geek.org.au Subject: test message number 1 Newsgroups: junk Body: This is a test message, please feel free to ignore it. . 240 Article posted We’ve generated two more messages like this one to give our following examples some realism.

Leave a Reply