🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Ken Schrock Wed, 05 Jun 2002 23:06
Protocol
#59124
Author: Ken Schrock
Date: Wed, 05 Jun 2002 23:06
14 lines
1401 bytes
I would appreciate if someone could give me a quick lesson
(would be sooo much easier than reading the whole RFC : )

I need to make a script (probably perl) that will

1. Connect to news-server xxx
2. See if there are any new articles in group yyy (since last fetch)
3. Fetch them if they exist

What would the protocol be for 1 and 2?

-- 
Linux now
Re: Protocol
#59126
Author: Andrew Gierth
Date: Thu, 06 Jun 2002 03:47
19 lines
1573 bytes
>>>>> "Ken" == Ken Schrock <kschrock@neo.rr.com> writes:

 Ken> I would appreciate if someone could give me a quick lesson
 Ken> (would be sooo much easier than reading the whole RFC : )

 Ken> I need to make a script (probably perl) that will

 Ken> 1. Connect to news-server xxx
 Ken> 2. See if there are any new articles in group yyy (since last fetch)
 Ken> 3. Fetch them if they exist

 Ken> What would the protocol be for 1 and 2?

If you're going to use perl, then install libnet and use the Net::NNTP
module to do most of the work.

-- 
Andrew.
Re: Protocol
#59128
Author: Frank Slootweg
Date: Thu, 06 Jun 2002 10:32
13 lines
1386 bytes
Ken Schrock <kschrock@neo.rr.com> wrote:
[deleted]
> I need to make a script (probably perl) that will
> 
> 1. Connect to news-server xxx
> 2. See if there are any new articles in group yyy (since last fetch)
> 3. Fetch them if they exist
[deleted]

  I think you are describing what suck(1) does. Can't you just use that?
(You sign with "Linux now", so I assume that is your platform.)
(What is/are your (hardware and software) platform(s)?)
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