Article View: news.software.readers
Article #226246Re: List of groups
From: Peter J Ross
Date: Tue, 23 Sep 2008 17:12
Date: Tue, 23 Sep 2008 17:12
33 lines
2378 bytes
2378 bytes
In news.software.readers on Tue, 23 Sep 2008 00:17:00 +0000 (UTC), John <john@jtlinux01.INVALID> wrote: > I still use GG once in a while (like when at work at lunch), so > what I did was created a file with all the groups listed one > per line. Is there a way to import this list into slrn > so that all the groups are automatically added, rather > than having to add each one individually. I think you want to *subscribe* automatically to groups, not add them. This can probably be done with an S-Lang script. If none of the S-Lang experts offers a solution, I'll have a go, but probably not before tomorrow. In pseudocode: Open a file for reading. <loop> Read a newsgroup name from the specified file. Attempt to subscribe to the listed group. Handle errors if the group is unavailable. Repeat until End Of File is detected. </loop> Close the file. Report results in a dialog box. -- PJR :-) slrn newsreader (v0.9.9): http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Technical Details
Message-ID:
<slrngdi8s2.f8i.pjr@pjr.motzarella.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrngdgdbv.uh3.john@localhost.localdomain>Show Full Headers
Complete Article Headers
Message-ID: <slrngdi8s2.f8i.pjr@pjr.motzarella.org> Subject: Re: List of groups Date: Tue, 23 Sep 2008 18:12:34 +0100 From: Peter J Ross <pjr@example.invalid> References: <slrngdgdbv.uh3.john@localhost.localdomain> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 33 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1+sh/9kGQUjYOtjsiKnHT8qxwwHiIAbXolXVWFMHGUqUlutxhx6SaZa72jWXfaw+u+0f4BwY8mZ1EkdrNAsmnvIaGGlPSBWkE5n0GnWgTZy7qn/H/W1KoJ62KQc488VzVE= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Tue, 23 Sep 2008 17:13:03 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+KXYs0eL3mKbB95Hkqjrje Cancel-Lock: sha1:STsJD0sMg2Gs9K0e27aohvrMjjA= User-Agent: slrn/pre0.9.9p1-31/mm/co/un (Debian Testing)