google highlight
| From: | pete M | Date: | Mon, 18 Apr 2005 11:59:55 +0000 |
| Subject: | google highlight | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12529@lists.php.net to get a copy of this message | ||
I've got this "google highlight" modifier which was taken from the wiki
http://smarty.incutio.com/?page=modifier.google_highlight ta toma@etree.org
I've modified it slightly as per the link below
http://www.pastebin.com/272747
The only problem is that "ocassionally" some of the phrases return spurious results..
eg -
search for "win do" is ok
<span class="google_highlight">Win</span>chester House.<span class="google_highlight">do</span>c
however "pa ss" returns extra tags as
CP<span cla<span class="google_highlight">ss</span>="google_highlight">Pa</span><span class="google_highlight">ss</span>e<span class="google_highlight">ss</span>ments
can a guru shed some light on this
tia
Pete