🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243376

Re: How to insert Expires: header

#243376
From: Uwe Premer
Date: Tue, 23 Nov 2010 12:59
34 lines
2788 bytes
* [news.software.readers] houghi schrieb:

> Rom wrote:
>> On Tue, 23 Nov 2010 01:32:12 +0100, houghi wrote:
>>
>>> I want to insert an "Expires" header into my messages of e.g. 10
>>> days after posting. I use slrn and leafnode.
>>
>> This may be a starting point...
>>
>> slrn.rc
>>
>> set custom_headers "Expires: Fri, 03 Dec 2010 01:32:12 +0100"
>> set followup_custom_headers "Expires: Fri, 03 Dec 2010 01:32:12
>> +0100"
> 
> That would mean editing slrn.rc each time and also relaunch slrn each
> time.

You want this doing automatically without manually editing ever?
I think, this will only be possible with a script.
The script has to take the actual date and add 10 days.
Then the new date has to change in the slrnrc with the old date or the
script has to do the appopriat line with the new date into the slrnrc.

This is quite possible, perhaps you can ask it in group which includes
script-programming.

Uwe 
-- 
Hardware:   Lenovo R60, 3 GB RAM
Prozessor:  Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Oberfläche: Gnome 2.30.2
System:     Ubuntu 10.04 64-bit, Kernel 2.6.35-22-generic #33-Ubuntu
Technical Details
Message-ID: <21510940.6mGKKP5rE9@nntp.uwe-premer.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!news.internetdienste.de!weretis.net!feeder3.news.weretis.net!news.tota-refugium.de!not-for-mail
References: <slrniem2sc.tgj.houghi@penne.houghi> <12p4uimggietw$.2jm8rbp2sf5d.dlg@40tude.net> <slrnien3cn.tgj.houghi@penne.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <21510940.6mGKKP5rE9@nntp.uwe-premer.de>
Subject: Re: How to insert Expires: header
Date: Tue, 23 Nov 2010 13:59:58 +0100
From: Uwe Premer <m@uwe-premer.de>
References: <slrniem2sc.tgj.houghi@penne.houghi> <12p4uimggietw$.2jm8rbp2sf5d.dlg@40tude.net> <slrnien3cn.tgj.houghi@penne.houghi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!news.internetdienste.de!weretis.net!feeder3.news.weretis.net!news.tota-refugium.de!not-for-mail
Newsgroups: news.software.readers
Organization: /opt/kde3/bin/knode
Lines: 34
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
X-Trace: tota-refugium.de 1290517203 28192
 eJwNyskBwCAIBMCWlGMh5bgg/Zdg5j2u2KgwOMzH55PGkY7IDOrqLPNrVfuShTUUgkzI4f9THyNdEZI=
X-Complaints-To: abuse@news.tota-refugium.de
NNTP-Posting-Date: Tue, 23 Nov 2010 13:00:03 +0000 (UTC)
X-User-ID: eJwFwQkBACAIBLBKvCfGAYT+EdxcwehjcJivLyPZxBoPvVC5TMuRRQGIVMZcx6lZkpej9AELchDE
X-Face: 7IP$~yTI%-Z6}wp&s1\!p<)Fa}|E626XWzG<3:x~g((LS;
 y.S~G?tc`UibU|+aAH5qehXY,$_$G$]a@"_oIzOj*7\]AQ&,]nx*eII!$M9r<S$pUM1|O8sBTr
Cancel-Lock: sha1:ApMRc0Y/C+PeCVPhbbBRUX0lp2I=
User-Agent: KNode/0.10.9
X-NNTP-Posting-Host: eJwFwYEBwDAEBMCVEvxjnBL2H6F3UF62G0HDYntjjtSkwdy5JxSpy29kGm++qTStDLqijVPS7LnPEKUi0pk4b3e55a0/340adw==