|Summary:||main gentoo page does not have search function|
|Product:||Websites||Reporter:||Wesley Leggette <wleggette>|
|Component:||Other||Assignee:||Kurt Lieber (RETIRED) <klieber>|
|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="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...;) 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 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.
Comment 2 Wesley Leggette 2003-07-17 03:17:41 UTC
Comment 3 Kurt Lieber (RETIRED) 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) 2003-10-18 14:26:07 UTC
we're going to look at an internal search engine for now, rather than using google. closing as wontfix.