Thread View: news.software.readers
4 messages
4 total messages
Started by Bill Heiser
Sat, 04 Jan 1992 15:39
gathering news for offline reading
Author: Bill Heiser
Date: Sat, 04 Jan 1992 15:39
Date: Sat, 04 Jan 1992 15:39
17 lines
1272 bytes
1272 bytes
Several users on my system have asked for the following: They would
like to login, gather (automatically via script) the new articles
in the groups they subscribe to, and have that put in a file they
can download and read offline. They presumably would login later
and manually reply to those that they wish to reply to.
I have nn, rn, tass, and tin online. Will any of these do this
with relative ease (for the novice unix user), or are there programs/
scripts avaialble someplace to do this?
Thanks much,
Bill
--
bill@unixland.natick.ma.us ...!uunet!{think,world}!unixland!bill
Public Access UNIX / USENET / E-MAIL Accounts are available! (508) 655-3848
5 lines - Located in Natick, MA USA
Re: gathering news for offline reading
Author: Jonathan I. Kamens
Date: Sun, 05 Jan 1992 02:08
Date: Sun, 05 Jan 1992 02:08
64 lines
3208 bytes
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.)
Re: gathering news for offline reading
Author: Anthony DeBoer
Date: Sun, 05 Jan 1992 04:53
Date: Sun, 05 Jan 1992 04:53
37 lines
3024 bytes
3024 bytes
In article <1992Jan4.153920.7679@unixland.natick.ma.us> bill@unixland.natick.ma.us (Bill Heiser) writes:
>Several users on my system have asked for the following: They would
>like to login, gather (automatically via script) the new articles
>in the groups they subscribe to, and have that put in a file they
>can download and read offline. They presumably would login later
>and manually reply to those that they wish to reply to.
Sounds almost like they want a newsfeed. Presuming you're running C News (an
easy safe guess based on your Message ID format), you could set something up
with your sys file or batchparms to give them the articles from their selected
groups in virtually any usable format. Even if you simply handed them the
pathnames, they'd be able to bundle the articles and take them home themselves
using whatever communications program is good for them. Sorting a batch
before generating it might even allow them to read the batch directly with
some degree of sanity, kludgeful though that might be.
One package that might help, depending on what sort of box they use offline,
would be bsnews ("bootstrap news"), a minimal rnews/newsreader setup that
appeared in comp.sources.misc awhile ago as v22i106 (according to a quick
check). I've never tried it out myself, but I took a look at it at one
point and it appears that it'll let you feed news to pretty well any machine
with a C compiler and something that acts like uucp.
Another tool that might come in handy would be something to allow a
"downstream site", in whatever incarnation your users set themselves up, to
select or deselect groups and have the changes occur automatically in your sys
file. I don't have such a beast handy, but know of at least two of them out
there, one from D'Arcy Cain (darcy@druid.uucp) and the other by Brad Templeton
of rec.humor.funny fame. A search of the various source newsgroup archives
ought to turn something up.
Of course, the all-singing all-dancing full-feature solution involves the
users having XENIX, C News, and rn on their home boxes...
--
Anthony DeBoer NAUI # Z8800 | Why watch TV, when Netnews provides
adeboer@gjetor.geac.com D5482 | 100% of your daily requirement for
uunet!geac!gjetor!herboid!adeboer | trivia and meaningless entertainment?
Re: gathering news for offline reading
Author: Pete Hardie
Date: Tue, 07 Jan 1992 15:32
Date: Tue, 07 Jan 1992 15:32
21 lines
1574 bytes
1574 bytes
In article <JIK.92Jan4210831@pit-manager.mit.edu> jik@athena.mit.edu (Jonathan I. Kamens) writes: >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: I'm glad I decided to read this group today - I've been wanting something like this for a while now. Since I spend about 2 hrs on newsreading, why should I watch (t)rn process a killfile *every* time - let it run in the background or when I'm away. If I hadn't seen this, I was planning on hacking the killfile sections of trn to produce a program to just update .newsrc for kill purposes. (heck, I still might do it, just for kicks) -- Pete Hardie: phardie@nastar (voice) (404) 497-0101 Digital Transmission Systems, Inc., Duluth GA Member, DTS Dart Team | Position: Goalie | cat * | fgrep -v "signature virus"
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