You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <co...@decus.org> on 1997/05/04 04:31:04 UTC
Minimalist doc search - for 1.2?
I've put together a couple of Perl scripts which I'd like to propose
be included in 1.2 in support and htdocs/manual. They provide a
*very* simple-minded index lookup to the Apache online docs.
o mkindex (support or cgi-src)
Given a list of files on the command line, it generates an index
file of what words appear in which files. Run once after the
htdocs tree is updated:
cd htdocs/manual
../../support/mkindex `find * -name "*.html"` > index.txt
o manual-index.cgi (htdocs/manual)
[One line must be tweaked to point to actual filesystem location
of index file]
Invoked with a QUERY_STRING of a single simple bareword, reads
the index file and displays a list of links to files where that
file occurs. Requires, obviously, that the htdocs/manual
directory allow CGI execution. Can be given a PATH_INFO that
maps to the URL of the manual directory, if the script isn't
located there.
At the moment, these are really simple-minded - but at least they'll
show you a list of all the pages that mention "negotiation" or
"virtualhost".
This can be test-driven at
http://www.golux.com/~htdocs/manual/manual-index.cgi
The index as currently done includes 5337 distinct "words".
Even if we don't put this (with a pre-compiled index.txt) into the
1.2 kit, I think it might be worthwhile putting it on apache.org..
The htdocs/manual/index.txt file would need to be added to the CVS
ignore list.
Comments/suggestions?
#ken :-)}
Re: Minimalist doc search - for 1.2?
Posted by Marc Slemko <ma...@worldgate.com>.
On Sun, 4 May 1997, Dean Gaudet wrote:
> Definately a feature... so not for 1.2. But putting it into apache-site and
> running it on hyperreal would be great.
This is not code, it is docs. Docs don't have features. Sortof.
My suggestion would be to put it on taz, not include the script in the
distribution, but include a link to it.
>
> Dean
>
> On Sat, 3 May 1997, Rodent of Unusual Size wrote:
>
> > I've put together a couple of Perl scripts which I'd like to propose
> > be included in 1.2 in support and htdocs/manual. They provide a
> > *very* simple-minded index lookup to the Apache online docs.
>
Re: Minimalist doc search - for 1.2?
Posted by Dean Gaudet <dg...@arctic.org>.
Definately a feature... so not for 1.2. But putting it into apache-site and
running it on hyperreal would be great.
Dean
On Sat, 3 May 1997, Rodent of Unusual Size wrote:
> I've put together a couple of Perl scripts which I'd like to propose
> be included in 1.2 in support and htdocs/manual. They provide a
> *very* simple-minded index lookup to the Apache online docs.