1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Commit Graph

64 Commits

Author SHA1 Message Date
Daniel P. Brown
3cc9491588 Change multiple checks and references from 'www.php.net' to plainly 'php.net' to reduce 301's, fix a few broken items, and ease a bit of the load off the server (multiple connections per page when statically referenced as 'www.php.net.' 2012-12-05 11:09:23 -05:00
Adam Harvey
cbd6d7efdf Tinker with the error message shown when a search keyword is too short. 2012-11-12 11:19:06 +08:00
Adam Harvey
5eb4baaaa1 Style Google Custom Search Engine results. 2012-09-07 17:46:44 +08:00
Adam Harvey
c6cd85903d CSE will tell you in no uncertain terms if there are no results, so we don't
need to print the error message in this code path; just the header is fine.
2012-09-07 17:39:43 +08:00
Philip Olson
3cd800c78b Added default google CSE search. 2012-08-16 00:04:06 -07:00
Philip Olson
f52321368b Used our standard includes format (which uses DOCUMENT_ROOT) 2012-08-02 10:28:20 -07:00
Philip Olson
51b7a544f9 Panic, and hacked in a custom google search until this bing-is-no-longer-free issue is resolved. 2012-08-02 10:20:01 -07:00
Rasmus Lerdorf
8ee6e6ed92 Do a web search from the manual-lookup page when a function is not found 2011-07-16 05:45:51 +00:00
Rasmus Lerdorf
b7fc14908e Fix start/end values 2011-07-14 06:14:01 +00:00
Rasmus Lerdorf
99e6a4f5a3 Get closer to the bing style guide 2011-07-14 05:37:29 +00:00
Rasmus Lerdorf
9fd1bae95f Switching search backend from Yahoo to Bing.
and to head off the inevitable bitching about this, it
is because the Yahoo BOSS v1 API we are using is going
away on July 20 and Yahoo was not willing to give us
free access to the new v2 API. It would end up costing
us about $600/year at our current usage pattern.
The new Google REST API would cost us about $7500/year.
The Bing API is free.
2011-07-14 05:24:48 +00:00
Rasmus Lerdorf
419d1891cd Prepare frontend for switch to Bing backend 2011-07-13 20:47:53 +00:00
Peter Cowburn
64c206f575 show top search result 2011-07-05 22:32:56 +00:00
Hannes Magnusson
a0bf36937a #fail 2010-12-28 11:13:59 +00:00
Hannes Magnusson
60d5c3b903 Add current config option (ignored in old-web), and FIXME placeholders for pages
not in any menu yet
2010-12-28 11:09:09 +00:00
Philip Olson
efac7dcb5b Added debugging info to fetch_contents(), and enabled track_errors until we require 5.2+ and/or do better error handling. Reveals too much info? Helps deal with bugs like #51679 2010-05-04 18:08:14 +00:00
Philip Olson
949c631cf0 Fixed yahoo developer image link 2010-05-01 16:19:19 +00:00
Hannes Magnusson
3d63a121f4 Fix off by one 2009-05-22 12:04:40 +00:00
Hannes Magnusson
86729bc7af Fixed bug#45347 (Search results which link to gcov cause an error
message.)
2009-05-22 08:28:45 +00:00
Hannes Magnusson
5ca49a5b98 Add a debug errormessage as a html comment 2008-06-21 12:21:41 +00:00
Hannes Magnusson
fc23b9c5fd Add compatibility function for file_get_conents() and get_headers() 2008-04-21 11:00:33 +00:00
Hannes Magnusson
5406696fa8 ...and now the path 2008-04-11 17:04:40 +00:00
Hannes Magnusson
3fb7435797 Fix weird typo 2008-04-11 16:04:46 +00:00
Felipe Pena
037203a5b6 - Fixed bug #44510 (Search yields a relative path that doesn't exist on all servers)
- Improved regexp
- Moved array out of the loop
2008-03-23 16:28:33 +00:00
Hannes Magnusson
283b374f6a Fixed bug#44492 (Searching produces an error message) 2008-03-22 10:53:55 +00:00
Hannes Magnusson
3d41e43d70 Revert the fix for #41475 2008-03-19 16:17:18 +00:00
Hannes Magnusson
c957a21cab Fixed bug#41047 (search results double-escaping entities) 2008-03-19 13:25:22 +00:00
Hannes Magnusson
37570e9398 Honest attempt to fix bug#41475 2008-03-19 13:03:00 +00:00
Hannes Magnusson
fd27c2f13c Fixed bug#42539 (Incorrect GTK links) 2008-03-19 12:50:10 +00:00
Hannes Magnusson
92983e7dc8 - Blindly ignore smarty hits
- Add noindex robot rule
2008-03-19 12:35:36 +00:00
Hannes Magnusson
99f76aca7c Fix E_NOTICE when search results poing to doc.php.net 2008-03-19 12:28:03 +00:00
Hannes Magnusson
26edad2426 Fixed bug#44030 (Lack of validation of input parameters) 2008-03-19 11:47:46 +00:00
Hannes Magnusson
fc0de0b6f7 Fixed bug#43940 (search to & character bug) 2008-03-19 11:31:33 +00:00
Hannes Magnusson
91430ab07e Bye bye smarty
# Smarty is no longer a php.net project
2008-01-11 11:28:57 +00:00
Nuno Lopes
11fd919301 also disable rewriting of doc.php.net URLs 2007-10-22 08:57:43 +00:00
Nuno Lopes
0b93ef613c 2nd shot at trying to fix bug #42896 2007-10-10 22:13:02 +00:00
Nuno Lopes
5a57344fc7 fix #42896:
add a logo to the news.php.net site
fix displayurl regex for urls of type: http://php.net/foo
2007-10-09 21:21:07 +00:00
Nuno Lopes
4a60170fc4 fix bug #42853: E_NOTICE when no cache is available at yahoo servers 2007-10-04 22:08:08 +00:00
Hannes Magnusson
835c5cc803 - Suppress errors when fetching results
- If file_get_contents() fails, unserialize() will return false, not string
#Apparently many mirrors have error reporting enabled
2007-08-25 14:46:30 +00:00
Rasmus Lerdorf
dba3a5cf94 Fix pt_BR problem 2006-07-16 02:47:20 +00:00
Rasmus Lerdorf
38de18b7eb pt-BR should just be pt in the query 2006-07-10 03:14:12 +00:00
Rasmus Lerdorf
df05a00c40 Better fix 2006-04-19 18:23:35 +00:00
Rasmus Lerdorf
cbd27c4159 Fix off by one 2006-04-19 18:14:02 +00:00
Rasmus Lerdorf
b0fea3b864 We need that ?: operator 2006-03-24 16:30:08 +00:00
Nuno Lopes
6205282fff dont loose the language setting 2006-03-07 22:14:25 +00:00
Rasmus Lerdorf
d6a41601b5 Let's keep track of the mirror the searches are coming from as well 2006-03-05 07:16:20 +00:00
Rasmus Lerdorf
3854a44ea5 Smarty search icon 2006-03-03 07:47:52 +00:00
Rasmus Lerdorf
24b334dd48 Add a couple of alternative ways to get to the search backend 2006-03-01 17:56:39 +00:00
Nuno Lopes
dbf3170c59 dont rewrite the qa.php.net urls 2006-03-01 11:46:37 +00:00
Rasmus Lerdorf
91c6bda902 Let's try 10 instead. Lots of people seem to need to scroll 15 of them 2006-03-01 02:06:53 +00:00