# HG changeset patch # User bears # Date 965856658 -3600 # Node ID 3598fc9581c1fb72a240924b3bc043aac9c2a4cc # Parent d6c006a27ffe62e4bc419e3c4750ddbbbde61674 [svn] Added filtering diff -r d6c006a27ffe -r 3598fc9581c1 ChangeLog --- a/ChangeLog Wed Aug 09 22:26:28 2000 +0100 +++ b/ChangeLog Wed Aug 09 22:30:58 2000 +0100 @@ -2,6 +2,16 @@ NOFFLE ChangeLog ------------------------------------------------------------------------------- +Wed Aug 9 22:02:21 BST 2000 Jim Hague + + * src/client.c: Use plain LIST instead of LIST ACTIVE if possible + for compatability with old servers. + * src/client.c,src/fetch.c: Fix fetching bugs that could potentially + have left the lock in the wrong state. + * docs/noffle.conf.5,src/Makefile.in,src/client.c,src/configfile.c, + noffle.conf.example: Add first-cut article filtering. Note you will + need to run 'configure' again to re-generate src/Makefile. + Mon 24 Jul 20:30:05 BST 2000 Jim Hague * src/database.h,src/database.c,src/server.c: Redo XHDR and diff -r d6c006a27ffe -r 3598fc9581c1 NEWS --- a/NEWS Wed Aug 09 22:26:28 2000 +0100 +++ b/NEWS Wed Aug 09 22:30:58 2000 +0100 @@ -5,6 +5,8 @@ Current development version: ---------------------------- + * Use LIST instead of LIST ACTIVE if possible to help work with old servers. + * Article filtering: see noffle.conf(5) for details. * Fix bug with time of last server access for setups with multiple servers. You must re-run 'noffle --query groups'. * Remove '--query times'. diff -r d6c006a27ffe -r 3598fc9581c1 noffle.conf.example --- a/noffle.conf.example Wed Aug 09 22:26:28 2000 +0100 +++ b/noffle.conf.example Wed Aug 09 22:30:58 2000 +0100 @@ -78,3 +78,14 @@ # expired at 20 days, as it would be the first custom match # for every group. #expire * 20 + +# Sample article filtering. +# 1. Silently dump without fetching any article with a title +# looking like '$$$ Make Money Now $$$'. +# 2. Fetch articles cross-posted to more than 3 groups where one of the +# groups is alt.flame in overview mode only. +# 3. Fetch all articles > 20k in size in overview mode only. + +#filter subject="\$+.*Make.*Money.*Now.*\$\$\$" action=discard +#filter xposts>3 group=alt.flame action=over +#filter bytes>20480 action=over