Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24641

Summary: main gentoo page does not have search function
Product: Websites Reporter: Wesley Leggette <wleggette>
Component: OtherAssignee: Kurt Lieber (RETIRED) <klieber>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Attachments: Patch to add google site specific search box to guide.xsl (and therefore main gentoo pages)

Description Wesley Leggette 2003-07-17 00:34:04 UTC
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="">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 I've tried to make the search box look decent (I've put in the
google logo, which is required by 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...;)

Reproducible: Always
Steps to Reproduce:
Comment 1 Wesley Leggette 2003-07-17 00:36:43 UTC
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, 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.
Comment 2 Wesley Leggette 2003-07-17 03:17:41 UTC
This stuff was also already discussed on bug 1545, bug 12692, and bug 18357
Comment 3 Kurt Lieber (RETIRED) gentoo-dev 2003-07-17 10:38:34 UTC
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...
Comment 4 Kurt Lieber (RETIRED) gentoo-dev 2003-10-18 14:26:07 UTC
we're going to look at an internal search engine for now, rather than using

closing as wontfix.