changeset 131:3598fc9581c1 noffle

[svn] Added filtering
author bears
date Wed, 09 Aug 2000 22:30:58 +0100
parents d6c006a27ffe
children a740dac296bc
files ChangeLog NEWS noffle.conf.example
diffstat 3 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <jim.hague@acm.org>
+
+ * 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 <jim.hague@acm.org>
 
  * src/database.h,src/database.c,src/server.c: Redo XHDR and
--- 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'.
--- 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