🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dean Gawler Thu, 02 Sep 1999 00:00
How to download news groups on demand
#39596
Author: Dean Gawler
Date: Thu, 02 Sep 1999 00:00
32 lines
1680 bytes
Hi everyone,

I'm trying to setup a small news server for our internal
staff that only accesses a small number of news groups
(maybe 30-40).

Using innd and suck works fine, but I'd rather set up
some type of news server which downloads newsgroups on
demand when users try to access them. In otherwords, I do
not want to have to manually use 'ctlinnd' to add
newsgroups on demand when a user requests them. With
innd/suck, a user would have to request that I "subscribe"
to any groups that we don't currently get, and I then
have to add the group manually.

I would rather have the news server determine that someone
is trying to access a newsgroup which hasn't been accessed
before, and automatically have it download all of the
articles for that newsgroup.

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.

Any advice would be appreciated.

Dean



Re: How to download news groups on demand
#39613
Author: 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 ----------------------------------

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