The main gentoo page (news, guide.xsl) does not have a search function. When I
looked in the code, I found it had been disabled, apparently begause of <a
href="http://bugs.gentoo.org/show_bug.cgi?id=11562">bug 11562</a>, whereas the
perl script is not working.
I have created a patch that uses google to do a site specific search of
www.gentoo.org. I've tried to make the search box look decent (I've put in the
google logo, which is required by google.com terms of service), but it's not
perfect. At least this could be a temporary solution until some other search
script can be put up. (Yeah, I know using google looks bad...;)
Steps to Reproduce:
Created attachment 14589 [details, diff]
Patch to add google site specific search box to guide.xsl (and therefore main gentoo pages)
Apply this patch to xsl/guide.xsl. The code's not pretty (I copied and pasted
from google.com, so the code style's different), but it works (sort of?) I
don't know exactly what it will render like on the final page.
This stuff was also already discussed on bug 1545, bug 12692, and bug 18357
agree that we need a search feature, but I'm not sure going with google is the best way. I'll leave this bug open for now...
we're going to look at an internal search engine for now, rather than using
closing as wontfix.