Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.