🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #979

Re: gathering news for offline reading

#979
From: Jonathan I. Kamens
Date: Sun, 05 Jan 1992 02:08
64 lines
3208 bytes
This question gets asked in news.newusers.questions relatively
frequently.  Here's what I post when it does:

Question: How do I save all the news from a particular newsgroup into
a file, or save newsgroup to a file based on keyword searches, or
something like that, without running an interactive news reader?

Answer:

The original "readnews" can be told to output new news on stdout, and you can
then mail stdout to yourself.

"gnus" can be run under emacs in batch mode to achieve the same effect.

The "NewsClip" package that ClariNet distributes can also do this, but you
might have to pay for it.  You can get an evaluation copy of NewsClip from
/ClariNet/nc.tar.Z on uunet.uu.net.

The "dynafeed" package, also distributed by ClariNet, is also capable of this.
It's available in /ClariNet/dynafeed.tar.Z on uunet.uu.net, and I don't think
you have to pay for it.

You can put entries in your news sys file to tell the news system to pipe
incoming news into a specific program, including (for example) a program that
mails the news to you.  But that won't look at your .newsrc.

The "rkive" package in comp.sources.misc can also do this, and it's probably
the easiest of all of the solutions thus far listed to get to do the simple
thing you're trying to do.  The bells and whistles of the other packages will
get in the way more than rkive's bells and whistles will :-).

Finally, this shell script will run rn in the background and run cause your
KILL files to be run, so you could use it and put commands in your KILL files
to save articles:

#!/bin/sh
# (if these # comments bother your system, strip them out)
#
# rnkill - shell script to apply rn KILL files in background
# Jim Olsen  - 14 Mar 89 (olsen@XN.LL.MIT.EDU)
#
# Options: -d	debug mode.  You see all gory action as it happens.

# Visit all newsgroups (if rn asks about anything else, just say no)
PATH=/bin:${PATH}
export RNMACRO RNINIT TERM
TERM=dumb
RNINIT='-s -T -t'
RNMACRO=/tmp/rnkill$$
trap 'rm -f $RNMACRO; exit' 1 2 3 15
echo "z %(%m=n?.q^M:n)^(z^)" > $RNMACRO
if test X$1 = X-d; then
	echo "z" | rn
else
	echo "z" | rn >/dev/null 2>&1
fi
rm $RNMACRO
exit 0

-- 
Jonathan Kamens						jik@MIT.Edu
MIT Information Systems/Athena		    Moderator, news.answers
	      (Send news.answers-related correspondence
		  to news-answers-request@MIT.Edu.)
Technical Details
Message-ID: <JIK.92Jan4210831@pit-manager.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik
References: <1992Jan4.153920.7679@unixland.natick.ma.us>

Show Full Headers
Complete Article Headers
Message-ID: <JIK.92Jan4210831@pit-manager.mit.edu>
Subject: Re: gathering news for offline reading
Date: Sun, 5 Jan 1992 02:08:36 GMT
From: jik@athena.mit.edu (Jonathan I. Kamens)
References: <1992Jan4.153920.7679@unixland.natick.ma.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik
Newsgroups: news.software.readers
In-Reply-To: bill@unixland.natick.ma.us's message of 4 Jan 92 15: 39:20 GMT
Sender: news@athena.mit.edu (News system)
Nntp-Posting-Host: pit-manager.mit.edu
Organization: Massachusetts Institute of Technology
Lines: 64