3.2.0

Hiighlighting Script -- function doHighlight(bodyText, searchTerm, highlightStartTag, highlightEndTag)

I need to adapt this script to enclose hiliting tags only around real words so as to omit such symbols as "+", "-", and "!" which are part of the query language supported by the perl search script I use on my site. So if someone enters "+bag! +lady", only "bag" and "lady" should be highlighted.

Here is how this query appears when in the URL field:

http://slangsearch.siteburg.com/cgi-bin/search.pl?query=%2Bbag%21+%2Blady&stpos=0&stype=AND#top

Using highlightGoogleSearchTerms(referrer) procedure somehow did not work...




Baruchim
December 21,

This topic is archived.

See also:


Back to support forum