🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48534

Re: INN & cleanfeed

#48534
From: Russ Allbery
Date: Tue, 26 Sep 2000 00:00
31 lines
1423 bytes
armedlemming <armedlemming@yahoo.com> writes:

> Sorry all, I found the fix in the archives of this group by none other
> than Russ himself (back in February 2000).

> I have to change the:

> $lines = $hdr{'__BODY__'} =~ tr/\n/\n/;

> to be:

> $lines = $hdr{'__LINES__'} =~ tr/\n/\n/;

> instead.  I did it and it worked.

No, you want just:

    $lines = $hdr{'__LINES__'};

without the tr/// part.

> Cool.  Is this something that could be incorporated into the cleanfeed
> FAQ (which is 'bout 2 years old now, but useful nonetheless) or maybe as
> a note for INN 2.3....

Yeah, I should mention it in the INN 2.3 release notes.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl7l7yitja.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!not-for-mail
References: <8qr5to$hk9$1@nnrp1.deja.com> <8qr9jo$kil$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl7l7yitja.fsf@windlord.stanford.edu>
Subject: Re: INN & cleanfeed
Date: Tue, 26 Sep 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <8qr5to$hk9$1@nnrp1.deja.com> <8qr9jo$kil$1@nnrp1.deja.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!not-for-mail
X-Deja-AN: 674509184
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
Newsgroups: news.software.nntp