Re: Subset display in dir index (was: Auto download...)
nicka@mccmedia.com (Nick Arnett/Multimedia Computing Corp.)
Errors-To: listmaster@www0.cern.ch
Date: Sun, 29 May 1994 04:43:28 +0200
Errors-To: listmaster@www0.cern.ch
Message-id: <199405252243.PAA13006@nova.unix.portal.com>
Errors-To: listmaster@www0.cern.ch
Reply-To: nicka@mccmedia.com
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: nicka@mccmedia.com (Nick Arnett/Multimedia Computing Corp.)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: Subset display in dir index (was: Auto download...)
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Type: text/plain; charset="us-ascii"
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0
Mime-Version: 1.0
>> Is there any way to link to a directory and only display a subset
>> of files? I've tried http://host/*.ps but this doesn't work.
>
>Not in the Windows httpd, but... that's a COOL idea, and it would be really
>easy to implement.
>
>?? ANYBODY OUT THERE SEE A PROBLEM WITH THIS ??
Yes. It goes against the intended use of URLs because it implies that the
returned directory will have filenames that are meaningful to the user.
But maybe that type of URL should be valid. I'd return titles, not the
directory list.
I have huge directories of files with filenames that are utterly
meaningless to the user (news items, hierarchical menus, people and company
profiles, etc.). I'd hate to allow users to waste server time grabbing
huge meaningless directories. I'm totally against any proposal that would
require filenames to be meaningful to the user, or even the client, for
that matter. They need to optimized for the server and whatever software
creates and maintains them.
I'm generating tons of files and filenames automatically. Twice I tried to
use meaningful file names (partly because AppleSearch, which I'm using,
returns filenames), but the complexities of automating that process are
nasty, especially when you're designing for the least common denominator
O/S -- DOS, with 8 chars and an extension, or even worse, CompuServe, with
six chars and an extension! Further, the HTTP spec rather clearly says
that URLs aren't meant to be interpreted by users.
Here's an alternative idea -- instead of returning a directory in response
to a URL like that, return a list of document <title>s as HREFs! Hmm, I
like that one... It would save the server from having to respond to a
series of HEAD instructions from a robot, among other things. Adding file
sizes might be nice, too.
My apologies to those who are also on Web4Lib who heard the same rants from
me yesterday... but at least I've come up with one good idea (I think)
since then.
Nick
Multimedia Computing Corp. (strategic consulting)
Campbell, California
----------------------------------------------------------
"We are surrounded by insurmountable opportunity." -- Pogo