🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #169120

Re: [SLRN] Slrnpull: Script to Score Replies to Your Posts

#169120
From: Alan Connor
Date: Mon, 11 Jul 2005 22:32
92 lines
3778 bytes
On news.software.readers, in
<mf5bq2-93k.ln1@ID-107770.user.individual.net>, "Whiskers" wrote:

> On 2005-07-11, Alan Connor <zzzzzz@xxx.yyy> wrote:
>
>> Inspired by a recent thread, I've written a script that scores
>> resplies to the slrnpull user's posts.
>>
>> Seems to be working well. Anyone who would like to try it can
>> download the gzipped file with:
>>
>> wget http://home.earthlink.net/~alanconnor/sr.bsh.gz
>>
>> AC
>
> Interesting :))
>
> I still think my way with the unique FQDN is more to my liking,
> but I know that isn't an option for everyone so a more general
> solution is well worth having.
>

Assuming that this gave you a unique MID, you wouldn't even need
a script, just a scorefile entry. Handy indeed.

> but I know that isn't an option for everyone so a more general
> solution is well worth having.
>
> Your script could presumably be adapted (by those less
> script-deficient than me) to work with Leafnode or other local
> servers,

I would think so.

It just scans new additions to the .overview file for each group
in the spool, parses out my MIDs, formats them, and appends
them to a file included (sourced) by the main slrn score file.

> and to build a kill-file for the follow-ups to people
> or posts one has plonked.

The regular slrn score file does a good job of that, if you want.
But I don't recommend killfiling people, just killscoring them.

I only killfile over-sized posts and cross-posts from advocacy
groups at this point, and that's the slrnpull scorefile:

[*]
Score: -9999
Bytes: 20480

[*]
Score: -9999
Xref: advocacy

That's it.

(34 of 72 new posts from colm were killed when I updated that
group a few minutes ago. That loser windoze weenie who keeps
posting the anti-linux shit doesn't even know he's talking
to himself.)

>
> I may well get around to using your script as a 'tutorial' to
> learn more about scripts :))
>

Well worth the effort and simpler than you think. I'd start with
the basic tutorials though. There's a decent one in the HOWTOs
at: 

http://tldp.org 

Nothing like the "Learning the bash Shell" 2nd Edition, OREILLY.
Websearch "shelldorado", to find Heiner Steven's shellscripting
site.

The folks on comp.unix.shell (I'm one of them) are helpful to
newbies.

Although almost everyone looking for help there recently has
been posting from google, and myself and a lot of others
won't help them.

AC


-- 
If you are posting through google for any purpose
other than learning to use a real newsreader,
many of us will not answer your questions.
  ----  news.software.readers  ----
Technical Details
Message-ID: <DrCAe.21299$eM6.13284@newsread3.news.atl.earthlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!65807237!not-for-mail
References: <uPpAe.8202$aY6.473@newsread1.news.atl.earthlink.net> <mf5bq2-93k.ln1@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <DrCAe.21299$eM6.13284@newsread3.news.atl.earthlink.net>
Subject: Re: [SLRN] Slrnpull: Script to Score Replies to Your Posts
Date: Mon, 11 Jul 2005 22:32:03 GMT
From: Alan Connor <zzzzzz@xxx.yyy>
References: <uPpAe.8202$aY6.473@newsread1.news.atl.earthlink.net> <mf5bq2-93k.ln1@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!65807237!not-for-mail
Newsgroups: news.software.readers
Reply-To: xxxx@yyy.zzz
User-Agent: slrn/0.9.7.3 (Linux)
Lines: 92
NNTP-Posting-Host: 4.243.3.252
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread3.news.atl.earthlink.net 1121121123 4.243.3.252 (Mon,
NNTP-Posting-Date: Mon, 11 Jul 2005 15:32:03 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net