Thread View: news.software.readers
2 messages
2 total messages
Started by Tony Chamberlain
Wed, 18 Jan 1995 06:21
Programming info on NNTP and news in general
Author: Tony Chamberlain
Date: Wed, 18 Jan 1995 06:21
Date: Wed, 18 Jan 1995 06:21
10 lines
1402 bytes
1402 bytes
I am interested in writing a program that will scan a paticular newsgroup for paticular keywords and save them to a file for me. (Basically, I don't have time to wade through the messages and want to automate it.) I have the C,Unix,and TCP/IP expertise to program it, what I lack is knowledge of how news and NNTP work. Is there a FAQ somewhere that I can get this information. I would rather do that than download rn or something and "reverse engineer it" :) Tony Chamberlain achamber@icarus.weber.edu
Re: Programming info on NNTP and news in general
Author: Peter Kappesser
Date: Sat, 21 Jan 1995 09:12
Date: Sat, 21 Jan 1995 09:12
29 lines
2397 bytes
2397 bytes
Recently in news.software.readers, achamber@icarus.weber.edu (Tony Chamberlain) wrote: >I am interested in writing a program that will scan a paticular >newsgroup for paticular keywords and save them to a file for me. (Basically, >I don't have time to wade through the messages and want to automate it.) >I have the C,Unix,and TCP/IP expertise to program it, what I lack is knowledge >of how news and NNTP work. Is there a FAQ somewhere that I can get this >information. I would rather do that than download rn or something and >"reverse engineer it" :) RFC-977 is the one that explains how NNTP works, but at the moment I don't remember where to ftp RFC's from. Also check comp.sources.misc for "newscan", a Perl script which does exactly what you describe. An announcement about it was recently posted here. Or, check the trn newsreader FAQ here for a script which can invoke trn to do this, using commands in killfiles to select and save, or whatever. (I've even set up a news->mail gateway using this, by piping selected articles to a Perl script which further evaluates them and mails them to a list of recipients if worthwhile.) I haven't evaluated to see whether newscan would be more efficient to use, but I use some trn tricks (such as using a header line pattern modifier to look for three commas in the Xrefs: header line in order to kill massively cross-posted articles) which may not be doable as elegantly in newscan. -- "What if the humpback whales are scat-singing?" pjkappes@mailbox.syr.edu (Peter Kappesser)
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