Article View: news.software.nntp
Article #62271Re: Group list, please someone explain...
From: Slavic Kozyuk
Date: Tue, 10 Dec 2002 13:22
Date: Tue, 10 Dec 2002 13:22
69 lines
4083 bytes
4083 bytes
Would it be valid to estimate message count by
<LAST> - <FIRST> = [MSG. Count]
If [MSG. Count] <= 0 Then
[MSG. Count] = 0
End if
Is this how NNTP client such as Outlook Express calculates number of posts
in newsgroup before d/l headers?
"Russ Allbery" <rra@stanford.edu> wrote in message
news:yl1y4qyjuk.fsf@windlord.stanford.edu...
> news usenetserver com <noSpam@here.com> writes:
>
> > Hello, I'm building usenet to web gateway using AspNNTP ActiveX
> > component to do all NNTP related tasks. I don't completely understand
> > the output format of group list, here is the segment of the output...
>
> > alt.music.toasters 110134 110129 y
> > alt.music.todd-rundgren 126063 125944 y
> > alt.music.tom-petty 115530 115437 y
> > alt.music.tom-waits 130155 130010 y
> > alt.music.tonic 110911 110910 y
> > alt.music.tool 421934 414643 y
> > alt.music.total-touch 110334 110320 y
> > alt.music.toten-hosen 112332 112275 y
> > alt.music.toy-dolls 110203 110190 y
> > alt.music.trading.dat 110578 110571 y
> > alt.music.tragically-hip 146354 145997 y
>
> > 1st column is a newsgroup name, but what does column 2,3, and 4 mean? I
> > have been looking through RFC #822 and cannot find any details.
>
> You wanted to be looking in RFC 977 for NNTP. The new NNTP draft is much
> clearer here:
>
> The response to the LIST keyword with no parameters returns a list of
> valid newsgroups and associated information. Each newsgroup is sent
> as a line of text in the following format:
>
> group first last status
>
> where <group> is the name of the newsgroup, <last> is the number of
> the last known article currently in that newsgroup, <first> is the
> number of the first article currently in the newsgroup, and <status>
> indicates the current status of the group on this server. Typically,
> the <status> will consist of the US-ASCII character 'y' where posting
> is permitted, 'n' where posting is not permitted and 'm' where
> postings will be forwarded to the newsgroup moderator by the news
> server. Other status strings may exist. The definition of these other
> values and the circumstances under which they are returned is covered
> in other specifications. Each field in the line is separated from its
> neighboring fields by one or more US-ASCII spaces.
>
> The <first> and <last> fields will always be numeric. They may have
> leading zeros. The <first> field corresponds to the "reported low
> water mark" and the <last> field corresponds to the "reported high
> water mark" described in the GROUP command (see Section 9.1.1.1).
>
> --
> Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
>
> Please post questions rather than mailing me directly.
> <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<pNlJ9.313732$f9.188723@FE06>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!news.webusenet.com!pc01.webusenet.com!FE06.POSTED!not-for-mailReferences:
<is7J9.3519$DJ4.366@fe03> <yl1y4qyjuk.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <pNlJ9.313732$f9.188723@FE06> Subject: Re: Group list, please someone explain... Date: Tue, 10 Dec 2002 08:22:39 -0500 From: "Slavic Kozyuk" <skozyuk[NO@SPAM]mazzellalifting.com> References: <is7J9.3519$DJ4.366@fe03> <yl1y4qyjuk.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!news.webusenet.com!pc01.webusenet.com!FE06.POSTED!not-for-mail Reply-To: "Slavic Kozyuk" <skozyuk[NO@SPAM]mazzellalifting.com> Newsgroups: news.software.nntp Lines: 67 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Tue, 10 Dec 2002 08:15:01 EST