🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72309

Re: filtering algorithm

#72309
From: Bill Davidsen
Date: Fri, 23 Sep 2005 12:27
39 lines
3166 bytes
Allen Brunson wrote:
> hello news admins,
> 
> i'm about to implement filtering rules for my client newsreader.  i want to
> give the user the ability to filter on any arbitrary header.  and i also want
> to avoid the problem that some newsreaders have, viz: they can only filter on
> what's in the overview database, but don't make it obvious, so the behavior is
> different from server to server unless they have identical overview fields.

1 - this belongs in the news.software.readers group
2 - do read the "so you want to write another news client" essay
3 - overview was created because getting individual headers was very
     slow and used too many server resources.
> 
> so i guess my first step will be to get a list of all headers that the current
> ruleset will need to filter against.  if they're all in the overview database,
> great, i can get by examining only the XOVER data.  if they don't, what's
> next?  should i either:
> 
> 1) bite the bullet and do a HEAD for every single message i'm thinking about
> downloading.
> 
> 2) use XPAT to get matching articles.
> 
> 3) use XHDR to get matching headers/articles.
> 
> 4) something better you know about but i don't.
> 
> i guess this question is arguably off-topic here, but i'm sure you news admins
> know the answers better than anybody.  i'm still not over basing a whole lot
> of my first newsreader on the NEWNEWS command, only to discover that it was
> turned off nearly everywhere.  so this time i figure i should go to the
> source.


-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Technical Details
Message-ID: <IwSYe.838$4u4.835@newssvr19.news.prodigy.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr19.news.prodigy.com.POSTED!1055e9ad!not-for-mail
References: <PM0004016A591AD163@remy.nashville.comcast.net>

Show Full Headers
Complete Article Headers
Message-ID: <IwSYe.838$4u4.835@newssvr19.news.prodigy.com>
Subject: Re: filtering algorithm
Date: Fri, 23 Sep 2005 12:27:20 GMT
From: Bill Davidsen <davidsen@deathstar.prodigy.com>
References: <PM0004016A591AD163@remy.nashville.comcast.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr19.news.prodigy.com.POSTED!1055e9ad!not-for-mail
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <PM0004016A591AD163@remy.nashville.comcast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 39
NNTP-Posting-Host: 207.115.54.37
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr19.news.prodigy.com 1127478440 ST000 207.115.54.37 (Fri,
NNTP-Posting-Date: Fri, 23 Sep 2005 08:27:20 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MONFJS]RQ@Y@PON__@BUKXBABXMKHUTNBPLAH[\RYIBK^RAQFW[ML\THRCKV^GGZKJMGV^^_JSCFFUA_QXFGVSCYRPILH]TRVKC^LSN@DX_HCAFX__@J\DAJBVMY\ZWZCZLPA^MVH_P@\\EOMW\YSXHG__IJQY_@M[A[[AXQ_XDSTAR]\PG]NVAQUVM