🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Chuen Chan Wed, 24 Aug 1994 07:18
Expiration proper syntax
#6321
Author: Chuen Chan
Date: Wed, 24 Aug 1994 07:18
15 lines
1351 bytes
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.

Thanks

--
*   ,-_|\       Chuen Chan (chan@elec.uq.oz.au)
*  /     *  <=  PA^3SE (Par. Arch., Algorithms And Software Eng.) Research Lab
*  \_,--_/      Department of Electrical and Computer Engineering
*       v       The University of Queensland, Brisbane Qld 4072, Australia 
Re: Expiration proper syntax
#6322
Author: Hans Hoppe
Date: Wed, 24 Aug 1994 08:42
58 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads