🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #64086

Re: XNews how to make it mark self-post article to read automatically?

#64086
From: GM
Date: Tue, 01 Aug 2000 00:00
66 lines
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.

Technical Details
Message-ID: <8F8312A7CSG2ALA3GS@63.211.125.91>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <8m5peh$r6e$1@news.cz.js.cn>

Show Full Headers
Complete Article Headers
Message-ID: <8F8312A7CSG2ALA3GS@63.211.125.91>
Subject: Re: XNews how to make it mark self-post article to read automatically?
Date: Tue, 01 Aug 2000 00:00:00 +0000
From: marti@mainews.com.invalid (GM)
References: <8m5peh$r6e$1@news.cz.js.cn>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 653110119
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: support@usenetserver.com
Organization: Special High Intensity Training
User-Agent: Xnews/03.07.28
NNTP-Posting-Date: Tue, 01 Aug 2000 03:29:33 EDT
Newsgroups: news.software.readers