PDA

View Full Version : Google Suggest implementation


mostvaluablenet
02-12-2005, 09:46 PM
Not sure if I'm the first to ask this, but I know I won't be the last. Has anyone come up with a Google Suggest type implementation for phpDig?

tajmahal
02-19-2005, 01:26 PM
if i understand your question correctly, i think PHPDig already has that feature

mostvaluablenet
02-19-2005, 01:36 PM
If it does can you point me out how to turn this on. What I'm looking for is type-ahead to occur from the first character entered into the search field and it will display a dropdown list of keywords to choose from. As seen http://www.google.com/webhp?complete=1&hl=en

Niels
02-27-2005, 04:59 AM
Take a look at this script/snippet:

http://blog.bitflux.ch/wiki/LiveSearch

But these things use alot of resources, it does a search for every char typed
So a normal search would take 1 query this would make 8 query's with a 8 letter word, it will slow down your server.

It wont be that hard to mod it to phpdig.

Good luck!

Niels
02-27-2005, 05:09 AM
I forgot this script:

http://www.netcaptor.net/adsense/suggest.php?keyword=rss

This scipt uses google to suggest keywords, the other one uses your own keywords.