Article View: news.software.nn
Article #4116Re: a specialised bit of news software...
From: Stephen Hebditch
Date: Sat, 29 May 1993 14:35
Date: Sat, 29 May 1993 14:35
83 lines
4457 bytes
4457 bytes
In article <1993May28.015219.27672@ccu1.aukuni.ac.nz> root@comu2.auckland.ac.nz (Richard Vowles) writes: >I have had a request from a local non-profit organisation to organise >for them uucp feed. What they want to do is use nntp to request news >articles from a site in the US, and then bundle those packets straight >into uucp news articles (#rnews length + message). Sounds like you want this... Slurp is an advanced passive NNTP client for UNIX. It will connect to a remote NNTP server and retrieve articles in a specified set of Usenet newsgroups that have arrived after a particular date (typically the last time it was invoked) for processing by your local news system. It replaces nntpxfer from the NNTP 1.5.11 reference implementation and nntpget from the INN distribution. The Feature List. - No restriction on the number of newsgroups that can be retrieved in a session. The client does a series of NEWNEWS requests if necessary to build up a list of articles which need to be retrieved from the server. - Compatible with C News and INN. - No lost articles due to unsynchronised clocks. By default, the time for the next NEWNEWS is set by a call to the tcp time service on the remote machine. This fixes a problem in nntpxfer and nntpget where articles can be missed if the clock on the server is behind that on the client. - Faster article throughput. If configured to do so, slurp stacks up the next article request before the current article is received, decreasing the total article transfer time by around 30%. Unlike nntpget, article batches can be written to the rnews spool directory for processing with 'rnews -U' later, rather than being offered to innd in turn. When used with C News, batches are written to the in.coming directory. This provides a big speedup over nntpxfer which created a new pipe to rnews for each article, lowering the transfer speed and increasing the load on the client machine. These speed improvements are of most use to the growing number of people retrieving news over a dialup SLIP/PPP connection. - Error recovery. In the event of an error occurring while articles are being fetched, the message IDs of unretrieved articles are dumped to a file. The next session can then retrieve the remaining articles without having to restart from the previous start time. - Easy configuration. slurp.sys defines which groups you wish to get from which server in a similar way to the normal C News sys file, e.g. news.demon.co.uk:demon.*,!demon.msdos.announce,uk.*,\ !uk.net.maps/world,uk slurp.<hostname> contains the time to be used for the NEWNEWS request at each server. The newsgroups list, start time and distributions can be overridden on the command line. There are also settings to enable debugging output, prevent writing the time for the next NEWNEWS to slurp.<hostname>, issue a 'MODE READER' command to switch innd to nnrpd, not dump unfetched message IDs in the event of an error, and use the local time for the next NEWNEWS rather than the time at the server. - Support for the NNTP simple authorisation protocol. - Logging to syslog of the number of new, missing and duplicate articles at the end of a session plus, if required, the transfer speed of the article fetching stage. - Independent of the NNTP 1.5.11 code. Slurp was written in ANSI C under Dell's SVR4/386, but ports easily to most other recent versions of UNIX. Available by ftp from ftp.demon.co.uk:pub/news/slurp/slurp-1.06.tar.Z. -- Stephen Hebditch TQM Communications steveh@orbital.demon.co.uk +44 836 825962
Technical Details
Message-ID:
<1993May29.143557.25663@orbital.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.misc.mbox.zip!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!nigel.msen.com!spool.mu.edu!uwm.edu!cs.utexas.edu!uunet!pipex!uknet!strath-cs!bnr.co.uk!demon!orbital.demon.co.uk!stevehReferences:
<1993May28.015219.27672@ccu1.aukuni.ac.nz>Show Full Headers
Complete Article Headers
Message-ID: <1993May29.143557.25663@orbital.demon.co.uk> Subject: Re: a specialised bit of news software... Date: Sat, 29 May 1993 14:35:57 GMT From: steveh@orbital.demon.co.uk (Stephen Hebditch) References: <1993May28.015219.27672@ccu1.aukuni.ac.nz> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.misc.mbox.zip!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!nigel.msen.com!spool.mu.edu!uwm.edu!cs.utexas.edu!uunet!pipex!uknet!strath-cs!bnr.co.uk!demon!orbital.demon.co.uk!steveh Newsgroups: news.software.nntp,comp.unix.aix,news.software.nn,comp.unix.misc Keywords: news, nntp Organization: TQM Communications, London, UK Lines: 82