🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Brian Moret Tue, 03 Mar 1998 00:00
Writing a newsreader - sort of
#39264
Author: Brian Moret
Date: Tue, 03 Mar 1998 00:00
22 lines
1639 bytes
I'm looking for information that would aid me in writing a newsreader of
sorts.  Any book or URL recommendations would be greatly appreciated.  I
did get the RFC977 document, but I haven't done anything like this
before and still need more direction.

In short, my newsreader must be able to go to a newsgroup and retrieve
all the messages into a file.  Little or no user-interface is
necessary.  My short term objective is to write the information in a
format which I can then read into a database.  I would then make the
database available so that my clients could search and organize the
information in the database.  My longer term goal would be to make the
application available to my clients, this way they can download the
messages from any newsgroup they want.

Thanks in advance,
Brian
bmoret@towerhill.com



Re: Writing a newsreader - sort of
#39267
Author: Conrad Sabatier
Date: Tue, 03 Mar 1998 00:00
21 lines
1384 bytes
In article <34FCB155.689B7CDF@towerhill.com>,
Brian Moret  <bmoret@towerhill.com> wrote:
>I'm looking for information that would aid me in writing a newsreader of
>sorts.  Any book or URL recommendations would be greatly appreciated.  I
>did get the RFC977 document, but I haven't done anything like this
>before and still need more direction.

[snip]

The Usenet Rapid Knowledge Transfer web site's "developers" section 
would be your best place to start.

http://www.mibsoftware.com/userkt/userkt.html
-- 
Conrad Sabatier                  |  FreeBSD -- UNIX for your PC
                                 |  Why settle for less than the best?
http://www.neosoft.com/~conrads  |  http://www.freebsd.org


Re: Writing a newsreader - sort of
#39300
Author: Jeremy Mathers
Date: Wed, 04 Mar 1998 00:00
22 lines
1770 bytes
In article <34FCB155.689B7CDF@towerhill.com>,
Brian Moret  <bmoret@towerhill.com> wrote:
>I'm looking for information that would aid me in writing a newsreader of
>sorts.  Any book or URL recommendations would be greatly appreciated.  I
>did get the RFC977 document, but I haven't done anything like this
>before and still need more direction.

As you seem to be DOS-based, I probably can't help you, but note that I have
done this sort of thing on Unix, using an expect script.  It periodically
telnet's to my newsserver and grabs articles that meet my criteria.  I end
up with all of the stuff in Expect's log file.  It works quite nicely.

************************************************************************
It is not enough that others fail.  I must succeed!

	- pynq@quads.uchicago.edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
rwvpf wpnrrj ibf ijrfer

Re: Writing a newsreader - sort of
#39311
Author: John Moreno
Date: Wed, 04 Mar 1998 00:00
27 lines
2202 bytes
In news.software.readers Jeremy Mathers wrote:

> Brian Moret  <bmoret@towerhill.com> wrote:
> >I'm looking for information that would aid me in writing a newsreader of
> >sorts.  Any book or URL recommendations would be greatly appreciated.  I
> >did get the RFC977 document, but I haven't done anything like this
> >before and still need more direction.
> 
> As you seem to be DOS-based, I probably can't help you, but note that I have
> done this sort of thing on Unix, using an expect script.  It periodically
> telnet's to my newsserver and grabs articles that meet my criteria.  I end
> up with all of the stuff in Expect's log file.  It works quite nicely.

I'd suggest that he either use a perl script to do it (look for NNTP on
CPAN), or that he use a offline newsreader and just get the info out of
it.

-- 
John Moreno
I am trying to convince the author of YA-NewsWatcher that the latest
version should be released to the public.  He doesn't think there's much
interest in a new version.  Help me prove him wrong.  To do so, send me
mail <mailto:phenix@interpath.com> with a Subject of New YA.  Comments
on what you like/dislike in the current version will be appreciated.

Re: Writing a newsreader - sort of
#39315
Author: Shimpei Yamashita
Date: Wed, 04 Mar 1998 00:00
25 lines
1883 bytes
Brian Moret  <bmoret@towerhill.com> writes:
>
>I'm looking for information that would aid me in writing a newsreader of
>sorts.  Any book or URL recommendations would be greatly appreciated.  I
>did get the RFC977 document, but I haven't done anything like this
>before and still need more direction.
>
>In short, my newsreader must be able to go to a newsgroup and retrieve
>all the messages into a file.  Little or no user-interface is
>necessary.  My short term objective is to write the information in a
>format which I can then read into a database.  I would then make the
>database available so that my clients could search and organize the
>information in the database.  My longer term goal would be to make the
>application available to my clients, this way they can download the
>messages from any newsgroup they want.

Look at the perl module Net::NNTP, available from ftp.perl.com.

-- 
Shimpei Yamashita               <http://www.patnet.caltech.edu/%7Eshimpei/>
perl -w -e '$_="not a perl hacker\n";$q=qq;(.);x9;$qq=qq;345123h896789,;;;$s=
pack(qq;H6;,q;6a7573;);$qq=qq;s,^$q,$s$qq;;$qq=~s;(\d);\$$1;g;eval$qq;print;'

Re: Writing a newsreader - sort of
#39321
Author: Axel Hecht
Date: Wed, 04 Mar 1998 00:00
20 lines
1342 bytes
It looks to as you don't want to write a newsreader, but a newsserver
:-)

Did you think about installing a regular news-server on your system ?
(your newsgroup *msdos* makes me think a DOS-machine, no idea, if there
are any; no idea, if thats the OS to go for a server either :-) )

You could then just use the spool-directory for filling up your
database.

I would as well point you to
http://www.mibsoftware.com/userkt/userkt.html, as Conrad did, but if you
want to check the server side, you can as well go directly to
http://www.isc.org/
hosting inn, one newsserver for Unix-machines.

Axel

Re: Writing a newsreader - sort of
#39461
Author: Russell Schulz
Date: Wed, 11 Mar 1998 00:00
33 lines
2146 bytes
Brian Moret <bmoret@towerhill.com> writes:

> I'm looking for information that would aid me in writing a newsreader of
> sorts.  Any book or URL recommendations would be greatly appreciated.  I
> did get the RFC977 document,

977 is NNTP.  why didn't you post to news.software.nntp ?

> In short, my newsreader must be able to go to a newsgroup and retrieve
> all the messages into a file.

this is far too little information, alas; on DOS, you need to know a
lot about what you're interacting with (none of them are compatible).

it _is_ for DOS, right?  you posted to c.o.m.ma twice.

> My short term objective is to write the information in a format
> which I can then read into a database.  I would then make the
> database available so that my clients could search and organize
> the information in the database.

as in, recreate <http://www.dejanews.com/>?

> My longer term goal would be to make the application available to
> my clients, this way they can download the messages from any
> newsgroup they want.

how would this be different from any of the hundreds of other newsreaders?
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c

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