Article View: news.software.nn
Article #6322Re: Expiration proper syntax
From: Hans Hoppe
Date: Wed, 24 Aug 1994 08:42
Date: Wed, 24 Aug 1994 08:42
58 lines
3228 bytes
3228 bytes
In <33es8n$bca@dingo.cc.uq.oz.au> chan@elec.uq.oz.au (Chuen Chan) writes:
>I am posting up articles regarding a conference, and I would like to
>extend the life of the article. I saw an Expires: line, and is
>trying that out at the moment. Just wondering where I can get
>the proper syntax for these types of header commands. I have
>checked the FAQ for nn and the manual pages and the files in
>the /usr/local/lib/nn/aux and the help files (I can't remember where
>they are now), but couldn't find anything on this.
From RFC 1036 ("Standard for Interchange of USENET Messages"):
2.2.4. Expires
This line, if present, is in a legal USENET date format. It
specifies a suggested expiration date for the message. If not
present, the local default expiration date is used.
..
2.1.2. Date
The "Date" line (formerly "Posted") is the date that the message was
originally posted to the network. Its format must be acceptable
both in RFC-822 and to the getdate(3) routine that is provided with
the Usenet software. This date remains unchanged as the message is
propagated throughout the network. One format that is acceptable to
both is:
Wdy, DD Mon YY HH:MM:SS TIMEZONE
Several examples of valid dates appear in the sample message above.
Note in particular that ctime(3) format:
Wdy Mon DD HH:MM:SS YYYY
is not acceptable because it is not a valid RFC-822 date. However,
since older software still generates this format, news
implementations are encouraged to accept this format and translate
it into an acceptable format.
There is no hope of having a complete list of timezones. Universal
Time (GMT), the North American timezones (PST, PDT, MST, MDT, CST,
CDT, EST, EDT) and the +/-hhmm offset specifed in RFC-822 should be
supported. It is recommended that times in message headers be
transmitted in GMT and displayed in the local time zone.
You should be able to get the RFC from any of the larger FTP sites.
Hope this helps,
C.U. - Hans
---------------------------------------------------------------------------
Hans Hoppe (hopha@sci.kun.nl) + "In the beginning the Universe was created.
Dep. of Biophysical Chemistry + This has made a lot of people very angry
University of Nijmegen, NL + and been widely regarded as a bad move."
ICBM:51.50'13"N 5.52'3"E +30m + -D.Adams
Technical Details
Message-ID:
<Cv16uJ.7zz@sci.kun.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sun4nl!sci.kun.nl!hophaReferences:
<33es8n$bca@dingo.cc.uq.oz.au>Show Full Headers
Complete Article Headers
Message-ID: <Cv16uJ.7zz@sci.kun.nl> Subject: Re: Expiration proper syntax Date: Wed, 24 Aug 1994 08:42:18 GMT From: hopha@sci.kun.nl (Hans Hoppe) References: <33es8n$bca@dingo.cc.uq.oz.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sun4nl!sci.kun.nl!hopha Newsgroups: news.software.nn Sender: news@sci.kun.nl (News owner) Nntp-Posting-Host: studs.sci.kun.nl Organization: University of Nijmegen, The Netherlands X-Newsreader: NN version 6.4.19 Lines: 58