Search Highlight On Wikicomplete Info

05 Dec 2008 01:55

I just introduced this nice feature to the Wiki Complete wiki farm (based on Wikidot software).

How does it work?

Here are the Google results for female superheroes wikicomplete query:

locate any link from wikicomplete.info and click. The words female, superheroes, wikicomplete should be highlighted using different colors.

The same mechanism is used for local searches.

hartnellhartnell (the main admin of the Wiki Complete) really likes this feature. There is some chance we'll introduce it to Wikidot.com! After the new search for wikidot is done.

Tech

If you wonder how did I do this, here is the answer. I used Zend_Search_Lucene utility for highlighting. It was all quick and easy after parsing the HTTP_REFERER looking for the actual search query.

Summary

This feature was implemented on some random pages I walked through. I hope you like it being implemented on WikiComplete!


More posts on this topic

Comments

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License