Article View: news.software.nntp
Article #17809Re: Leafnode: How do you get group description?
From: Kenneth P. Turvey
Date: Fri, 16 May 1997 00:00
Date: Fri, 16 May 1997 00:00
44 lines
2551 bytes
2551 bytes
In news.admin.technical Dale Ghent <daleg-hatesspam@maximum.net> wrote: : Kenneth P. Turvey wrote: : > : > I recently installed Leafnode on my system and it seems to be working : > great. So far, I am very pleased with the product. There is only one : > problem that I can't seem to find an answer to. : > : > All of the groups had the same description "-x-". How can I get the : > descriptions to be correct? : Assuming you're using INN, you'd be using the newsgroups file. Its in : this format: [ Stuff Deleted ] Leafnode is a program that handles Usenet news for small sites. It only downloads the groups that people at the small site have actually been reading using nntp. To its host it looks like a normal nntp client. To the users at the small site it appears to be a full nntp supporting server (like INN). I just received a note from the author of leafnode (Arnt Gulbrandsen <agulbra@troll.no>) stating that leafnode 1.0 does have anyway of retrieving the newsgroup descriptions, nor anyway to set them. He also said that this should be fixed in the next release (1.1). I have however found a fix that seems to be working all right. There is a file groupinfo (on my machine /usr/local/lib/leafnode/groupinfo) that contains the information about each of the newsgroups. It has -x- in it as a place holder for the descriptions. I used join and an awk command to set the -x- field in this file to the descriptions from an INN newsgroups file. This seems to have worked out well (so far it hasn't crashed anything). -- Kenneth P. Turvey <kturvey@pug1.SprocketShop.com> Finger my account for PGP key info. ----------------------------------------------------------------------- Ninety percent of the politicians give the other ten percent a bad name. -- Henry Kissinger
Technical Details
Message-ID:
<or4hl5.j6o.ln@pug1.sprocketshop.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mailReferences:
<6kpbl5.hha.ln@pug1.sprocketshop.com> <337AF81A.41C67EA6@maximum.net>Show Full Headers
Complete Article Headers
Message-ID: <or4hl5.j6o.ln@pug1.sprocketshop.com> Subject: Re: Leafnode: How do you get group description? Date: Fri, 16 May 1997 00:00:00 +0000 From: kturvey@www.sprocketshop.com (Kenneth P. Turvey) References: <6kpbl5.hha.ln@pug1.sprocketshop.com> <337AF81A.41C67EA6@maximum.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail X-Deja-AN: 241936183 Distribution: world Sender: zorch@ftp.UU.NET Organization: Home or elsewhere Newsgroups: news.software.nntp,news.admin.technical