Article View: news.software.nntp
Article #64912Re: Getting the newest message
From: Russ Allbery
Date: Fri, 18 Apr 2003 05:56
Date: Fri, 18 Apr 2003 05:56
27 lines
2066 bytes
2066 bytes
Mike Mimic <ppagee@yahoo.com> writes:
> I have read it and I know that for the GROUP command there is written:
> The successful selection response will return the article numbers of the
> first and last articles in the group, and an estimate of the number of
> articles on file in the group.
> But there are two problems with this:
> The message with the last number is not really the newest message. I do
> not know how can that happen but it did. I would like to have the
> newest message by its Date.
You can't get that without sorting yourself, since the server doesn't sort
messages by date. If you want to do something simple, you're going to
have to settle for arrival time.
If you're willing to settle for arrival time, the command you want is
NEWNEWS.
--
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:
<ylznmoic12.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!shelby.stanford.edu!not-for-mailReferences:
<EhHna.63$i7.50246@news.siol.net> <hviu9vgnocetmp22jhru5uuh9420ttl67v@4ax.com> <zoMna.66$i7.50327@news.siol.net>Show Full Headers
Complete Article Headers
Message-ID: <ylznmoic12.fsf@windlord.stanford.edu> Subject: Re: Getting the newest message Date: Thu, 17 Apr 2003 22:56:41 -0700 From: Russ Allbery <rra@stanford.edu> References: <EhHna.63$i7.50246@news.siol.net> <hviu9vgnocetmp22jhru5uuh9420ttl67v@4ax.com> <zoMna.66$i7.50327@news.siol.net> 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!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 26 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1050645401 24314 171.64.13.23 (18 Apr 2003 05:56:41 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Portable Code, sparc-sun-solaris2.6) Cancel-Lock: sha1:JsMvzhJDh3YMtGoffhH8/3nx8WY=