[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5274) add search to online docs

kurt@OpenLDAP.org writes:
> There are lots of existing ways of searching an admin guide.
> First, most web search engines can be told to localize their search to 
> a set of pages.  For instance:
>    http://www.google.com/search?q=site:www.openldap.org/doc/admin24+rwm

Not everyone knows how to do that.  And in some cases such a Google
search gives a better interface than a browser search, since it can show
all resulsts together, with some context.  The HTML seems easy enough -
I derived this from a "search within results" form in a Google search:

<form action="http://www.google.com/search";>
<input type=hidden name=q value="site:openldap.org/doc/admin24">
<input type=text name=as_q size=31 maxlength=256 value="">
<!-- optional --><input type=submit name=btnG VALUE="Search Admin Guide">

I don't know how easy it is to auto-insert it in the Guide though.
(Could easily be put as a third column in the /doc/index.html table I