🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #178120

Re: Time to switch news readers? Any that provide programmatic access to the message headers?

#178120
From: TedKennedyMurderedHisPregnantMis...
Date: Tue, 20 Dec 2005 00:43
53 lines
4012 bytes
Frank Slootweg wrote:
> TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com wrote:
> > Does anyone know if there are any news readers that provide a published
> > interface to it's message headers? I have a task that requires far
> > more complicated (read: programmatic) filtering than Agent will
> > provide, and I find it's time to switch news readers. It's a shame,
> > because otherwise Agent is a decent client.
>
>   If you want to filter, then maybe you should look at filters instead
> of newsreaders! :-)

<grin>

The filters I need are too complex, dynamic, numerous, and ambiguous
for "standard" filtering solutions and techniques.

>   But all kidding aside: Have a look at Hamster [1] or/and Nfilter [2]
> which both 'sit' between your (real) NSP's (News SP) News-server and
> your newsreader (*any* NNTP newsreader). Besides its filtering
> capabilities (on *any* part of a posting), Hamster is also a, 'small',
> 'personal', News-server which makes any newsreader into and off-line
> one. As the name implies, Nfilter only filters.

I use Hamster already, but not in a filtering capacity. nfilter looks
interesting, but I'm not entirely sure it's up to the task. I am
accomplished enough as a developer to write something similar to
nfilter, but I'm not particularly enthused about that approach.

I have written a utility for Agent 1.91 that does very much what I
want; my issue is that I can not consistently derive where the offset
of a given message header begins within it's record, so some messages
are errantly ignored. It appears that the header begins at an offset of
either 0x0008, 0x0200, or 0x0220 from the beginning of the message
record, and I can not reliably determine which.

With a test database (seeded by powerpost/hamster) the offsets were
always 0x0008, so the code initially worked fine. But using databases
fed from the news server I'm wanting to interface with, the offsets
vary. If I could consistently determine the header offset, I would be
pleased.

>   BTW, newsreader talk goes on in news.software.readers, not in these
> niche groups.

Groups adjusted, thanks!

> [1] <http://www.tglsoft.de/misc/hamster_en.htm>
>
> [2] <http://www.nfilter.org>

Thanks again; nfilter looks like an interesting approach, and I'll
research it further.
Technical Details
Message-ID: <1135039397.105683.46600@g47g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!nnrp.usenet.blueworldhosting.com!!news.usenet.blueworldhosting.com!spool1.usenet.blueworldhosting.com!injection-bsd1!not-for-mail
References: <1135024717.187803.47350@f14g2000cwb.googlegroups.com> <43a731d0$0$38273$dbd4f001@news.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <1135039397.105683.46600@g47g2000cwa.googlegroups.com>
Subject: Re: Time to switch news readers? Any that provide programmatic access to the message headers?
Date: Tue, 20 Dec 2005 00:43:17 +0000
From: TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com
References: <1135024717.187803.47350@f14g2000cwb.googlegroups.com> <43a731d0$0$38273$dbd4f001@news.wanadoo.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!nnrp.usenet.blueworldhosting.com!!news.usenet.blueworldhosting.com!spool1.usenet.blueworldhosting.com!injection-bsd1!not-for-mail
Newsgroups: news.software.readers,alt.usenet.offline-reader,alt.usenet.offline-reader.forte-agent,alt.usenet.offline-reader.forte-agent.modified
Organization: http://groups.google.com
Lines: 54
NNTP-Posting-Host: 12.13.173.96
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1135039402 15602 127.0.0.1 (20 Dec 2005 00:43:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 20 Dec 2005 00:43:22 +0000 (UTC)
In-Reply-To: <43a731d0$0$38273$dbd4f001@news.wanadoo.nl>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=12.13.173.96;
   posting-account=9CnZrA0AAACr1c7ors9C1UbOq1IVDgcT