🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64913

Re: Getting the newest message

#64913
From: Curt Welch
Date: Fri, 18 Apr 2003 05:57
27 lines
2460 bytes
Mike Mimic <ppagee@yahoo.com> wrote:
> 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 have it.  The Date: is a value made up when the article is posted
and many times, created using the time and time-zone setting from the
user's PC.  It may or may not have anything to do with the "real" time the
article was created or posted depending on how accurate the users PC clock
is set.  If it's off by 10 years, the Date: header on the article will be
off by 10 years (well, most newservers will reject it if it's that much
off).

The article with the highest article number in the group was the last
article to show up at that server.  It is the "newest" article for that
server.  What the Date: header says has nothing to do with when the article
happened to show up at the server.  This assumes the server is working
correctly of course and you don't have something corrupted.

If you want to find the article with the most recent Date:, you have to
simply get headers for every article in the group and sort them to find the
one with the most recent Date:.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030418015719.314$0h@newsreader.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.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <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: <20030418015719.314$0h@newsreader.com>
Subject: Re: Getting the newest message
Date: Fri, 18 Apr 2003 05:57:19 +0000
From: curt@kcwc.com (Curt Welch)
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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Y2OuC7x5l7AI5OB6DyG@Mfwpr0,Aje9svIFa25DCFTz_xaXDD
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 26