On Mon, Sep 24, 2012 at 1:45 AM, Per Jessen <[email protected]> wrote:
> Hi,
>
> I've been keeping a local mirror of the php website for a few years now, has
> always worked well.  Recently though I've noticed the following:
>
> When I do search in the Function List for e.g. "base64", I am presented with
> a list of hits, presumably ordered by quality.  The problem is - those hits
> link to pages on "php.net", not on my local site.
>
> The same behaviour is also evident on official php mirrors - go to
> ch.php.net and do the search for base64. The list of hits has links to
> php.net, not ch.php.net.
>
>
>
> thanks
> Per Jessen
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


Actually, you bring up a good point. The search API has recently
changed since it went from Bing to Google. It appears to me that the
search feature depends on the old Bing code when it's doing the
request on the backend. I'm not entirely clear on how the new Google
search is being used, but I suspect it has something to do with this
code https://github.com/php/web-php/blob/master/results.php#L45 and
probably due to it not returning results as $MYSITE instead of
www.php.net in the absolute URI.

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to