<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to highlight search results with JavaScript and CSS</title>
	<atom:link href="http://eriwen.com/javascript/highlight-search-results-with-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://eriwen.com/javascript/highlight-search-results-with-js/</link>
	<description>Programming productively with open-source tools</description>
	<lastBuildDate>Sat, 13 Mar 2010 21:53:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Json</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-2070</link>
		<dc:creator>Json</dc:creator>
		<pubDate>Tue, 23 Dec 2008 09:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-2070</guid>
		<description>How to link to an anchor and highlight the search?
Like this;
&lt;a href=&quot; page.php#anchor_name&amp;s=categories &quot; rel=&quot;nofollow&quot;&gt;Categories&lt;/a&gt;
In most cased highlighting the search is cool but not if you can&#039;t jump to it.

Cheers</description>
		<content:encoded><![CDATA[<p>How to link to an anchor and highlight the search?<br />
Like this;<br />
<a href=" page.php#anchor_name&amp;s=categories " rel="nofollow">Categories</a><br />
In most cased highlighting the search is cool but not if you can&#8217;t jump to it.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1655</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Wed, 17 Sep 2008 18:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1655</guid>
		<description>Eric,
Please let me clarify - in the previous post, I was meaning to specify that in the &quot;Search Results&quot; area, I also get the information that follows the search terms in the querystring (i.e. &quot;page&quot; and &quot;operator&quot;), but I would like to keep that data from appearing on the page.  Any thoughts about the best way to do this?
Many thanks,
Louis</description>
		<content:encoded><![CDATA[<p>Eric,<br />
Please let me clarify &#8211; in the previous post, I was meaning to specify that in the &#8220;Search Results&#8221; area, I also get the information that follows the search terms in the querystring (i.e. &#8220;page&#8221; and &#8220;operator&#8221;), but I would like to keep that data from appearing on the page.  Any thoughts about the best way to do this?<br />
Many thanks,<br />
Louis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1639</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Tue, 16 Sep 2008 22:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1639</guid>
		<description>Eric,
Just a (nother) question. :-)  
I have a multi-page result search page, and in the display of &quot;results found&quot; is included the &quot;&amp;&quot; which follows the search terms in the query string.  I&#039;ve tried splitting this, but nothing has been successful thus far.  Do I need to use another method rather than getSearchString?
Thanks,
Louis</description>
		<content:encoded><![CDATA[<p>Eric,<br />
Just a (nother) question. :-)<br />
I have a multi-page result search page, and in the display of &#8220;results found&#8221; is included the &#8220;&amp;&#8221; which follows the search terms in the query string.  I&#8217;ve tried splitting this, but nothing has been successful thus far.  Do I need to use another method rather than getSearchString?<br />
Thanks,<br />
Louis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1638</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Tue, 16 Sep 2008 21:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1638</guid>
		<description>Thanks Eric!</description>
		<content:encoded><![CDATA[<p>Thanks Eric!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Østergaard Petersen</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1630</link>
		<dc:creator>Jens Østergaard Petersen</dc:creator>
		<pubDate>Tue, 16 Sep 2008 07:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1630</guid>
		<description>Hi Eric

Great script!

If one searches for &quot;firefox fire&quot;, things get marked as they should, but if one searches for &quot;fire firefox&quot;, the marking first put on &quot;firefox&quot; by &quot;fire&quot; (&quot;firefox&quot;) will prevent &quot;firefox&quot; from being marked. All highlighting scripts I have seen have this problem. Do you have a solution?

Jens</description>
		<content:encoded><![CDATA[<p>Hi Eric</p>
<p>Great script!</p>
<p>If one searches for &#8220;firefox fire&#8221;, things get marked as they should, but if one searches for &#8220;fire firefox&#8221;, the marking first put on &#8220;firefox&#8221; by &#8220;fire&#8221; (&#8220;firefox&#8221;) will prevent &#8220;firefox&#8221; from being marked. All highlighting scripts I have seen have this problem. Do you have a solution?</p>
<p>Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wendelin</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1579</link>
		<dc:creator>Eric Wendelin</dc:creator>
		<pubDate>Sat, 13 Sep 2008 23:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1579</guid>
		<description>@Louis:

You need to change line 34 (in getSearchString()) as well as line 3. Hope that helps :)</description>
		<content:encoded><![CDATA[<p>@Louis:</p>
<p>You need to change line 34 (in getSearchString()) as well as line 3. Hope that helps :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1558</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Fri, 12 Sep 2008 22:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1558</guid>
		<description>I&#039;ve gotten mine working, with a little tweaking to my code (e.g. renaming my search input to &quot;s&quot;.).  I was wondering how to be able to resume using &quot;search&quot; as my input id?  I looked at line 03 above:
  if (/s\=/.test(window.location.search)) { 

and wondered if changing &quot;s&quot; to &quot;search&quot; there would work, but it didn&#039;t...can this be accomplished here?
Thanks - Louis</description>
		<content:encoded><![CDATA[<p>I&#8217;ve gotten mine working, with a little tweaking to my code (e.g. renaming my search input to &#8220;s&#8221;.).  I was wondering how to be able to resume using &#8220;search&#8221; as my input id?  I looked at line 03 above:<br />
  if (/s\=/.test(window.location.search)) { </p>
<p>and wondered if changing &#8220;s&#8221; to &#8220;search&#8221; there would work, but it didn&#8217;t&#8230;can this be accomplished here?<br />
Thanks &#8211; Louis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehmood</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1550</link>
		<dc:creator>Mehmood</dc:creator>
		<pubDate>Fri, 12 Sep 2008 15:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-1550</guid>
		<description>How about this implementation?

&lt;a href=&quot;http://mehmoodbluffs.blogspot.com/2008/09/html-search-text-and-highlight.html&quot; title=&quot;search highlight&quot; rel=&quot;nofollow&quot;&gt;HTML Search Text and Highlight&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>How about this implementation?</p>
<p><a href="http://mehmoodbluffs.blogspot.com/2008/09/html-search-text-and-highlight.html" title="search highlight" rel="nofollow">HTML Search Text and Highlight</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
