For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > November 2004 > #27874 [Com]: 'online documentation' search feature, searches whole website









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #27874 [Com]: 'online documentation' search feature, searches whole website
Frink At Thewebdevguy Dot Com

2004-11-21, 8:55 am

ID: 27874
Comment by: frink at thewebdevguy dot com
Reported By: webmaster at learningmedia dot co dot nz
Status: Open
Bug Type: Website problem
Operating System: Mac OS X (10.3)
PHP Version: Irrelevant
New Comment:

In addition the syntax for the serch is wrong in Google.
The www is added which should not be:

array site:www.php.net

The correct syntax in Google is:

site:php.net array

But this still provides a sitewide search...
The old Google syntax allowed for sub-directories:

site:php.net/manual array

But now that will not work!
It seems that the only way to solve this problem (which is
really a Google problem...) is to create a subsite that
Google can index. But we already have docs.php.net so we
just need to changethe www. to docs. and problem is
solved:

site:docs.php.net array

And it finds the page as the first one!
But it's still not as good as the old search that
imediately took me to the function if it existed.
We should be able to use Google's lucky search to do this
or we can implement it separate from google before the
redirect in the search.php script...

- mICON FRiNK


Previous Comments:
------------------------------------------------------------------------

[2004-04-05 17:37:56] webmaster at learningmedia dot co dot nz

Description:
------------
When using the search feature of the website, the 'online
documentation' option appears to search the whol site.

For example, when I searched for 'macro' using the 'online
documentation' option the resulting page was:
http://www.google.com/search?q=macr...ww.php.net&l=en
This is the same page that is returned when the 'whole site' search
option is selected.

[Otherwise I love your site. I refer to the manual pages every day.
:-]

Regards
James Robertson




------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=27874&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com