🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by TedKennedyMurderedHisPregnantMis... Tue, 20 Dec 2005 00:43
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178120
Author: 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.
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178128
Author: David McDivitt
Date: Tue, 20 Dec 2005 02:04
67 lines
4076 bytes
>From: TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com
>Date: 19 Dec 2005 16:43:17 -0800
>Lines: 54
>
>
>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.


You can collect messages with Agent, save them from Agent into one file,
then read and parse the file. It would be a manual process. If doing one
huge batch, or doing it once in awhile that wouldn't be too bad, but doing
it on a regular basis might be tedious.
--
http://nonspiritual.com
http://freeconservative.org
http://todiscuss.com
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178135
Author: TedKennedyMurderedHisPregnantMis...
Date: Tue, 20 Dec 2005 03:34
16 lines
2443 bytes
David McDivitt wrote:
>
>
> You can collect messages with Agent, save them from Agent into one file,
> then read and parse the file. It would be a manual process. If doing one
> huge batch, or doing it once in awhile that wouldn't be too bad, but doing
> it on a regular basis might be tedious.

That works fine for messages I have retrieve the bodies for; message
exporting doesn't work for articles for which you only have the
headers. Unfortunately some of the filtering will be used to select
future articles for downloading. Thanks for the suggestion, though.

In other news, I *believe* I'm fairly close to properly calculating the
header offset. :-D
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178134
Author: Clark W. Griswold, Jr.
Date: Tue, 20 Dec 2005 03:48
12 lines
1944 bytes
TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com wrote:

>That works fine for messages I have retrieve the bodies for; message
>exporting doesn't work for articles for which you only have the
>headers. Unfortunately some of the filtering will be used to select
>future articles for downloading. Thanks for the suggestion, though.

If you plan to filter on headers, keep in mind that only a small subset of
message headers are available without downloading the entire message...

AFAIK, Agent pretty much allows you to filter on anything available before
downloading the message.
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178139
Author: TedKennedyMurderedHisPregnantMis...
Date: Tue, 20 Dec 2005 04:07
18 lines
2729 bytes
Clark W. Griswold, Jr. wrote:
> TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com wrote:
>
> >That works fine for messages I have retrieve the bodies for; message
> >exporting doesn't work for articles for which you only have the
> >headers. Unfortunately some of the filtering will be used to select
> >future articles for downloading. Thanks for the suggestion, though.
>
> If you plan to filter on headers, keep in mind that only a small subset of
> message headers are available without downloading the entire message...
>
> AFAIK, Agent pretty much allows you to filter on anything available before
> downloading the message.

Primarily I'll be filtering on subject content, secondarily by author,
both of which are in the list of ?14? header fields Agent stores when
it refreshes headers. Thanks for the warning, though!
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178138
Author: TedKennedyMurderedHisPregnantMis...
Date: Tue, 20 Dec 2005 04:08
18 lines
2605 bytes
Clark W. Griswold, Jr. wrote:
> TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com wrote:
>
> >That works fine for messages I have retrieve the bodies for; message
> >exporting doesn't work for articles for which you only have the
> >headers. Unfortunately some of the filtering will be used to select
> >future articles for downloading. Thanks for the suggestion, though.
>
> If you plan to filter on headers, keep in mind that only a small subset of
> message headers are available without downloading the entire message...
>
> AFAIK, Agent pretty much allows you to filter on anything available before
> downloading the message.

By the way, Mr. Griswold, where's your next vacation going to be?

:-)
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178142
Author: Clark W. Griswold, Jr.
Date: Tue, 20 Dec 2005 04:59
6 lines
1640 bytes
TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com wrote:

>
>By the way, Mr. Griswold, where's your next vacation going to be?

'twas thinking a Safari might be kind of interesting!
Re: Time to switch news readers? Any that provide programmatic access to the message headers?
#178206
Author: TedKennedyMurderedHisPregnantMis...
Date: Wed, 21 Dec 2005 00:32
10 lines
2259 bytes
Clark W. Griswold, Jr. wrote:
> TedKennedyMurderedHisPregnantMistress.dwpj65@spamgourmet.com wrote:
>
> >
> >By the way, Mr. Griswold, where's your next vacation going to be?
>
> 'twas thinking a Safari might be kind of interesting!

That it might be; taking cousin Eddie with?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads