Search

Posted on May 13, 2007

Search is working for both dictionaries. You can search the Russian/English dictionary or the Japanese/English dictionary. Browsing and searching are two big features of Lingo. If either one of them couldn’t be done, then the project would be hampered. If neither of them could be done, then the project wouldn’t exist and I would have given up weeks ago. Luckily, I’ve been able to make, slow, but sure progress.

Like the other pages for the project, this has some quirks, but I’m calling it good enough for now. I borrowed most of the code from this tutorial. Considering some of the other tutorials I read for other pages, this one is pretty good.

There are two quirks I quickly found pretty quickly. When searching for something that doesn’t exist in the database (like punctuation) it says it returned 0 results, but then it starts a results table and says “Showing results 1 to 0 of 0″. Strange. The other quirk is if there are more than 10 results, it displays a link at the bottom that says “Next 10 >>”, but when you click on the link it returns to a blank search page. I’ll have to work on that at some point. It also displays the results with capitalized words first, but this has to do with they way ASCII and UTF-8 are sorted. I’m guessing there’s a way around that.

I’m glad it’s working though.

Related posts:

  1. Review Haiku – Highlander: The Search for Vengeance
  2. Word play
  3. Projects and code
  4. “Web technology is social.”
  5. whelmed

Filed Under: Code, Journal, LAMP, Net, Open Source, TESOL | Comments Off

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

Spam protection by WP Captcha-Free

Comments are closed.

© Copyright gottahavacuppamocha • Powered by WordpressCoffee Candy is based on the Eye Candy theme.