Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24641 - main gentoo page does not have search function
Summary: main gentoo page does not have search function
Status: RESOLVED WONTFIX
Alias: None
Product: Websites
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Kurt Lieber (RETIRED)
URL: http://www.gentoo.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 00:34 UTC by Wesley Leggette
Modified: 2003-10-18 14:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add google site specific search box to guide.xsl (and therefore main gentoo pages) (gentoosearch.patch,1.22 KB, patch)
2003-07-17 00:36 UTC, Wesley Leggette
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
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
google.

closing as wontfix.