🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39613

Re: How to download news groups on demand

#39613
From: Frank Slootweg
Date: Fri, 03 Sep 1999 00:00
73 lines
3673 bytes
Dean Gawler (dean@osix.com.au) wrote:
[deleted]
> Is this possible?? I don't think that leafnode can do it,
> and I can't see any way of getting innd/suck to
> automagically download newsgroups on demand. All solutions
> would be considered, but freeware is preferred.

  As far as I know, Dnews can do that. May be there are solutions for
INN, but I am not aware of any. I made my home-grown solution with INN,
suck and a few scripts. My scripts are not clean enough to distribute,
but basically I do:

- Put dummy article in all unread groups (see below example).
- When the (dummy) article in the 'unread' group is read, this is logged
  in news.notice.
- A daily script reads news.notice and causes the group to be added to
  sucknewsrc and the dummy article to be canceled ("ctlinnd cancel ...").
- The scripts have a time-out mechanism. Every time a group is read, a
  timestamp for the group is touch(1)ed. If the timestamp has not been
  touched for X days (i.e. the group has not been read), the process is
  reversed, i.e. the group is deleted from sucknewsrc and the dummy
  article is reposted.

  The most 'difficult' part is the dummy article and correctly posting
it. Of course the article should not go out to other sites. I do that by
putting the name of my feed (isoit370) in the Path: and having the
correct newsfeeds entry. The article should not expire. I do that by
inserting a Expires: line and the right expire.ctl entry. The dummy
article should not be sent to the moderator of a moderated group. I do
that by checking if the group is moderated, if so, make it unmoderated,
post the dummy article and make it moderated again.

> Any advice would be appreciated.

  I hope this helps.

----------------------------------- cut here ----------------------------------

Path: news.neth.hp.com!isoit370.bbn.hp.com!news.neth.hp.com!franks
From: franks@neth.hp.com (Frank Slootweg)
Newsgroups: comp.ai.jair.announce
Subject: [deleted] USER, PLEASE READ THIS ARTICLE!
Date: 5 May 1998 13:36:32 +0200
Organization: [deleted]
Lines: 19
Sender: news@news.neth.hp.com
Expires: 1 Dec 1999 00:00:00 GMT
Message-ID: <6imtk0$co@news.neth.hp.com>
NNTP-Posting-Host: news.neth.hp.com

This is a dummy article. Until now, we did not carry this group
(comp.ai.jair.announce).

By reading this article, you indicate that you are interested in this
group. Therefore we will fetch the articles in this group from our
neighbour News server (isoit370.bbn.hp.com). The articles should be
available tomorrow. If the articles are not yet available by the day
after tomorrow, then please send email to news@neth.hp.com .

If you are not interested in this group after all, then please send an
email message with the text

remove group comp.ai.jair.announce

to news@neth.hp.com .

[This article should not leave the neth.hp.com domain. If you see this
 article on a system outside the neth.hp.com domain, then please send
 the article, including the complete header, to news@neth.hp.com .]

----------------------------------- THE  END ----------------------------------

Technical Details
Message-ID: <7qnsb1$hkj$1@news.neth.hp.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!not-for-mail
References: <37CE22B6.62A03F63@osix.com.au>

Show Full Headers
Complete Article Headers
Message-ID: <7qnsb1$hkj$1@news.neth.hp.com>
Subject: Re: How to download news groups on demand
Date: Fri, 03 Sep 1999 00:00:00 +0000
From: franks@neth.hp.com (Frank Slootweg)
References: <37CE22B6.62A03F63@osix.com.au>
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!not-for-mail
X-Deja-AN: 520515822
Organization: NOYB
Newsgroups: news.software.nntp