Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-19-2008, 08:56 AM   #1 (permalink)
Junior Member
 
Join Date: 03-19-08
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

lucym is liked by many
"Did you mean" feature

Hello, I want to add the 'did you mean' feature (like on Google) on my shareware site, where a lot of users have mistypes, and they get 0 results... so they exit the site very fast. Do you have any idea how I could implement such a thing? Does it require a dictionary or something? I found some scripts, but none of them gave relevant results... just stupid, irrelevant suggestions. Any help would be appreciated... Sample source code would be gold
Thanks, Lucy
lucym is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-19-2008, 11:12 AM   #2 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
That's very hard to do, and it would have to be in a "learning mode" for a long time. You would have to basically create an AI so to speak. Learning how users misspell different words and then associate them to their right spellings. That's just single words. You need to then move to sentences/more than one words.

The best thing I would have to offer u is store a list of known/common/popular search terms in a database, then do a "find as you type" feature. That's very common now a days and can also be a HUGE help!
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-20-2008, 08:02 AM   #3 (permalink)
Junior Member
 
Join Date: 03-19-08
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

lucym is liked by many
i have received recommendations to try Levenstein, Soundex, and Yahoo API. I hope that at least one will give acceptable results, as implementing AI seems much harder
lucym is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-21-2008, 11:00 AM   #4 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
API's seem intimidating, but if you know what you are doing, they are rather quite easy! API's from the SE's are especially geared towards developers, so they can be easy, or hard, depending on what you are good at. Google's was very simple for me to get used to.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2008, 08:26 AM   #5 (permalink)
Junior Member
 
Join Date: 03-19-08
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

lucym is liked by many
OK, the winner is Yahoo Spelling Suggestion (which uses Yahoo API). This gives your site the possibility to suggest exactly what Yahoo Search suggests :cool: Awesome, I would say!

Here is a short summary about using it, if you guys want to use it too: it requires a Yahoo API key, which can be got free. It is limited to 5000 queries per day, so I suggest caching the suggestion (which I implemented, as my site has more then 5000 searches per day). The page returned by Yahoo needs to be parsed, and see if there is a suggestion given. This is a page that gives a suggestion, this is one that has no suggestion.

You can see it live on my shareware site: http://www.coredownload.com/ try some mistypes, like "enail backup", "rgistry cleaner" or whatever you want. I also implemented a function to make bold italic the words that are different between the search query and the suggestion from Yahoo.

If you need assistance on implementing this on your site, let me know.

Thanks, Lucy
lucym is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2008, 01:37 PM   #6 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
The only downside of using this is that it uses Yahoo's Database. So, your site must be greatly integrated into Yahoo's system in order for it to work good. If Yahoo hasn't crawled your site much yet, it won't perform well.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2008, 01:44 PM   #7 (permalink)
Junior Member
 
Join Date: 03-19-08
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

lucym is liked by many
no, i don't see a connection between yahoo crawling the site, and the use of the API. on a site that has disabled yahoo bot from robots.txt, this search suggestion would still work nice.
lucym is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-26-2008, 11:57 AM   #8 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
How is Yahoo able to populate the "suggested" list box then? I mean, unless it's pulling from their own database, I wouldn't see how.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Family-Friendly" or "No Adult Content"? CountryNaturals Web Usability 9 07-22-2008 05:36 PM
<meta http-equiv="Pragma" content="no-cache" /> FGTH SEO Forum 4 06-21-2007 11:29 AM
Home page with "latest news", "news archive" and "update" tekitouni Web Design Lobby 1 09-19-2006 07:39 PM
"v7ndotcom elursrebmem" already bigger than "Nigritude Ultramarine"! Jim Westergren SEO Forum 31 01-21-2006 12:26 PM
Google Toolbar "Browse by Name" feature winelight Google Forum 0 06-02-2005 09:38 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:13 PM.
© Copyright 2008 V7 Inc