#27874 [Opn->Bgs]: 'online documentation' search feature, searches whole website
| From: | goba@php.net | Date: | Sun, 21 Nov 2004 11:38:40 +0000 |
| Subject: | #27874 [Opn->Bgs]: 'online documentation' search feature, searches whole website | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-26596@lists.php.net to get a copy of this message | ||
ID: 27874
Updated by: goba@php.net
Reported By: webmaster at learningmedia dot co dot nz
-Status: Open
+Status: Bogus
Bug Type: Website problem
Operating System: Mac OS X (10.3)
PHP Version: Irrelevant
New Comment:
The www is intentionally included, to not include the mirror sites in
the search results. docs.php.net is damn slow, it is just a test server
for our upcoming livedocs documentation renderer which will include
manual restricted search, so please be (a bit) patient.
Our website only has a few pages more than the manuals, so I don't
think this is a critical problem.
Previous Comments:
------------------------------------------------------------------------
[2004-11-21 12:31:30] frink at thewebdevguy dot com
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
------------------------------------------------------------------------
[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=macro+site:www.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