pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] Re: Here's an odd one : conditional plonk??


From: Duncan
Subject: [Pan-users] Re: Here's an odd one : conditional plonk??
Date: Wed, 20 Jun 2007 09:12:36 +0000 (UTC)
User-agent: Pan/0.131 (Ghosts: First Variation)

Duncan <address@hidden> posted
address@hidden, excerpted below, on  Tue, 19 Jun 2007
00:49:25 +0000:

> Beartooth <address@hidden> posted
> address@hidden, excerpted below,
> on  Mon, 18 Jun 2007 20:26:10 +0000:
> 
>> Would it be feasible to plonk his posts if and only if they are either
>> replies to mine, or comments in threads I start?
> 
> It's "conditionally possible". <g>
> 
> You'd score both (with an AND, so it must match BOTH conditions) on his
> name/address (so authored by him), AND on the references line, matching
> part of your message-id (so it's a reply, directly or indirectly, to
> you).  The "conditional" part is that in ordered for it to work, you
> must find a part of your message-id to match, that's exclusive to your
> posts (so it doesn't match others accidentally), but matches /all/ your
> posts.

OK tried replying further before but did something and caused a crash, 
and was too tired to retype it at the time, so...

First, from pan, we'll setup a score on replies to your own posts, then 
open the score file and hand edit the entry to add the additional 
condition.  So you don't kill replies to your own posts, we'll initially 
set the score to something strange, say 266, so it's easy to spot.  Once 
we get both conditions tested and working, we can change that manually to 
plonk/ignore/kill.

On a post of yours, add a new score, editing it as follows (this assumes 
you use the same posting address in the groups in question as here, 
remove the spaces around the @ symbol below, added to prevent gmane 
munging them, <> indicates a dropdown box, [] indicates a textbox):

If the group name <set this> [as appropriate]

And the article's <References> <matches regex> [<pan\..* @ swva\.net>]

<set the article's score to> [266]

<set the time as approriate>

Hit Add and Rescore, and see if it's properly detecting replies to your 
posts, and /only/ replies (direct or downline, grandchild, etc, so the 
entire subthread below a post of yours) to your posts.  In particular, we 
want to be sure it's not matching subthreads below anyone else's posts, 
because that regex is based on an assumption.

If you toggle view headers on one of your messages, and look at your 
message-ids, you will see they are of the pattern <pan.date.time at 
swva.net>.  The date and the time part will change with each message, so 
we can only match the <pan. and the @domain> part.  This does match 
replies to your posts (I tested it here), but if anyone else posts with 
pan using an email address at swvn.net, it'll match replies to their 
posts too.  I'm hoping nobody else at swvn.net happens to both use pan 
and post to the groups in question, however.  If they do, you'll have to 
choose between matching that as well, or giving up and just not using 
this score.

OK, that's the first part.  Get that tested and working, that is, scoring 
all replies to your posts as 266, reply saying you've got that working, 
and we'll go from there.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]