Thread View: news.software.readers
7 messages
7 total messages
Started by redgiant
Tue, 01 Aug 2000 00:00
XNews how to make it mark self-post article to read automatically?
Author: redgiant
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
5 lines
987 bytes
987 bytes
Now when I post/followup an article using xnews,nexttime xnews get the new headers , and my article will display as new and unread.How I can make my articles auto-read and old?
Re: XNews how to make it mark self-post article to read automatically?
Author: GM
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
56 lines
2667 bytes
2667 bytes
On 01 Aug 2000 Wayne Menzie wrote:
>marti@mainews.com.invalid (GM) wrote in
><8F8312A7CSG2ALA3GS@63.211.125.91>:
>
>>Score:: =-9998
>>From: <your e-mail address>
>>
>>- it's better to put this score before any other score that applies to
>>the group because xnews applies the scores sequentially.
>
>Only if you DON'T use a the = sign like you did. The = sign indicates
>to Xnews that it should set the score at -9998 and stop scoring that
>header.
>
>The double colon you used is also useless in that context as it changes
>the behavior from AND to OR for any headers that follow. With 2 or more
>headers, it can come in handy.
>
>Take a look at scoring.txt. It's very thourough. Afterwards, you'll
>probably have some questions so fell free to ask them here. Good luck.
>
Thanks for the clarifications. I had tried the whole thing before sending
it and it worked (in addition to normally scoring Xnews-related articles
>0), but it's always good to get a second opinion.
The double colon shouldn't matter, because the idea is to apply the score
to his posts only. If I understand it correctly, Xnews scans the group
once for every score applied, and the double colon applies for the headers
appearing to a specific scoring rule.
For example
Score:: =500
From: joey
Subject: foo
Score:: =-200
From: jimmy
Subject: bar
means that Xnews scans articles by joey or with subject (containing) foo
and gives them a 500 score, and then scans again for articles by jimmy or
with subject bar and gives them a -200 score. If joey made a posting about
bar or jimmy made a posting about foo the 500 score stands.
Did I get the whole thing wrong?
--
Gregory
Make this a valid address:
put the land before the news.
Re: XNews how to make it mark self-post article to read automatically?
Author: GM
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
66 lines
3109 bytes
3109 bytes
On 01 Aug 2000 redgiant wrote: >Now when I post/followup an article using xnews,nexttime xnews get the >new headers , and my article will display as new and unread.How I can >make my articles auto-read and old? > > You cannot make them old because they aren't. However, maybe you can use the score file together with an OnLoaded command to do what you want. The idea is to assign a certain score to your posts, filter them when you open a group, mark them as read and then apply any other filters you may have. First add in the [.] section (or to specific group sections) of the score file a score for your posts. Something like Score:: =-9998 From: <your e-mail address> Two remarks here: - you may need to make this the only negative score, so that you can filter your posts alone using acvShowGe0Score,acvInvertFilter. Assigning a positive score makes things harder, because there are the replies to your posts which get a 9999 score and it's trickier to separate them from your posts. I am not sure if there are similar commands that allow filtering on custom scores. If you don't have any scoring scheme now (except for killed articles) then things are easier. - it's better to put this score before any other score that applies to the group because xnews applies the scores sequentially. Now go to groups.ini or to the [Misc] section of xnews.ini and add the following command OnLoaded=acvShowGe0Score,acvInvertFilter,acaSelectAll,acaMarkRead, acvUndoFilter (or use acvRemoveFilter to remove all filters). either in the [.] section or to the relevant group sections. Try to make the command stay in one line - possibly by maximizing the groups.ini window. If you already have filters in place for the groups, you might have to play around a bit with the above OnLoaded commands (probably include them before the other commands). For example, the command OnLoaded=acvShowGe0Score,acvInvertFilter,acaSelectAll,acaMarkRead, acvRemoveFilter,acvShowThGt0Score,acvShowThUnread in conjunction to assigning your posts <0 score, will select them, mark them as read and then show all threads that contain posts with >0 scores and unread messages. Have fun, -- Gregory Make this a valid address: put the land before the news.
Re: XNews how to make it mark self-post article to read automatically?
Author: Wayne Menzie
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
22 lines
1622 bytes
1622 bytes
marti@mainews.com.invalid (GM) wrote in <8F8312A7CSG2ALA3GS@63.211.125.91>: >Score:: =-9998 >From: <your e-mail address> > >- it's better to put this score before any other score that applies to >the group because xnews applies the scores sequentially. Only if you DON'T use a the = sign like you did. The = sign indicates to Xnews that it should set the score at -9998 and stop scoring that header. The double colon you used is also useless in that context as it changes the behavior from AND to OR for any headers that follow. With 2 or more headers, it can come in handy. Take a look at scoring.txt. It's very thourough. Afterwards, you'll probably have some questions so fell free to ask them here. Good luck. -- Wayne Menzie
Re: XNews how to make it mark self-post article to read automatically?
Author: Wayne Menzie
Date: Wed, 02 Aug 2000 00:00
Date: Wed, 02 Aug 2000 00:00
30 lines
1550 bytes
1550 bytes
GM wrote in <8F8414E36SG2ALA3GS@63.211.125.91>: >Thanks for going along. >So far we have the following. >- Double colon acts as OR, single as AND >- = assigns a score and doesn't change it subsequently. Exactly. >Therefore in my scenario > Score:: =500 > From: joey > Subject: foo > > Score:: =-200 > From: jimmy > Subject: bar > >if jimmy posts about foobar, the message should get a 500 score. Yes. And if frank posted about bar, it would get -200. >Somehow this whole thing reminds me of the "Who's on first?" routine. :) <g> -- Wayne Menzie
Re: XNews how to make it mark self-post article to read automatically?
Author: GM
Date: Wed, 02 Aug 2000 00:00
Date: Wed, 02 Aug 2000 00:00
48 lines
1993 bytes
1993 bytes
On 01 Aug 2000 Wayne Menzie wrote:
>
>Let me take your example and tweak it to explain.
>
> Score:: 500
> From: joey
> Subject: foo
>
> Score: -200
> From: jimmy
> Subject: bar
>
>From: joey, Subject: bar Score: 500
>From: joey, Subject: foo Score: 500
>From: joey, Subject: foobar Score: 500
>From: jimmy Subject: bar Score: -200
>From: jimmy Subject: foo Score: 500
>From: jimmy Subject: foobar Score: 300
>
>Hope this helps.
>
Thanks for going along.
So far we have the following.
- Double colon acts as OR, single as AND
- = assigns a score and doesn't change it subsequently.
Therefore in my scenario
Score:: =500
From: joey
Subject: foo
Score:: =-200
From: jimmy
Subject: bar
if jimmy posts about foobar, the message should get a 500 score.
Somehow this whole thing reminds me of the "Who's on first?" routine. :)
--
Gregory
Make this a valid address:
put the land before the news.
Re: XNews how to make it mark self-post article to read automatically?
Author: Wayne Menzie
Date: Wed, 02 Aug 2000 00:00
Date: Wed, 02 Aug 2000 00:00
76 lines
3030 bytes
3030 bytes
marti@mainews.com.invalid (GM) wrote in
<8F8392F9ASG2ALA3GS@63.211.125.91>:
>The double colon shouldn't matter, because the idea is to apply the
>score to his posts only.
For the example you posted, it would work with a double colon or a single
colon.
>If I understand it correctly, Xnews scans the group once for every score
>applied, and the double colon applies for the headers appearing to a
>specific scoring rule.
The double colon acts as an OR. From scoring.txt:
By default, each individual test must pass in order for the scoring rule to
apply, i.e., boolean AND is the default. If you want to use boolean OR
instead, add an extra : after the Score keyword. For example,
[^comp\.]
Score:: -9999
Lines: 1000
Xref: advocacy
From: beavis
From: butthead
>For example
>
> Score:: =500
> From: joey
> Subject: foo
>
> Score:: =-200
> From: jimmy
> Subject: bar
>
>means that Xnews scans articles by joey or with subject (containing) foo
>and gives them a 500 score, and then scans again for articles by jimmy
>or with subject bar and gives them a -200 score. If joey made a posting
>about bar or jimmy made a posting about foo the 500 score stands.
The = sign assigns the value and stops scoring that header. Again from
scoring.txt:
If you want to assign a single score other than 9999 or -9999, then put an
equal sign in front of the score value. For example
Score: =500
From: joey
means "if an article was posted by joey, then assign it a score of 500 and
don't bother looking at any other rule."
Let me take your example and tweak it to explain.
Score:: 500
From: joey
Subject: foo
Score: -200
From: jimmy
Subject: bar
From: joey, Subject: bar Score: 500
From: joey, Subject: foo Score: 500
From: joey, Subject: foobar Score: 500
From: jimmy Subject: bar Score: -200
From: jimmy Subject: foo Score: 500
From: jimmy Subject: foobar Score: 300
Hope this helps.
--
Wayne Menzie
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads