Article View: news.software.nntp
Article #48256Re: Perl Filtering in INN 2.3
From: Russ Allbery
Date: Sun, 03 Sep 2000 03:24
Date: Sun, 03 Sep 2000 03:24
11 lines
1170 bytes
1170 bytes
LART <lart@mfn.org> writes:
> Good {Morning, Evening, Etc.},
> Is it possible to filter based on *content*, rather than headers?
Sure. $hdr{__BODY__} contains the text of the article in the innd filter;
in the nnrpd filter, it's in $body.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylzolqqhsh.fsf@windlord.stanford.edu>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!sn-east!supernews.com!news-feed.riddles.org.uk!nntp.cs.ubc.ca!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<A4js5.12643$Jq2.22674@dfw-read.news.verio.net>Show Full Headers
Complete Article Headers
Message-ID: <ylzolqqhsh.fsf@windlord.stanford.edu> Subject: Re: Perl Filtering in INN 2.3 Date: Sun, 03 Sep 2000 03:24:30 +0000 From: Russ Allbery <rra@stanford.edu> References: <A4js5.12643$Jq2.22674@dfw-read.news.verio.net> 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!sn-east!supernews.com!news-feed.riddles.org.uk!nntp.cs.ubc.ca!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 10 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)