Share

Python Package Index

Tracker: Bugs

5 Fix Google site search to ...org/pypi/ - ID: 1586042
Last Update: Comment added ( richard )

Dear PyPI developers,

The Google search for PyPI returns too many matches and
with hits "hidden" (when the match is in the page title).

A very simple and IMHO useful hack would be to change
'cheeseshop.python.org' to
'cheeseshop.python.org/pypi/' (both slashes are
important) in the search string. That reduces the hits
to package pages and the index.

Compare:
- Original
http://www.google.com/search?sitesearch=cheeseshop.python.org&q=COMPILER

- Modified:
http://www.google.com/search?sitesearch=cheeseshop.python.org%2Fpypi%2F&q=C
OMPILER


Another improvement, that I find less important but
still interesting, would be to include "&as_occt=body"
in the query (<input type='hidden'...?), so that
matches are found in the page text and the
corresponding snippet is shown.

Then the suggested query goes like:
http://www.google.com/search?sitesearch=cheeseshop.python.org%2Fpypi%2F&q=C
OMPILER&as_occt=body

Hoping to help,
Daniel

P.S.: I bet SF will make a mess out of the huge URLs


ajaksu ( ajaksu2 ) - 2006-10-27 22:39

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2007-02-12 00:27
Sender: richardProject Admin


Search fixed.


Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2007-02-12 00:27 richard
close_date - 2007-02-12 00:27 richard