🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59126

Re: Protocol

#59126
From: 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.
Technical Details
Message-ID: <87vg8xm5k0.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news-spur.riddles.org.uk!newsmonster
References: <FPwL8.14697$zh2.7200678@twister.neo.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <87vg8xm5k0.fsf@erlenstar.demon.co.uk>
Subject: Re: Protocol
Date: Thu, 06 Jun 2002 03:47:43 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <FPwL8.14697$zh2.7200678@twister.neo.rr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news-spur.riddles.org.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 18
Cc: Ken Schrock <kschrock@neo.rr.com>
X-Mayan-Date: Long count = 12.19.9.5.7; tzolkin = 12 Manik; haab = 0 Zotz
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: abuse@news-spur.riddles.org.uk
X-Post-Filter: postfilter v0.6 alpha