Article View: news.software.nntp
Article #72308filtering algorithm
From: Allen Brunson
Date: Fri, 23 Sep 2005 06:17
Date: Fri, 23 Sep 2005 06:17
27 lines
2242 bytes
2242 bytes
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. 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.
Technical Details
Message-ID:
<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!nntp.giganews.com!postnews.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!news2Show Full Headers
Complete Article Headers
Message-ID: <PM0004016A591AD163@remy.nashville.comcast.net> Subject: filtering algorithm Date: Fri, 23 Sep 2005 06:17:03 +0000 From: Allen Brunson <brunsona@takethisout.newsguy.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!nntp.giganews.com!postnews.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!news2 Newsgroups: news.software.nntp Organization: Anterior Solenoids Lines: 27 NNTP-Posting-Host: p-300.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pineapple News/0.8.0 (Mac OS X 10.3.9) X-Registered-To: Retina Q. Spirochetes X-Program-URL: http://www.platinumball.net/pineapple/news/macosx/