<?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: Using Ajax to Count Clicks</title>
	<atom:link href="http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/</link>
	<description></description>
	<lastBuildDate>Mon, 02 Dec 2013 02:52:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Xavier Zari</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-17483</link>
		<dc:creator>Xavier Zari</dc:creator>
		<pubDate>Mon, 05 Jul 2010 21:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-17483</guid>
		<description>Many thanks offering this, That it is exactly what I was looking in bing. Iâ€™d prefer to pick up opinions through somebody, instead of a business website, that&#039;s exactly the reason why I love weblogs so much. Thanks!</description>
		<content:encoded><![CDATA[<p>Many thanks offering this, That it is exactly what I was looking in bing. Iâ€™d prefer to pick up opinions through somebody, instead of a business website, that&#8217;s exactly the reason why I love weblogs so much. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steker</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-17418</link>
		<dc:creator>Steker</dc:creator>
		<pubDate>Sun, 21 Dec 2008 17:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-17418</guid>
		<description>I must thank you for this post because it seems to do exactly what i was looking for. But, as a total newbie in ajax, php and all this stuff, i was wondering if you could write a more detailed step by step guide to implement your script on a wordpress blog...
I&#039;m really looking forward to it.
Thanks.

Steker</description>
		<content:encoded><![CDATA[<p>I must thank you for this post because it seems to do exactly what i was looking for. But, as a total newbie in ajax, php and all this stuff, i was wondering if you could write a more detailed step by step guide to implement your script on a wordpress blog&#8230;<br />
I&#8217;m really looking forward to it.<br />
Thanks.</p>
<p>Steker</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davidvilla</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-17411</link>
		<dc:creator>davidvilla</dc:creator>
		<pubDate>Wed, 10 Sep 2008 07:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-17411</guid>
		<description>great and huge stuff i like it thanks</description>
		<content:encoded><![CDATA[<p>great and huge stuff i like it thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thom Wetzel</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-15358</link>
		<dc:creator>Thom Wetzel</dc:creator>
		<pubDate>Mon, 03 Mar 2008 00:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-15358</guid>
		<description>Pablo : Thanks for your comments.  

I&#039;ll have to update my stuff to take your notes into account.  

One thing that I&#039;m doing is remembering the last IP address that clicks each link, so double-clicks (quadruple, octa-click or whatever) are ignored.</description>
		<content:encoded><![CDATA[<p>Pablo : Thanks for your comments.  </p>
<p>I&#8217;ll have to update my stuff to take your notes into account.  </p>
<p>One thing that I&#8217;m doing is remembering the last IP address that clicks each link, so double-clicks (quadruple, octa-click or whatever) are ignored.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-13114</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Tue, 08 Jan 2008 16:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-13114</guid>
		<description>It is also very important to disable caching for the called url, otherwise the browser can take the request response from local memory without really executing the request.

as found on php.net we can use:
header(&quot;Cache-Control: no-cache, must-revalidate&quot;); // HTTP/1.1
header(&quot;Expires: Mon, 26 Jul 1997 05:00:00 GMT&quot;); // Date in the past</description>
		<content:encoded><![CDATA[<p>It is also very important to disable caching for the called url, otherwise the browser can take the request response from local memory without really executing the request.</p>
<p>as found on php.net we can use:<br />
header(&#8220;Cache-Control: no-cache, must-revalidate&#8221;); // HTTP/1.1<br />
header(&#8220;Expires: Mon, 26 Jul 1997 05:00:00 GMT&#8221;); // Date in the past</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-13113</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Tue, 08 Jan 2008 16:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-13113</guid>
		<description>When the 3rd parameter sets the request to be run asynchornously
req.open(â€GETâ€, url, true);
I ve encountered difficulties when the page was reloaded before the request was done, so this click was &quot;ignored&quot;. Changing it to false should solve the issue.

Also, maybe it&#039;s useful to point out that if user makes a double (or quadruple or whatever ) click on the link, the request will be executed twice (or four times and so on).</description>
		<content:encoded><![CDATA[<p>When the 3rd parameter sets the request to be run asynchornously<br />
req.open(â€GETâ€, url, true);<br />
I ve encountered difficulties when the page was reloaded before the request was done, so this click was &#8220;ignored&#8221;. Changing it to false should solve the issue.</p>
<p>Also, maybe it&#8217;s useful to point out that if user makes a double (or quadruple or whatever ) click on the link, the request will be executed twice (or four times and so on).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikki</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-6532</link>
		<dc:creator>nikki</dc:creator>
		<pubDate>Sat, 04 Aug 2007 13:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-6532</guid>
		<description>try your code, it not working, error object expected, where can i download to test.</description>
		<content:encoded><![CDATA[<p>try your code, it not working, error object expected, where can i download to test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thom Wetzel</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-5225</link>
		<dc:creator>Thom Wetzel</dc:creator>
		<pubDate>Mon, 16 Jul 2007 14:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-5225</guid>
		<description>@ Joshua

Read the section titled &quot;Lousy Links&quot;.  To search engines, all the links point to www.lmnopc.com -- not the actual site that the text describes, so it looks like none of the links lead to good content.  Using this method, the links actually point to the content they describe.

@ Beeuser

Search engine crawlers donâ€™t use Javascript, so they wonâ€™t be triggering the script.</description>
		<content:encoded><![CDATA[<p>@ Joshua</p>
<p>Read the section titled &#8220;Lousy Links&#8221;.  To search engines, all the links point to <a href="http://www.lmnopc.com" rel="nofollow">http://www.lmnopc.com</a> &#8212; not the actual site that the text describes, so it looks like none of the links lead to good content.  Using this method, the links actually point to the content they describe.</p>
<p>@ Beeuser</p>
<p>Search engine crawlers donâ€™t use Javascript, so they wonâ€™t be triggering the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beeuser</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-3203</link>
		<dc:creator>beeuser</dc:creator>
		<pubDate>Fri, 08 Jun 2007 08:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-3203</guid>
		<description>Hello, nice solution. I will use it in the future. I have one question. How do you  know which visitor is a search engine, cause I don&#039;t want to count clicks of search engines?</description>
		<content:encoded><![CDATA[<p>Hello, nice solution. I will use it in the future. I have one question. How do you  know which visitor is a search engine, cause I don&#8217;t want to count clicks of search engines?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/comment-page-1/#comment-2671</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Wed, 16 May 2007 16:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/#comment-2671</guid>
		<description>Thank you very much!

This is exactly what I was looking for!

The only thing I don&#039;t get, is why this would improve your pagerank and the Adsense-ads.

Anyway, many thanks,
Joshua (I&#039;m Dutch, so don&#039;t blame me for incorrect spelling)</description>
		<content:encoded><![CDATA[<p>Thank you very much!</p>
<p>This is exactly what I was looking for!</p>
<p>The only thing I don&#8217;t get, is why this would improve your pagerank and the Adsense-ads.</p>
<p>Anyway, many thanks,<br />
Joshua (I&#8217;m Dutch, so don&#8217;t blame me for incorrect spelling)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
