🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Bas Ruiter Sun, 22 Jun 2003 11:21
Is there a way to retrieve how many newsgroups are on a server?
#65823
Author: Bas Ruiter
Date: Sun, 22 Jun 2003 11:21
10 lines
1238 bytes
As the topic says: Is there a way to retrieve how many newsgroups are on
a server BEFORE downloading the whole list?

--
 Bas Ruiter

 e-Mail: lordsnow@home.nl
 www:    http://members.home.nl/lordsnow
Re: Is there a way to retrieve how many newsgroups are on a server?
#65818
Author: Jeffrey M. Vinocur
Date: Sun, 22 Jun 2003 12:12
21 lines
1548 bytes
In article <764bfvka94njb9n786dsbr5dikvopc80rd@4ax.com>,
Bas Ruiter  <lordsnow@home.nl> wrote:
>
>As the topic says: Is there a way to retrieve how many newsgroups are on
>a server BEFORE downloading the whole list?

Nope.

Hmm.  The only thing I can think of is that you could do
something like

    LIST ACTIVE news.software.nntp,alt.dev.null,alt.binaries.something

on a small selection of newsgroups that might give you a hint as
to what's being carried.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Is there a way to retrieve how many newsgroups are on a server?
#65821
Author: Jøhnny Fävòrítê (it means "genet...
Date: Sun, 22 Jun 2003 16:42
12 lines
1558 bytes
Jeffrey M. Vinocur wrote:
> Bas Ruiter wrote:
>> As the topic says: Is there a way to retrieve how many newsgroups are
>> on a server BEFORE downloading the whole list?
>
> Nope.

I didn't think so.  It makes it pretty difficult to put up a progress
bar for the user.  So I just picked a large made-up number (65,000) and
pretend there will be that many, which typically means the progress bar
has a big "jump" at the very end.
Re: Is there a way to retrieve how many newsgroups are on a server?
#65822
Author: Curt Welch
Date: Sun, 22 Jun 2003 19:01
26 lines
2277 bytes
J�hnny_F�v�r�t�_(it_means_"genetic_antagonism") <this.is@fake.com> wrote:
> Jeffrey M. Vinocur wrote:
> > Bas Ruiter wrote:
> >> As the topic says: Is there a way to retrieve how many newsgroups are
> >> on a server BEFORE downloading the whole list?
> >
> > Nope.
>
> I didn't think so.  It makes it pretty difficult to put up a progress
> bar for the user.  So I just picked a large made-up number (65,000) and
> pretend there will be that many, which typically means the progress bar
> has a big "jump" at the very end.

I'd say it is just "wrong" to put up a generic progress bar for that.  If
you like the bar idea, change it to a ruler which lets them see how many
newsgroups have been downloaded as the bar grows.  Start it with a width of
something like 50,000 groups and as it hits some point like the 80% mark,
rescale the bar.

This gives them the same type of visual indication about download progress
without lieing to them about what is happening.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
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