<?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: Simple AJAX Polling Plugin for jQuery</title>
	<atom:link href="http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/</link>
	<description>Making stuff up about web development since last week.</description>
	<lastBuildDate>Wed, 01 Sep 2010 20:57:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Nick Riggs</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-1057</link>
		<dc:creator>Nick Riggs</dc:creator>
		<pubDate>Wed, 01 Sep 2010 20:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-1057</guid>
		<description>Yeah, I guess the best thing to do would be to return an object that has an abort() method on it. It would handle aborting the current operation and suspending future attempts. I&#039;ll take a look at doing that.</description>
		<content:encoded><![CDATA[<p>Yeah, I guess the best thing to do would be to return an object that has an abort() method on it. It would handle aborting the current operation and suspending future attempts. I&#8217;ll take a look at doing that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-1056</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 01 Sep 2010 20:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-1056</guid>
		<description>actually, nevermind.  that just lets me kill 1 request.  there  doesn&#039;t seem to be a clean way to abort your polling mechanism.</description>
		<content:encoded><![CDATA[<p>actually, nevermind.  that just lets me kill 1 request.  there  doesn&#8217;t seem to be a clean way to abort your polling mechanism.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-1054</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 01 Sep 2010 20:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-1054</guid>
		<description>Nick-

Thanks for this.  Super useful.

I noticed on tragic flaw in your code though, that is very easily fixed:

line 73:
         jQuery.ajax(options);

should be:
        return jQuery.ajax(options);

without the return, there is no way to keep track of these , and you can&#039;t abort / etc.  you left out the jquery functionality that returns xhtml request objects.</description>
		<content:encoded><![CDATA[<p>Nick-</p>
<p>Thanks for this.  Super useful.</p>
<p>I noticed on tragic flaw in your code though, that is very easily fixed:</p>
<p>line 73:<br />
         jQuery.ajax(options);</p>
<p>should be:<br />
        return jQuery.ajax(options);</p>
<p>without the return, there is no way to keep track of these , and you can&#8217;t abort / etc.  you left out the jquery functionality that returns xhtml request objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mad Max</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-773</link>
		<dc:creator>Mad Max</dc:creator>
		<pubDate>Thu, 22 Jul 2010 19:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-773</guid>
		<description>This is as useful as a chocolate teapot. Although it will poll away (confirmed by Firebug) I could not get this plugin to actually do something useful. Without an example to show me how I can&#039;t use this code!</description>
		<content:encoded><![CDATA[<p>This is as useful as a chocolate teapot. Although it will poll away (confirmed by Firebug) I could not get this plugin to actually do something useful. Without an example to show me how I can&#8217;t use this code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dragonx</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-136</link>
		<dc:creator>dragonx</dc:creator>
		<pubDate>Sat, 16 Jan 2010 13:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-136</guid>
		<description>Where is the demo?</description>
		<content:encoded><![CDATA[<p>Where is the demo?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: borras</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-118</link>
		<dc:creator>borras</dc:creator>
		<pubDate>Fri, 23 Oct 2009 09:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-118</guid>
		<description>Hi, what about dynamic change of url?
For example I have to change parameter in a get request to send periodically the client state to the server.</description>
		<content:encoded><![CDATA[<p>Hi, what about dynamic change of url?<br />
For example I have to change parameter in a get request to send periodically the client state to the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Riggs</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-103</link>
		<dc:creator>Nick Riggs</dc:creator>
		<pubDate>Tue, 15 Sep 2009 13:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-103</guid>
		<description>@Tam. I don&#039;t have a PHP file, but the js file is the link at the bottom of the post.</description>
		<content:encoded><![CDATA[<p>@Tam. I don&#8217;t have a PHP file, but the js file is the link at the bottom of the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tam</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-102</link>
		<dc:creator>Tam</dc:creator>
		<pubDate>Thu, 10 Sep 2009 02:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-102</guid>
		<description>Can you review more detail? such as .js file, .php file in the demo. thanks</description>
		<content:encoded><![CDATA[<p>Can you review more detail? such as .js file, .php file in the demo. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buno Bergher</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-98</link>
		<dc:creator>Buno Bergher</dc:creator>
		<pubDate>Thu, 13 Aug 2009 12:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-98</guid>
		<description>That&#039;s an interesting plugin, seems quite useful.

May I just make one suggestion? You could use the return value of the success function as the success condition itself.

This is because there can probably much coupled logic going on in both success and successCondition functions; also, by using the return value of the success handling function, it can be easier for the developer to condition the continuation of the poll to something that may not be in the contents from the ajax call (such as if a list has been filled in the page of something like that).

Great work nonetheless.</description>
		<content:encoded><![CDATA[<p>That&#8217;s an interesting plugin, seems quite useful.</p>
<p>May I just make one suggestion? You could use the return value of the success function as the success condition itself.</p>
<p>This is because there can probably much coupled logic going on in both success and successCondition functions; also, by using the return value of the success handling function, it can be easier for the developer to condition the continuation of the poll to something that may not be in the contents from the ajax call (such as if a list has been filled in the page of something like that).</p>
<p>Great work nonetheless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander GArzon</title>
		<link>http://www.nickriggs.com/posts/simple-ajax-polling-plugin-for-jquery/comment-page-1/#comment-96</link>
		<dc:creator>Alexander GArzon</dc:creator>
		<pubDate>Wed, 12 Aug 2009 23:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://nickriggs.com/?p=83#comment-96</guid>
		<description>Interesting, but... where is DEMO ?</description>
		<content:encoded><![CDATA[<p>Interesting, but&#8230; where is DEMO ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
