W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: indexers

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 19 Apr 2000 08:18:50 +0200 (MET DST)
To: Paul Lamb <paul@redfork.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0004190754270.28582-100000@tarantula.inria.fr>
On Wed, 19 Apr 2000, Paul Lamb wrote:

> After looking at this for a couple of hours, I don't seem to find an answer.
> I want to setup an indexer so that _anything_ with the extension of "xml"
> gets sent to /servlet/cocoon; even if a file isn't associated with that
> resource. i.e., request is for "foo.xml" and there isn't a file on the
> server called "foo.xml", but I want this request to get to the cocoon
> servlet anyway. Presently, as long as there's a file called "foo.xml" it
> works; otherwise it's a 404 - File not found.

The only way to have a virtual object created by the indexer is to add it
in the "directories" section (yes, it is now well chosen), but then you
should have the complete name, it won't use any regex matching, another
way would be to create a new indexer that will act the way you want, like
we did for the ContentTypeIndexer, in charge of creating resources on PUT.

> Noticed the new docs on the website tonight, much improvement over previous.
Thanks! But there is still place for many many improvement in that area ;)
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Wednesday, 19 April 2000 02:18:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC