Article View: news.software.nntp
Article #59827Re: News::NNTPClient module
From: itsy bitsy meowbot
Date: Sun, 04 Aug 2002 23:36
Date: Sun, 04 Aug 2002 23:36
38 lines
2669 bytes
2669 bytes
Mike Mimic <ppagee@yahoo.com> writes: > Hi! > > I am programing a Perl program as NNTP client. And I have > a question about that. In News::NNTPClient module there is > function "group". I think that this is only a Perl > interface to the NNTP command. So I think that this question > can be answered here. > > So, this function returns first and last article numbers. > But do all messages between those numbers exist? There's no guarantee of that at all. The GROUP command also returns a third number, the number of articles in the group, but that also may or may not be accurate (and it of course may change between the time you execute the GROUP command and start fetching articles). > I think that I read somewhere that if the message was canceled the > message number is skipped. Are those numbers the same? Yes. > If so, how can a client knows without looking for message for > every article number? I found out that there is "listgroup" > function, which return list of those. Should I call this > or will group function be enough. That would work, but the usual thing is to use XOVER or XHDR, so that you can get the headers you require and find out what exists in one step. > And another question. How clients determine which articles > belong to the same thread? By subject? That's used as a fallback when articles are mangled, but the primary thing that ties articles together is the References: header.
Technical Details
Message-ID:
<83n0s22o3q.fsf@ass-kicking.kicks-ass.org>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!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mailReferences:
<3D4DB7EF.4030204@yahoo.com>Show Full Headers
Complete Article Headers
Message-ID: <83n0s22o3q.fsf@ass-kicking.kicks-ass.org> Subject: Re: News::NNTPClient module Date: Sun, 04 Aug 2002 23:36:30 GMT From: itsy bitsy meowbot <53ab2750@meowing.net> References: <3D4DB7EF.4030204@yahoo.com> 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!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.nntp Organization: a tyranny of meowing fascist censor cabalists Lines: 37 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Honest Recruiter (Windows [3]), i686-pc-cygwin) Cancel-Lock: sha1:4YZfCfmRJdDmUG4OCafYPyiZXq8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 141.154.205.66 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1028504190 141.154.205.66 (Sun, 04 Aug 2002 19:36:30 EDT) NNTP-Posting-Date: Sun, 04 Aug 2002 19:36:30 EDT