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
Jonathan
August 17, 2004 at 22:43
Well, isn’t Altavista somewhat big?
Garvin Hicking
August 18, 2004 at 13:13
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 :-)
Kaustubh Srikanth
August 19, 2004 at 08:16
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.
Tom Sommer
August 19, 2004 at 22:46
It does, but not for each word.