<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB"><title>Comments on Google-style keyword highlighting using htaccess and PHP - ILoveJackDaniels.com</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/" /><link rel="self" type="application/xml" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/atom/" /><subtitle>Latest comments on Google-style keyword highlighting using htaccess and PHP on ILoveJackDaniels.com</subtitle><author><name>Dave Child</name></author><updated>2004-05-27T15:48:18Z</updated><id>tag:ilovejackdaniels.com,2004:68</id><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Phil ( &lt;a href="http://"&gt;http://&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;How can i prevent some parts of my html code to be replaced?&lt;br /&gt;For example, if I have some url text that I don't want to be changed.</summary><id>tag:ilovejackdaniels.com,2007:37935</id><published>2007-06-25T20:32:04+01:00</published><updated>2007-06-25T20:32:04Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Vincent ( &lt;a href="http://"&gt;http://&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;That's a good php script, however I keep trying to insert it in my website and I have the same problem than Leblanc Meneses.&lt;br /&gt;A navigation bar on the left has disapeared and some &amp;nbsp; appears on my page.&lt;br /&gt;So could you tell me how to fix it? I tried to do what Leblanc Meneses did but I dont know where exactly he added that in the script.</summary><id>tag:ilovejackdaniels.com,2007:37928</id><published>2007-06-25T19:22:14+01:00</published><updated>2007-06-25T19:22:14Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Gareth ( &lt;a href="http://www.gbhfusion.com"&gt;http://www.gbhfusion.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I did this all, but it does't seem to do anything at all?&lt;br /&gt;&lt;br /&gt;Some help please.</summary><id>tag:ilovejackdaniels.com,2007:29632</id><published>2007-04-03T11:32:23+01:00</published><updated>2007-04-03T11:32:23Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Steady ( &lt;a href="http://ja.shareyourideas.net!"&gt;http://ja.shareyourideas.net!&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Your code is so cool!&lt;br /&gt;But it does not work for multibyte code. Do you have any suggestion for the UTF-8?</summary><id>tag:ilovejackdaniels.com,2007:24188</id><published>2007-02-14T04:03:42+00:00</published><updated>2007-02-14T04:03:42Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Opa bato ( &lt;a href="http://www.opabato.com"&gt;http://www.opabato.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Great stuff.. I just needed a part of the code but still excellent</summary><id>tag:ilovejackdaniels.com,2007:22508</id><published>2007-01-31T03:20:47+00:00</published><updated>2007-01-31T03:20:47Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by mihai ( &lt;a href="http://"&gt;http://&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Excellent script. I was always wondering how are some sites able o highlight my search phrase. Nice to see this script can be used on any type of application.&lt;br /&gt;&lt;br /&gt;Thank you!</summary><id>tag:ilovejackdaniels.com,2006:19724</id><published>2006-12-22T08:27:50+00:00</published><updated>2006-12-22T08:27:50Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Robert ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Okay, I've figured out a simpler solution with forms - just switch it off if there's a &lt;textarea or &lt;form occurence in the ob :)&lt;br /&gt;&lt;br /&gt;However, I'd still really like to figure out how to recognise if a keyword is within &lt;a href...&gt; and &lt;/a&gt; - anybody? Please?!</summary><id>tag:ilovejackdaniels.com,2006:9079</id><published>2006-05-21T22:21:23+01:00</published><updated>2006-05-21T22:21:23Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by Robert ( &lt;a href="http://esl.visarus.co.uk"&gt;http://esl.visarus.co.uk&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;This is a really excellent guide - the only one I've found anywhere! I'm using it on my site to create a live glossary plus linking keywords to my friends' sites (just for fun) in the style of phpfreak's glossary tooltips.&lt;br /&gt;&lt;br /&gt;I'm not very good with regular expressions - could anybody possibly help explain how to alter the preg_replace() call used here not to replace anything it finds in anchor text (i.e. between &lt;a... and &lt;/a&gt; or inside &lt;form&gt;&lt;/form&gt; tags? Would be much obliged.&lt;br /&gt;&lt;br /&gt;Links to this site and the others that helped me with this project will be going up from my blog in the next few days!</summary><id>tag:ilovejackdaniels.com,2006:9073</id><published>2006-05-21T17:27:16+01:00</published><updated>2006-05-21T17:27:16Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by carlos ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;i've been to many sites that show how to install this text highlighter.  but i've never used HTML codes before. I don't even know what HTaccess and PHP mean. is there any remote chance that anyone can help me?</summary><id>tag:ilovejackdaniels.com,2005:613</id><published>2005-06-10T17:22:58+01:00</published><updated>2005-06-10T17:22:58Z</updated></entry><entry><title>Comment on Google-style keyword highlighting using htaccess and PHP</title><link rel="alternate" type="text/html" href="http://www.ilovejackdaniels.com/article/google-style-keyword-highlighting/comments/" /><summary type="text">Comment by ntg ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I have a site full of articles, with its own search engine and i want to higlight the keywords in an article when someone perfoms a search.&lt;br /&gt;&lt;br /&gt;Could you help me a little? I 'm confused on how to filter the text, the db sends me back, and enclose in spans whatever word is similar to keywords.</summary><id>tag:ilovejackdaniels.com,2005:612</id><published>2005-06-10T13:01:01+01:00</published><updated>2005-06-10T13:01:01Z</updated></entry></feed>