🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50005

Re: docs on filter_art? Mime tools?

#50005
From: Andrew Gierth
Date: Sat, 20 Jan 2001 07:22
19 lines
1831 bytes
>>>>> "Mark" == Mark W Modrall <modrall@world.std.com> writes:

 Mark> Hi...
 Mark> 	I've been wondering where to find documentation on the whole
 Mark> environment for writing perl filters?  I know there's the hdr
 Mark> array, and the text is in __BODY__ but i haven't seen much more
 Mark> about what else is in the env.

 Mark> 	I'm trying to use MIME tools in conjunction with the perl
 Mark> hook, and it seems like a waste to reconstruct the message text
 Mark> from hdr and pass it to the parser for processing...

I did a hack at one point to include __ART__ and __HEAD__ in the
%hdr array for roughly this reason, and in order to get at headers
that were not in the compiled-in header list.

-- 
Andrew.
Technical Details
Message-ID: <873deesn59.fsf@erlenstar.demon.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-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <G7FGpD.6Fz@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <873deesn59.fsf@erlenstar.demon.co.uk>
Subject: Re: docs on filter_art? Mime tools?
Date: Sat, 20 Jan 2001 07:22:58 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <G7FGpD.6Fz@world.std.com>
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-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 18
Distribution: na
NNTP-Posting-Host: erlenstar.demon.co.uk (0c66:0562)
X-Mayan-Date: Long count = 12.19.7.16.5; tzolkin = 4 Chicchan; haab = 8 Muan
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha