Search highlighting

Added highlighting of search terms using a javascript technique found on this forum posting. Search terms will be highlighted according to the CSS “searchterm”, which is currently yellow. Since I have relatively long postings, this helps.

I guess the next step, when I have time, is to do a niftier search engine for b2, something that will keep a concordance of words and postings and search using that. The current b2 search is a nightmarish LIKE statement in the MySQL WHERE clause, so searches are relatively expensive, database-wise.

Comments are closed.