W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: RFE: Set the default index file of a directory...

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 5 Jan 2000 11:50:11 +0100 (MET)
To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
cc: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.21.0001051137420.10181-100000@tarantula.inria.fr>
On Wed, 5 Jan 2000, Roland Mainz wrote:

> Hi !
> ----
> Is there any way to tell the default indexer to use "Overview.html" as
> "default" page for a directory and if "Overview.html" is not available,
> use "Overview.jsp", "index.html" or "index.htm" etc. ?
> If not, how to implement this ? Simply enumerate the possible file names
> with ',' as the seperator and hack the HTMLFrame code ?

For now it is not possible, it uses only one name, the index
StringAttribute as defined in HTTPFrame.
The best thing would be to create a new attribute (indexes? or a better
name ;) ). A StringArrayAttribute, and get the first one in the list that
matches (a little patch to make in     
protected boolean lookupDirectory(LookupState ls, LookupResult lr) 

If you overload index, there will be a problem as the type will change.

We are now working on the new cache.

> ----
> Is there a release date for jigsaw 2.2.x ?

Not yet, the plan is to release a new version soon both 2.0.4 to synch
with the latest devel releases, and 2.1.1 that should be stable for most
of the code, except the cache which will be brand new and will need more
testing. If you are not using the cache, 2.1.1 may be considered as 2.2.-1
And of course, if you have contributions to incorporate, they will be more
than welcome :)
Happy new year!

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Wednesday, 5 January 2000 05:48:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:28 UTC