Search Finally Implemented

I finally managed to get search to work across all of squareCircleZ.com. The search boxes that appear in the blog and mathematics sections search the whole site, including the (public) photo gallery. I am using the open source phpDig – it is awesome.

You can see a list of recent search items. Clicking on the column headings sorts by that category.

We learn by doing and by solving problems…. What I learned in this exercise was:

  • keep looking for a good solution before installing the first simple one
  • about UTF-8, the unicode character encoding system. When the search brings up something from the blog, you will see things like » instead of the proper » and also &amp#8212; instead of . This is because the blog uses UTF-8 but the search uses iso-8859-1 and so stumbles on the unicode symbols. When I attempeted to install the update of the search it didn’t work because this server does not have the latest mySQL. When it does, I will update the search function.
  • connecting to a mySQL database can have problems…
  • the community of open source developers is awesome – the forum for phpDig was very helpful with minor problems.

Go ahead – try the search!

Update: I gave up on phpDig and now use Google on both squareCircleZ and intmath.com. The maintenance is much, much easier.

Related posts:

  1. Photo gallery – finally finished I have been working on a Flash-based photo gallery for...
  2. MSN Search likes me… [Update: For the first 6 months of a domain's existence,...
  3. Search is not the address bar I’ve noticed that a lot of users come to my...
  4. Top search terms on squareCircleZ and Interactive Mathematics This article contains the top search terms that people use...
  5. Google search, math and latent semantic analysis There is sophisticated math going on behind the scenes when...

Leave a comment