🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80170

Re: Showing hierarchy levels, continued

#80170
From: those who know me have no need o...
Date: Mon, 11 Jun 2001 03:18
70 lines
4080 bytes
<Xns90BC6D2A8764Ffarkle@24.64.2.57> divulged:
[re-arranged slightly to place the less topicful portion at the end]

>What he wanted was, and I quote: "showing all of the top level hierarchy 
>titles (I can't type them in, because I don't know what they all are)"
>This doesn't necessarily require drill-down browsing.  

you should read it again (note the `and' before #2) ... 

>>>>what I am interested in is, instead, this: (1) showing all of the top
>>>>level hierarchy titles (I can't type them in, because I don't know what
>>>>they all are); and (2) for each selected hierarchy level, showing
>>>>all--and only--the next level titles (For example, under "comp" would
>>>>be listed all the second level titles, but not further down on the tree
>>>>to the third and fourth level choices).

so the op wants at least a single level of drill-down, using a browsing
metaphor rather than having a static list of top level hierarchies and a
static list of second level hierarchies.

>>>alternately, he can go to Google and browse the hierarchy using their 
>>>display. 
>> 
>> how does that help?  there's no guarantee that his nntp service provider
>> will carry the same groups.
>
>No, but he can easily verify that by performing a search in Xnews.

this is hardly the same a browsing, nor as convenient.

the funny thing is, i agree about (not) putting that (exact) functionality
into xnews.

now if luu would extend the filter box to accept regular expressions and to
synthesize hierarchy placeholders (when necessary) the result would be a
significantly more powerful way to search a server's active list, and could
be used by the op even though it's not exactly what he wanted (e.g., using
`^[^\.]+$' followed by `^top.[^\.]+$', with the former pattern being one of
the defaults in the list).

[here begineth the non-newsreader (and less interesting) part]

>I don't see where a simple Perl script to provide this list is all that
>much of a "sledge- hammer".

perl is large whereas sed (to name just one alternative) is small, e.g., 

| $ ls -lL `which sed`
| -rwx--x--x   1 bin      bin        39076 Jul 27  1998 /bin/sed*
| 
| $ ldd `which sed`
| dynamic linker: /usr/bin/perl: file loaded: /usr/lib/libc.so.1
| 
| $ ls -lL `which perl`
| -rwxr-xr-x   1 bin      bin       561632 Jun 23  1999 /usr/bin/perl*
| 
| $ ldd `which perl`
| dynamic linker: /usr/bin/perl: file loaded: /usr/lib/libsocket.so.1
| dynamic linker: /usr/bin/perl: file loaded: /usr/lib/libndbm.so
| dynamic linker: /usr/bin/perl: file loaded: /usr/lib/libc.so.1

this fits my notion of a sledge-hammer, as opposed to say a fly-swatter.

now if you were going to produce a drill-down browsable display then perl
would be just fine, as perhaps would other languages, since that solution
requires a more significant tool (or set of tools).

-- 
okay, have a sig then
Technical Details
Message-ID: <9g1d9901qtg@enews3.newsguy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
References: <KXpU6.574$nh5.72071@news.uswest.net> <Xns90BB6CF8789CExjahn@24.129.0.136> <RvsU6.1650$6g4.113811@news.uswest.net> <uvgm5qu4f.fsf@primix.com> <9fui7p6173s@enews1.newsguy.com> <uy9r1kq73.fsf@primix.com> <9fup9f01i83@enews4.newsguy.com> <Xns90BBE521B7C49farkle@24.64.2.57> <ti64noe7rr6353@news.supernews.com> <Xns90BC6D2A8764Ffarkle@24.64.2.57>

Show Full Headers
Complete Article Headers
Message-ID: <9g1d9901qtg@enews3.newsguy.com>
Subject: Re: Showing hierarchy levels, continued
Date: Mon, 11 Jun 2001 03:18:03 +0000
From: those who know me have no need of my name <not-a-real-address@usa.net>
References: <KXpU6.574$nh5.72071@news.uswest.net> <Xns90BB6CF8789CExjahn@24.129.0.136> <RvsU6.1650$6g4.113811@news.uswest.net> <uvgm5qu4f.fsf@primix.com> <9fui7p6173s@enews1.newsguy.com> <uy9r1kq73.fsf@primix.com> <9fup9f01i83@enews4.newsguy.com> <Xns90BBE521B7C49farkle@24.64.2.57> <ti64noe7rr6353@news.supernews.com> <Xns90BC6D2A8764Ffarkle@24.64.2.57>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
Newsgroups: news.software.readers
Organization: earthfriends
Lines: 69
NNTP-Posting-Host: p-255.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.1 (Cuyahoga Valley)