4

Search engine query highlighter for Serendipity

Posted August 17th, 2004. Filed under Serendipity

I created a search engine query highlighter for Serendipity today.

If you go to Google and search for “apd tricks PHP5″ and click the first result (being this blog), you’ll see the searchwords being highlighted in entries, comments and sidebars. Neat :)

It currently supports Google, Yahoo and Lycos. I can’t think of any other major search engines – if anyone know some more popular engines, let me know and I’ll add them.

I wonder if I should commit this?

Update: And now MSN Search
Update: Added Altavista

If you have enjoyed this entry. Please feel free to bookmark it using your favorite social bookmarking site

4 Responses so far

  1. Jonathan says:

    Well, isn’t Altavista somewhat big?

  2. Yes, please do commit it. :-)
    I thought about writing this last week and put it on my todo-list, glad you had the time before I did :-)

  3. Commit!! Commit!! Commit!!

    This is cool, I thought about suggesting it a while ago, but forgot ;) Great that you did it :)

    Also, I hope it adds a new CSS class to change the color the seach term is highlighted in.

  4. Tom Sommer says:

    It does, but not for each word.

Leave a Comment