Article View: news.software.nntp
Article #50802Re: Format for date in Article
From: Black Dragon
Date: Sat, 24 Feb 2001 03:41
Date: Sat, 24 Feb 2001 03:41
54 lines
3323 bytes
3323 bytes
On Fri, 23 Feb 2001 19:27:00 +0000 (GMT) in news.software.nntp, <tez@pierrot.co.uk> `Terrance Richard Boyes' said: : Date: may be added by the newsreader or the first server it is : posted to, so you may get some slight inconsistencies even if : all articles were originally posted to the same server. : : NNTP-Posting-Date: may be added by the first server it is : posted to, OTOH it may not be added at all as it is not a : mandatory header. It is unlikely to be added by newsreader : software, though it could be... : : So iff all articles are originally posted to the same server, : and it always rewrites any date that's already there can you : be certain that the date will be consistent. : : Last time I had to deal with dates in multiple formats : I was using Oracle, so rather than spend lots of effort : trying to parse the string I instead just threw the string : at the date() function with the most likely format, if : that failed I tried the next most likely format, and so on. I too have a question about dates. I just finished setting up my first news server (personal use -- INN / suck / rpost) and would like to know if there's any way to filter out posts dated in the future with INN. The reason is, I have a colleague who generates weekly statistics for a news group using my machine and isp's news feed. (perl/cron) During the past couple of months, a few posts dated in the future, apparently because it was set that way on the senders boxen, munged up the stats. (which of course gave a few critics something to talk about, it is Usenet after all :-) http://www.kdg-engineering.homeip.net/amc-stats/2001-01-15.amc.stats http://www.kdg-engineering.homeip.net/amc-stats/2001-01-22.amc.stats (Note the Beginning & Ending dates) At first, he thought a fix would be to use the NNTP-Posting-Date: header, but that proved futile for the reason stated above. That led me to the idea of setting up my own news server with the hopes of being able to filter out future dated posts. So I guess my question really is, are there any filters already written that can take care of this, or, any place I can find some documentation that will steer me in the right direction? Thanks in advance, Robert Heininger -- Black Dragon
Technical Details
Message-ID:
<slrn99eauo.4gs.blkdragn@roadrage.myip.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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!cyclone-out.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!not-for-mailReferences:
<3a967c7e.37419301@news.alt.net> <20010223.192700.9E9801DE.mpaa@pierrot.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrn99eauo.4gs.blkdragn@roadrage.myip.org> Subject: Re: Format for date in Article Date: Sat, 24 Feb 2001 03:41:56 GMT From: blkdragn@rochester.rr.com.spam.sux (Black Dragon) References: <3a967c7e.37419301@news.alt.net> <20010223.192700.9E9801DE.mpaa@pierrot.co.uk> 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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!cyclone-out.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Psychotic Computing Lines: 53 User-Agent: slrn/0.9.6.3 (Linux) NNTP-Posting-Host: 66.66.104.25 X-Complaints-To: abuse@rochester.rr.com X-Trace: typhoon.nyroc.rr.com 982986116 66.66.104.25 (Fri, 23 Feb 2001 22:41:56 EST) NNTP-Posting-Date: Fri, 23 Feb 2001 22:41:56 EST