🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63435

Re: NewsReader that can save bodies in plain text format?

#63435
From: Murray Peterson
Date: Wed, 19 Jul 2000 00:00
42 lines
2632 bytes
JoeMoyle@Flashcom.Net (Joe Moyle) wrote:

>I would like to find a newsreader that can save all of the bodies
>of news messages to my local drive in a plain text format.  I want
>to parse all of the text of some auction/sales/trade newsgroups
>for a collectable card game I play and then share card pricing 
>information derived from the newsgroups with the internet 
>community.  I'm a perl beginner but I have been using it for 
>parsing error logs and writing exception reports for a couple of 
>years.  I thought could use perl to parse the text but I don't 
>know the first thing about getting that text from a news server. 
>I thought that with all of the newsreaders out there someone on 
>this news group might be able to point me in the right direction. 
>I'm using NT 4.0 on my home workstation.  I've just installed 
>Gravity v2.3 Beta 4 to see if it will do what I want.  I find that
>the . g file has the information I want but when I open it with
>perl it only sees one line and then exits the file.  Any help
>would be appreciated. 

There are several ways we can go here:

1. Fix your Perl script (easiest solution):
   Perl Question:  Did you remember to set binmode on your
    	    	    	   file descriptor?

2. I have written a complete newsreader written in Perl.
   It's command line only, but it does deal with newsrc files and
   has fairly complete filtering mechanisms.  No support -- you would
   have to take it as-is and modify it to suit yourself.
   It's available from my web page (see my signature below).

3. Get a different newsreader that saves the files in a format
   you can easily read from Perl.

I would recommend solution #1 as by far the easiest.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson

Technical Details
Message-ID: <8F75E2831farkle@24.64.2.57>
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: <sna6kr1d1nk140@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <8F75E2831farkle@24.64.2.57>
Subject: Re: NewsReader that can save bodies in plain text format?
Date: Wed, 19 Jul 2000 00:00:00 +0000
From: mwp@home.com.invalid (Murray Peterson)
References: <sna6kr1d1nk140@corp.supernews.com>
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: 648063602
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 963980661 24.64.53.150 (Tue, 18 Jul 2000 21:24:21 PDT)
Organization: @Home Network Canada
User-Agent: Xnews/03.04.11
NNTP-Posting-Date: Tue, 18 Jul 2000 21:24:21 PDT
Newsgroups: news.software.readers