Article View: news.software.readers
Article #178128Re: Time to switch news readers? Any that provide programmatic access to the message headers?
From: David McDivitt
Date: Tue, 20 Dec 2005 02:04
Date: Tue, 20 Dec 2005 02:04
67 lines
4076 bytes
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
Technical Details
Message-ID:
<ndpeq1h1fvdsgm9l4jo5jtj483vl4ma792@4ax.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-mailReferences:
<1135024717.187803.47350@f14g2000cwb.googlegroups.com> <43a731d0$0$38273$dbd4f001@news.wanadoo.nl> <1135039397.105683.46600@g47g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <ndpeq1h1fvdsgm9l4jo5jtj483vl4ma792@4ax.com> Subject: Re: Time to switch news readers? Any that provide programmatic access to the message headers? Date: Mon, 19 Dec 2005 20:04:54 -0600 From: David McDivitt <david-del@del-nonspiritual.com> References: <1135024717.187803.47350@f14g2000cwb.googlegroups.com> <43a731d0$0$38273$dbd4f001@news.wanadoo.nl> <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 Newsgroups: news.software.readers,alt.usenet.offline-reader,alt.usenet.offline-reader.forte-agent,alt.usenet.offline-reader.forte-agent.modified Organization: http://newsguy.com Lines: 67 NNTP-Posting-Host: p-352.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 3.1/32.783