🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #217148

Re: [Dialog] I need two X-No-Archive Headers

#217148
From: Sqwertz
Date: Fri, 22 Feb 2008 05:39
66 lines
4243 bytes
On Thu, 21 Feb 2008 22:49:22 -0500, Gember Breuk wrote:

> Path: newssvr21.news.prodigy.net!newsdbm04.news.prodigy.net!newsdst01.news.prodigy.net!prodigy.com!newscon04.news.prodigy.net!prodigy.net!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
> From: Gember Breuk <dumpspam@blackholespam.net>
> Newsgroups: news.software.readers
> Subject: Re: [Dialog] I need two X-No-Archive Headers
> Date: Thu, 21 Feb 2008 22:49:22 -0500
> Organization: Willekeurige orde
> Lines: 68
> Message-ID: <1cfxfs0ud4v2i.dlg@blackholespam.net>
> References: <40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com>
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> X-Trace: individual.net KhYaEpCGzbx1BJ3+pdpI6A1nvgXj8lirCxmyipT1RUbXDMF8c=
> Cancel-Lock: sha1:Imuj+vQqthuD2gvqDcyO5KshO40=
> User-Agent: 40tude_Dialog/2.0.15.84 (0199d924.370.346) PCLinuxOS 2007
> Xref: prodigy.net news.software.readers:264283
> 
> On Thu, 21 Feb 2008 13:17:08 -0600, Sqwertz wrote:
> 
>> On Thu, 21 Feb 2008 10:07:36 -0500, Gember Breuk wrote:
>> 
>>> On Wed, 20 Feb 2008 16:07:50 -0600, Sqwertz wrote:
>>> 
>>>> In an effort to keep my posts off of as many commercial sites as
>>>> I can, I need to use an additional "X-No-Archive:" header that
>>>> says "banter" instead of just the customary "yes" option.
>>>> 
>>>> Is there any way to have two XNA headers in Dialog?
>>> 
>>> I think it can be done with a script, but I haven't tried. I'll see what
>>> I can do.
>> 
>> I looked at the script library but I didn't see anything that was
>> straight-forward enough for me to modify.
> 
> Here is the script that makes it work:
> 
> Set the 'XNA: yes' header as usual. Compile and save the script to add
> the 'XNA: banter' header next after the U-A.
> 
> -----------------------[copy below]---------------------------
> 
> program OnBeforeSendingMessage;
> 
> const
>     ChangeHeader = 'User-Agent';
>     AddHeader = 'X-No-Archive: banter';

Gee, thanks for thanks for taking the time to figure this out for
me.  The script seems to be dependant on the User-Agent header -
which I don't use, but I can easily change the extra XNA to fall
after some other header.  I also already have a pretty lengthy
OnBerforeSendingMessage(), but I should be able to integrate this
pretty easily.

Is there a good tutorial of sorts to learn more about Dialog
scripting?  I have a lot of programming experience, and I
understand that Dialog uses Delphi, but I have trouble with the
Dialog-specific internal function/procedure names - are these
documented somewhere?

Thanks again.  I'll set it up tomorrow and report back.

-sw
Technical Details
Message-ID: <j4luqhhg8ad0.dlg@sqwertz.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi070.nbdc.sbc.com.POSTED!666d6152!not-for-mail
References: <40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com> <1cfxfs0ud4v2i.dlg@blackholespam.net>

Show Full Headers
Complete Article Headers
Message-ID: <j4luqhhg8ad0.dlg@sqwertz.com>
Subject: Re: [Dialog] I need two X-No-Archive Headers
Date: Thu, 21 Feb 2008 23:39:57 -0600
From: Sqwertz <swertz@cluemail.compost>
References: <40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com> <1cfxfs0ud4v2i.dlg@blackholespam.net>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi070.nbdc.sbc.com.POSTED!666d6152!not-for-mail
Newsgroups: news.software.readers
Content-Transfer-Encoding: 7bit
X-No-Archive: yes
X-WebTV-Stationery: Standard; BGColor=red;
 Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red
Lines: 66
NNTP-Posting-Host: 75.55.119.163
X-Complaints-To: abuse@prodigy.net
X-Trace: nlpi070.nbdc.sbc.com 1203658814 ST000 75.55.119.163 (Fri,
NNTP-Posting-Date: Fri, 22 Feb 2008 00:40:14 EST
Organization: AT&T http://yahoo.sbc.com
X-UserInfo1: Q[OUSV[GPRR[C[H]]RKB_UDAZZ\DPCPDLXUNNHLIWIWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN