<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Upgraded jQuery Spy</title>
	<link>http://leftlogic.com/lounge/articles/jquery_spy2/</link>
	<description>Left Logic articles and news / Left Logic is a Brighton based web development and design consultancy</description>
	<pubDate>Mon, 12 May 2008 12:39:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: Remy</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-221</link>
		<author>Remy</author>
		<pubDate>Sat, 30 Sep 2006 15:55:59 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-221</guid>
					<description>&lt;p&gt;Check out a working version using the new spy on &lt;a href="http://www.arsenal-mania.com/?page=spy&#38;spy=articles&#38;clean=1"&gt;Arsenal Mania&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The main difference is the load their servers are taking &#8211; rather than 1 AJAX request per item, it shows 10 items, then does another AJAX request.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Check out a working version using the new spy on <a href="http://www.arsenal-mania.com/?page=spy&amp;spy=articles&amp;clean=1">Arsenal Mania</a></p>
<p>The main difference is the load their servers are taking &#8211; rather than 1 AJAX request per item, it shows 10 items, then does another AJAX request.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: free_IPTV</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-222</link>
		<author>free_IPTV</author>
		<pubDate>Sat, 30 Sep 2006 16:25:39 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-222</guid>
					<description>&lt;p&gt;Nice work, digg +1&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice work, digg +1</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alejandro Sena</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-223</link>
		<author>Alejandro Sena</author>
		<pubDate>Sat, 30 Sep 2006 16:28:32 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-223</guid>
					<description>&lt;p&gt;Thank you very much for this upgrade! I&#8217;ll test it soon =)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you very much for this upgrade! I&#8217;ll test it soon =)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alejandro Sena</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-224</link>
		<author>Alejandro Sena</author>
		<pubDate>Sat, 30 Sep 2006 23:26:53 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-224</guid>
					<description>&lt;p&gt;How would the out.php look like? I&#8217;m using the same that the last version and it only shows the last row.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How would the out.php look like? I&#8217;m using the same that the last version and it only shows the last row.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Marco</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-227</link>
		<author>Marco</author>
		<pubDate>Sat, 07 Oct 2006 18:54:04 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-227</guid>
					<description>&lt;p&gt;Hi, great handy tool explanation!&lt;/p&gt;

&lt;p&gt;I do have one (style) question: when looking at the example at &#8220;http://leftlogic.com/jquery_spy/spy.html&#8221; in firefox (1.5.0.7), I notice that after scrolling down, all rows after the first one scroll a little bit up!&lt;br /&gt;
This does not happen in IE, so I guess it is a css thing.&lt;br /&gt;
Anybody fix that one already?&lt;/p&gt;

&lt;p&gt;Also, I found that the IE (6) javascript engine doesn&#8217;t like it when you start with an empty div id=&#8221;holder&#8221; element. You&#8217;ll get an &#8220;object required&#8221; javascript error. I just put in some dummy text for now.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br /&gt;
Marco&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, great handy tool explanation!</p>
<p>I do have one (style) question: when looking at the example at &#8220;http://leftlogic.com/jquery_spy/spy.html&#8221; in firefox (1.5.0.7), I notice that after scrolling down, all rows after the first one scroll a little bit up!<br />
This does not happen in IE, so I guess it is a css thing.<br />
Anybody fix that one already?</p>
<p>Also, I found that the IE (6) javascript engine doesn&#8217;t like it when you start with an empty div id=&#8221;holder&#8221; element. You&#8217;ll get an &#8220;object required&#8221; javascript error. I just put in some dummy text for now.</p>
<p>Thanks,<br />
Marco</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: joel</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-231</link>
		<author>joel</author>
		<pubDate>Sat, 14 Oct 2006 05:47:02 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-231</guid>
					<description>&lt;p&gt;If you don&#8217;t have a timestamp to check for newness you can use an ID. If you have a field with a unique auto increment ID then implement your timestamp function like so:&lt;br /&gt;
var id;&lt;br /&gt;
function mystamp() {&lt;br /&gt;
newid = $(&#8216;div.id&#8217;).id();&lt;br /&gt;
if (newid == &#8216;&#8217;) {&lt;br /&gt;
return id;&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;id = newid;&lt;br /&gt;
return id;&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;and be sure to have an empty div for each row like so:&lt;br /&gt;
&#60;div class=&#8221;id&#8221; id=&#8221;&#60;?php echo $row[&#8216;id&#8217;]; ?&#62;&#8221;&#62;&#60;/div&#62;&lt;/p&gt;

&lt;p&gt;The idea is to get the latest auto increment id from the content and pass that to the source. The source would then add &#8221;.. where ID&#62;$timestamp.. &#8221; to get the next items.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If you don&#8217;t have a timestamp to check for newness you can use an ID. If you have a field with a unique auto increment ID then implement your timestamp function like so:<br />
var id;<br />
function mystamp() {<br />
newid = $(&#8216;div.id&#8217;).id();<br />
if (newid == &#8216;&#8217;) {<br />
return id;<br />
}</p>
<p>id = newid;<br />
return id;<br />
}</p>
<p>and be sure to have an empty div for each row like so:<br />
&lt;div class=&#8221;id&#8221; id=&#8221;&lt;?php echo $row[&#8216;id&#8217;]; ?&gt;&#8221;&gt;&lt;/div&gt;</p>
<p>The idea is to get the latest auto increment id from the content and pass that to the source. The source would then add &#8221;.. where ID&gt;$timestamp.. &#8221; to get the next items.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Anon</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-228</link>
		<author>Anon</author>
		<pubDate>Wed, 18 Oct 2006 03:54:02 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-228</guid>
					<description>&lt;p&gt;Hmmm I still seem to be having troubles.&lt;/p&gt;

&lt;p&gt;I am using the following code to avoid any old rows from coming up:&lt;/p&gt;

&lt;p&gt;function myIsDupe(latest, last) {
  if (latest.id &#62; last.id) {
    return false;
  } else {
    return true;
  }&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;and of course adding&lt;/p&gt;

&lt;p&gt;&#8216;IsDupe&#8217;: myIsDupe to the query options part, but it doesn&#8217;t seem to be working out.&lt;/p&gt;

&lt;p&gt;I tried what joel said but it just straight out didn&#8217;t work.&lt;/p&gt;

&lt;p&gt;Anyone?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hmmm I still seem to be having troubles.</p>
<p>I am using the following code to avoid any old rows from coming up:</p>
<p>function myIsDupe(latest, last) {<br />
  if (latest.id &gt; last.id) {<br />
    return false;<br />
  } else {<br />
    return true;<br />
  }<br />
}</p>
<p>and of course adding</p>
<p>&#8216;IsDupe&#8217;: myIsDupe to the query options part, but it doesn&#8217;t seem to be working out.</p>
<p>I tried what joel said but it just straight out didn&#8217;t work.</p>
<p>Anyone?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-230</link>
		<author>Remy</author>
		<pubDate>Wed, 18 Oct 2006 10:40:16 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-230</guid>
					<description>&lt;p&gt;@Anon &#8211; I would recommend adding some debug to the &#8216;myIsDupe&#8217; function.&lt;/p&gt;

&lt;p&gt;If you&#8217;re using Firefox with &lt;a href="http://www.joehewitt.com/software/firebug/"&gt;Firebug&lt;/a&gt; or Safari, change the function to read:&lt;/p&gt;

&lt;p&gt;function myIsDupe(latest, last) {&lt;br /&gt;
consoloe.log(&#8220;dupe check&#8221;, (latest.id &#62; last.id), latest.id, last.id);&lt;br /&gt;
if (latest.id &#62; last.id) {&lt;br /&gt;
return false;&lt;br /&gt;
} else {&lt;br /&gt;
return true;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Anon &#8211; I would recommend adding some debug to the &#8216;myIsDupe&#8217; function.</p>
<p>If you&#8217;re using Firefox with <a href="http://www.joehewitt.com/software/firebug/">Firebug</a> or Safari, change the function to read:</p>
<p>function myIsDupe(latest, last) {<br />
consoloe.log(&#8220;dupe check&#8221;, (latest.id &gt; last.id), latest.id, last.id);<br />
if (latest.id &gt; last.id) {<br />
return false;<br />
} else {<br />
return true;<br />
}<br />
}</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: zsolti</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-229</link>
		<author>zsolti</author>
		<pubDate>Thu, 19 Oct 2006 21:30:06 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-229</guid>
					<description>&lt;p&gt;Hi,&lt;br /&gt;
Is anybody know, why it doesn&#8217;t work, if there are other onLoad functions on the same page?&lt;/p&gt;

&lt;p&gt;You can see here:&lt;br /&gt;
http://www.blogsearch.hu/index_alpha.html&lt;br /&gt;
For example at the left side, in the &#8220;alpha, be patient&#8221; box the spam-prevented e-mail dosn&#8217;t turn into the right format. However, here, where I don&#8217;t use the spy.js, and the jquery.js, it works fine:&lt;br /&gt;
http://www.blogsearch.hu/belepes&lt;/p&gt;

&lt;p&gt;Thanks, and sry for the long post&#8230;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Is anybody know, why it doesn&#8217;t work, if there are other onLoad functions on the same page?</p>
<p>You can see here:<br />
http://www.blogsearch.hu/index_alpha.html<br />
For example at the left side, in the &#8220;alpha, be patient&#8221; box the spam-prevented e-mail dosn&#8217;t turn into the right format. However, here, where I don&#8217;t use the spy.js, and the jquery.js, it works fine:<br />
http://www.blogsearch.hu/belepes</p>
<p>Thanks, and sry for the long post&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: khelllo</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-225</link>
		<author>khelllo</author>
		<pubDate>Tue, 07 Nov 2006 15:41:35 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-225</guid>
					<description>&lt;p&gt;i have a problem when i use this script with others who use prototype library&#8230;&lt;/p&gt;

&lt;p&gt;do u suggest any solution for this?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i have a problem when i use this script with others who use prototype library&#8230;</p>
<p>do u suggest any solution for this?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: khelllo</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-226</link>
		<author>khelllo</author>
		<pubDate>Wed, 08 Nov 2006 10:36:57 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-226</guid>
					<description>&lt;p&gt;thanks,&lt;br /&gt;
really it worked well with me&#8230;.&lt;/p&gt;

&lt;p&gt;but now am facing and i hope it&#8217;s the last problem with Rico library!&lt;/p&gt;

&lt;p&gt;there r another conflicts with Rico library and spy plugin&#8230;..&lt;/p&gt;

&lt;p&gt;so do u suggest anything??? &lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>thanks,<br />
really it worked well with me&#8230;.</p>
<p>but now am facing and i hope it&#8217;s the last problem with Rico library!</p>
<p>there r another conflicts with Rico library and spy plugin&#8230;..</p>
<p>so do u suggest anything??? </p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Micky Bou</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-236</link>
		<author>Micky Bou</author>
		<pubDate>Fri, 15 Dec 2006 04:13:31 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-236</guid>
					<description>&lt;p&gt;Well, you can see your excellent Spy application working on our main page. We added you to the site credits. Keep on the good work!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, you can see your excellent Spy application working on our main page. We added you to the site credits. Keep on the good work!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-234</link>
		<author>Remy</author>
		<pubDate>Fri, 15 Dec 2006 08:28:02 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-234</guid>
					<description>&lt;p&gt;@Micky &#8211; that&#8217;s great to hear my Spy is getting out in to the wild!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Micky &#8211; that&#8217;s great to hear my Spy is getting out in to the wild!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nilesh S. Tailor</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-241</link>
		<author>Nilesh S. Tailor</author>
		<pubDate>Wed, 17 Jan 2007 21:21:40 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-241</guid>
					<description>&lt;p&gt;Any suggestions on how to do this on ASP.net&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Any suggestions on how to do this on ASP.net</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Logan Koester</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-240</link>
		<author>Logan Koester</author>
		<pubDate>Sun, 21 Jan 2007 20:35:50 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-240</guid>
					<description>&lt;p&gt;Has anyone noticed any resource consumption problems leaving this running for an extended period of time?&lt;/p&gt;

&lt;p&gt;If I leave my page open in Firefox and come back a few hours later I find it is using 99% CPU and 200MB of RAM. I don&#8217;t know if it is the Spy or some other js I&#8217;m using, however.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Has anyone noticed any resource consumption problems leaving this running for an extended period of time?</p>
<p>If I leave my page open in Firefox and come back a few hours later I find it is using 99% CPU and 200MB of RAM. I don&#8217;t know if it is the Spy or some other js I&#8217;m using, however.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-238</link>
		<author>Remy Sharp</author>
		<pubDate>Mon, 22 Jan 2007 00:11:33 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-238</guid>
					<description>&lt;p&gt;@Logan &#8211; I have noticed something similar, not particularly with the spy, but with repetitive AJAX requests &#8211; the if I am using Firebug in Firefox, and have the XMLHTTPRequests turned on, the CPU goes pretty wild after a few hours.&lt;/p&gt;

&lt;p&gt;I would run the same check in IE, or check the flag (if you&#8217;re using Firebug).  Let me know how you get on.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Logan &#8211; I have noticed something similar, not particularly with the spy, but with repetitive AJAX requests &#8211; the if I am using Firebug in Firefox, and have the XMLHTTPRequests turned on, the CPU goes pretty wild after a few hours.</p>
<p>I would run the same check in IE, or check the flag (if you&#8217;re using Firebug).  Let me know how you get on.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nilesh S. Tailor</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-237</link>
		<author>Nilesh S. Tailor</author>
		<pubDate>Wed, 24 Jan 2007 14:47:17 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-237</guid>
					<description>&lt;p&gt;Great job, thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great job, thanks.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: dragon</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-239</link>
		<author>dragon</author>
		<pubDate>Mon, 26 Feb 2007 05:01:23 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-239</guid>
					<description>&lt;p&gt;any coder out there wanna do a walk through on how to get this to work with e107?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>any coder out there wanna do a walk through on how to get this to work with e107?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: cmelb</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-235</link>
		<author>cmelb</author>
		<pubDate>Fri, 23 Mar 2007 13:36:52 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-235</guid>
					<description>&lt;p&gt;Do you have any recommendations for timeout frequency. Anthing under a 1000ms seems to send the scroll a tad doolally in firefox (IE sems to handle it better).  &lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Do you have any recommendations for timeout frequency. Anthing under a 1000ms seems to send the scroll a tad doolally in firefox (IE sems to handle it better).  </p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-233</link>
		<author>Remy Sharp</author>
		<pubDate>Fri, 30 Mar 2007 18:12:33 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-233</guid>
					<description>&lt;p&gt;@cmelb &#8211; ideally you should be pulling back more than one row of content on each request.&lt;/p&gt;

&lt;p&gt;Though the spy appears to be real time to the user, behind the scenes it should actually be showing slightly &#8220;stale&#8221; data &#8211; otherwise you have to poll at a frequency that will give your user&#8217;s browser problems.&lt;/p&gt;

&lt;p&gt;I would recommend every 1 second, but make sure I return 10 or so rows of content, as each of these are added to the spy on each second, rather than polling each second, it ends up polling every 10 seconds (i.e. 10 rows x 1 second).&lt;/p&gt;

&lt;p&gt;Hope that helps.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@cmelb &#8211; ideally you should be pulling back more than one row of content on each request.</p>
<p>Though the spy appears to be real time to the user, behind the scenes it should actually be showing slightly &#8220;stale&#8221; data &#8211; otherwise you have to poll at a frequency that will give your user&#8217;s browser problems.</p>
<p>I would recommend every 1 second, but make sure I return 10 or so rows of content, as each of these are added to the spy on each second, rather than polling each second, it ends up polling every 10 seconds (i.e. 10 rows x 1 second).</p>
<p>Hope that helps.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: entropie</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-232</link>
		<author>entropie</author>
		<pubDate>Sat, 07 Apr 2007 01:36:34 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-232</guid>
					<description>&lt;p&gt;Thanks for sharing.&lt;/p&gt;

&lt;p&gt;I edited the plugin to fade the first elements out and pushing to the end of the list. (chatlike).&lt;/p&gt;

&lt;p&gt;if anyone is intrested mail mit to mictro / this fancy &#8216;a&#8217;/ gmail.com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for sharing.</p>
<p>I edited the plugin to fade the first elements out and pushing to the end of the list. (chatlike).</p>
<p>if anyone is intrested mail mit to mictro / this fancy &#8216;a&#8217;/ gmail.com</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: acidofil</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-242</link>
		<author>acidofil</author>
		<pubDate>Fri, 11 May 2007 18:32:15 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-242</guid>
					<description>&lt;p&gt;Hi there, there&#8217;s small bug in myTimestamp example function as d.getMonth() is counting months from zero.. so myTimestamp returns date one month ago .. &lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi there, there&#8217;s small bug in myTimestamp example function as d.getMonth() is counting months from zero.. so myTimestamp returns date one month ago .. </p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ajaxian showcase jQuery Spy at remy sharp&#8217;s b:log</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-584</link>
		<author>Ajaxian showcase jQuery Spy at remy sharp&#8217;s b:log</author>
		<pubDate>Tue, 05 Jun 2007 23:19:10 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-584</guid>
					<description>&lt;p&gt;[...] have published my jQuery Spy in their showcase category. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] have published my jQuery Spy in their showcase category. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Блог &#187; Архив</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-685</link>
		<author>Блог &#187; Архив</author>
		<pubDate>Mon, 11 Jun 2007 18:36:10 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-685</guid>
					<description>&lt;p&gt;[...] Digg - like spy script - Demo Пример и код как да създадем страница за шпиониране на DIGG [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Digg - like spy script - Demo Пример и код как да създадем страница за шпиониране на DIGG [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: akomabantot</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-814</link>
		<author>akomabantot</author>
		<pubDate>Mon, 18 Jun 2007 08:29:36 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-814</guid>
					<description>&lt;p&gt;how can i parse the content in a div?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>how can i parse the content in a div?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: IgoS</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-865</link>
		<author>IgoS</author>
		<pubDate>Thu, 21 Jun 2007 19:39:38 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-865</guid>
					<description>&lt;p&gt;I want to create something like http://www.ubuntustats.com/. How to create 2 or more spy instances?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I want to create something like http://www.ubuntustats.com/. How to create 2 or more spy instances?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bernie</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-875</link>
		<author>Bernie</author>
		<pubDate>Fri, 22 Jun 2007 10:48:12 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-875</guid>
					<description>&lt;p&gt;First I'd like to say this is extremely cool, and very easy to implement, even for a dunce like myself.&lt;/p&gt;

&lt;p&gt;:)&lt;/p&gt;

&lt;p&gt;Now, predictably, I have a question!&lt;/p&gt;

&lt;p&gt;I would like to not 'loop' the results returned, but rather keep the list 'static' (or rather, just stack new results on top of the old results).&lt;/p&gt;

&lt;p&gt;What I mean by this, is if I query the database now, and it returns three additional entries to add to the output, it will loop those three entries, until another query is made.&lt;/p&gt;

&lt;p&gt;I would like it to pull those entries and display them, then stop, and wait for more results, not loop through the results until the next query is run.&lt;/p&gt;

&lt;p&gt;What I want to do is have a "live" list of forum posts on my website, and it's sort-of working, but it looks odd looping through three results (for example) when I have a list of seven.  I'd like it to just add those three to the list (bumping off the oldest three), then stop and wait.&lt;/p&gt;

&lt;p&gt;Could someone advise on how to achieve this?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>First I'd like to say this is extremely cool, and very easy to implement, even for a dunce like myself.</p>
<p>:)</p>
<p>Now, predictably, I have a question!</p>
<p>I would like to not 'loop' the results returned, but rather keep the list 'static' (or rather, just stack new results on top of the old results).</p>
<p>What I mean by this, is if I query the database now, and it returns three additional entries to add to the output, it will loop those three entries, until another query is made.</p>
<p>I would like it to pull those entries and display them, then stop, and wait for more results, not loop through the results until the next query is run.</p>
<p>What I want to do is have a "live" list of forum posts on my website, and it's sort-of working, but it looks odd looping through three results (for example) when I have a list of seven.  I'd like it to just add those three to the list (bumping off the oldest three), then stop and wait.</p>
<p>Could someone advise on how to achieve this?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-934</link>
		<author>Remy Sharp</author>
		<pubDate>Tue, 26 Jun 2007 09:02:47 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-934</guid>
					<description>&lt;p&gt;@Bernie - I've added a new option to the spy settings to control the speed the new items are pushed on to the stack.  &lt;/p&gt;

&lt;p&gt;This was the easiest way to achieve what you're after, otherwise it would require a significant change to some of the internal spy code.&lt;/p&gt;

&lt;p&gt;If you download the latest &lt;a href="http://leftlogic.com/jquery/spy.js" rel="nofollow"&gt;spy&lt;/a&gt; and follow the instructions for the &lt;a href="http://leftlogic.com/lounge/articles/jquery_spy2/#pushTimeout" rel="nofollow"&gt;pushTimeout&lt;/a&gt; it should do the trick.&lt;/p&gt;

&lt;p&gt;Let me know how you get on.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Bernie - I've added a new option to the spy settings to control the speed the new items are pushed on to the stack.  </p>
<p>This was the easiest way to achieve what you're after, otherwise it would require a significant change to some of the internal spy code.</p>
<p>If you download the latest <a href="http://leftlogic.com/jquery/spy.js" rel="nofollow">spy</a> and follow the instructions for the <a href="http://leftlogic.com/lounge/articles/jquery_spy2/#pushTimeout" rel="nofollow">pushTimeout</a> it should do the trick.</p>
<p>Let me know how you get on.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bernie</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-936</link>
		<author>Bernie</author>
		<pubDate>Tue, 26 Jun 2007 09:33:05 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-936</guid>
					<description>&lt;p&gt;Thanks, is pushTimeout in seconds?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, is pushTimeout in seconds?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-937</link>
		<author>Remy Sharp</author>
		<pubDate>Tue, 26 Jun 2007 09:35:08 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-937</guid>
					<description>&lt;p&gt;@Bernie - milliseconds.  However, if you want to make the items appear &lt;em&gt;almost&lt;/em&gt; all at once, set it to '1' - this is lowest timeout you can give it (the spy won't register zero).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Bernie - milliseconds.  However, if you want to make the items appear <em>almost</em> all at once, set it to '1' - this is lowest timeout you can give it (the spy won't register zero).</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Emin</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-948</link>
		<author>Emin</author>
		<pubDate>Wed, 27 Jun 2007 10:06:38 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-948</guid>
					<description>&lt;p&gt;When i got data i want to start javascript function for edit new data. 
How can i start to work javascript function automatically when data got&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>When i got data i want to start javascript function for edit new data.<br />
How can i start to work javascript function automatically when data got</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ryan Lynch</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-977</link>
		<author>Ryan Lynch</author>
		<pubDate>Sat, 30 Jun 2007 02:13:17 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-977</guid>
					<description>&lt;p&gt;I have been working with this for a few hours, and it's really impressive. Say, would there be an easy way to do alternating row colors?
Best,
Ryan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have been working with this for a few hours, and it's really impressive. Say, would there be an easy way to do alternating row colors?<br />
Best,<br />
Ryan</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: links for 2007-07-05 &#171; /tmp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1052</link>
		<author>links for 2007-07-05 &#171; /tmp</author>
		<pubDate>Thu, 05 Jul 2007 16:19:50 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1052</guid>
					<description>&lt;p&gt;[...] Upgraded jQuery Spy › Left Logic (tags: jquery Ajax javascript) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Upgraded jQuery Spy › Left Logic (tags: jquery Ajax javascript) [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Luke Byrne</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1158</link>
		<author>Luke Byrne</author>
		<pubDate>Thu, 12 Jul 2007 13:15:04 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1158</guid>
					<description>&lt;p&gt;Remy,&lt;/p&gt;

&lt;p&gt;Fantasic piece of work! I have been playing around with it and is very easy to implement.&lt;/p&gt;

&lt;p&gt;I have a requirement whereby I want to pass some paramaters from a form that is being monitored to the ajax page via the specified URL, much the same as the actual Digg Spy.&lt;/p&gt;

&lt;p&gt;I am under the impression that AJAX URL is loaded once and from then on it is set? Would that be correct?&lt;/p&gt;

&lt;p&gt;If so, can you envisage a way whereby I am able to pass form parameters to the server side page?&lt;/p&gt;

&lt;p&gt;I look forward to your response.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;/p&gt;

&lt;p&gt;Luke Byrne&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Remy,</p>
<p>Fantasic piece of work! I have been playing around with it and is very easy to implement.</p>
<p>I have a requirement whereby I want to pass some paramaters from a form that is being monitored to the ajax page via the specified URL, much the same as the actual Digg Spy.</p>
<p>I am under the impression that AJAX URL is loaded once and from then on it is set? Would that be correct?</p>
<p>If so, can you envisage a way whereby I am able to pass form parameters to the server side page?</p>
<p>I look forward to your response.</p>
<p>Kind regards,</p>
<p>Luke Byrne</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Linus</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1180</link>
		<author>Linus</author>
		<pubDate>Sat, 14 Jul 2007 00:33:54 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1180</guid>
					<description>&lt;p&gt;how can i use it with jsp instead of php?
how should the source code be?&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>how can i use it with jsp instead of php?<br />
how should the source code be?</p>
<p>thanks</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: murki</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1183</link>
		<author>murki</author>
		<pubDate>Sat, 14 Jul 2007 02:16:00 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1183</guid>
					<description>&lt;p&gt;Is there any way to use the "ajax" parameter with an external (different server) URL in firefox? the firebug gives a "uncaught exception: Permission denied to call method XMLHttpRequest.open" error.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is there any way to use the "ajax" parameter with an external (different server) URL in firefox? the firebug gives a "uncaught exception: Permission denied to call method XMLHttpRequest.open" error.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1190</link>
		<author>Remy Sharp</author>
		<pubDate>Sat, 14 Jul 2007 10:06:04 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1190</guid>
					<description>&lt;p&gt;@Ryan - yes. It's not ideal, but something like this will do it (note that I've not tested this - but it's along these lines):&lt;/p&gt;

&lt;p&gt;Use the custom push method and colour the new DIV's background depending on whether it's an odd or even DIV:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function custom_push(html) {
  // Prepend the HTML inside the container
  $('#' + this.id).prepend(html);
  var l = $('#' + this.id + ' &gt; div').length;
  if (l % 2 != 0) { // then it's odd
    $('#' + this.id + ' &gt; div:last').css('backgroundColor', '#c00');
  }
}&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;@Luke - It should be fine - but you'll need to mod the spy.js file, and the code I've suggested is a bit of hack, bit it should work.&lt;/p&gt;

&lt;p&gt;You need to add a new method inside the spy (within the &lt;code&gt;return this.each(function () {&lt;/code&gt; block) to change the Ajax URL (I assume you have some kind of click handlers when the user changes the form settings).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var e = this;
e.setAjaxURL = function (url) { o.ajax = url; };
... // continue as normal
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then to change the URL:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$('#spyContainer')[0].setAjaxURL(url);&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;@Linus - sorry, no idea. Have you tried &lt;a href="http://google.com" rel="nofollow"&gt;Google&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;@Murki - that's a browser feature.  Your browser won't let you access content, through scripting, from different URLs (i.e. the protocol and hostname must match the source request).  What you're trying to do is called &lt;a href="http://en.wikipedia.org/wiki/Cross_site_scripting" rel="nofollow"&gt;Cross Site Scripting&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Ryan - yes. It's not ideal, but something like this will do it (note that I've not tested this - but it's along these lines):</p>
<p>Use the custom push method and colour the new DIV's background depending on whether it's an odd or even DIV:</p>
<pre><code>function custom_push(html) {
  // Prepend the HTML inside the container
  $('#' + this.id).prepend(html);
  var l = $('#' + this.id + ' > div').length;
  if (l % 2 != 0) { // then it's odd
    $('#' + this.id + ' > div:last').css('backgroundColor', '#c00');
  }
}</code></pre>
<p>@Luke - It should be fine - but you'll need to mod the spy.js file, and the code I've suggested is a bit of hack, bit it should work.</p>
<p>You need to add a new method inside the spy (within the <code>return this.each(function () {</code> block) to change the Ajax URL (I assume you have some kind of click handlers when the user changes the form settings).</p>
<pre><code>var e = this;
e.setAjaxURL = function (url) { o.ajax = url; };
... // continue as normal
</code></pre>
<p>Then to change the URL:</p>
<pre><code>$('#spyContainer')[0].setAjaxURL(url);</code></pre>
<p>@Linus - sorry, no idea. Have you tried <a href="http://google.com" rel="nofollow">Google</a>?</p>
<p>@Murki - that's a browser feature.  Your browser won't let you access content, through scripting, from different URLs (i.e. the protocol and hostname must match the source request).  What you're trying to do is called <a href="http://en.wikipedia.org/wiki/Cross_site_scripting" rel="nofollow">Cross Site Scripting</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: murki</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1212</link>
		<author>murki</author>
		<pubDate>Mon, 16 Jul 2007 18:50:26 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1212</guid>
					<description>&lt;p&gt;So, in order to overcome that problem, I should implement some kind of "proxy script" to retrieve the feed, right?
Something like a php file (in my server) outputting the json feed with &lt;pre&gt;&lt;code&gt;print file_get_contents($json_feed_url)&lt;/code&gt;&lt;/pre&gt;...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So, in order to overcome that problem, I should implement some kind of "proxy script" to retrieve the feed, right?<br />
Something like a php file (in my server) outputting the json feed with
<pre><code>print file_get_contents($json_feed_url)</code></pre>
<p>...</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: murki</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1215</link>
		<author>murki</author>
		<pubDate>Mon, 16 Jul 2007 22:32:48 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1215</guid>
					<description>&lt;p&gt;I have another question... It says that the code automatically handles "multiple items from AJAX request and shows one at a time, reducing the load on your servers", so how do we take advantage from this using JSON replies? I mean, you have to override the 'push' function, but how do we define the rows in a JSON request so they can be handled automatically? Am I missing something here?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have another question... It says that the code automatically handles "multiple items from AJAX request and shows one at a time, reducing the load on your servers", so how do we take advantage from this using JSON replies? I mean, you have to override the 'push' function, but how do we define the rows in a JSON request so they can be handled automatically? Am I missing something here?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: murki</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1220</link>
		<author>murki</author>
		<pubDate>Tue, 17 Jul 2007 06:01:21 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1220</guid>
					<description>&lt;p&gt;Seems http://leftlogic.com/jquery/spy_json.html doesn't update unless you have firebug enabled&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Seems http://leftlogic.com/jquery/spy_json.html doesn't update unless you have firebug enabled</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1222</link>
		<author>Remy Sharp</author>
		<pubDate>Tue, 17 Jul 2007 08:22:23 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1222</guid>
					<description>&lt;p&gt;@Murki - you should find the &lt;a href="http://leftlogic.com/jquery/spy_json.html" rel="nofollow"&gt;JSON spy&lt;/a&gt; working now.  You're right, I had a specific &lt;code&gt;console.log&lt;/code&gt; which was breaking in other browsers.&lt;/p&gt;

&lt;p&gt;In reply to how you could get around the cross site scripting - yes, you could create a proxy-type script - that would overcome the problem.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Murki - you should find the <a href="http://leftlogic.com/jquery/spy_json.html" rel="nofollow">JSON spy</a> working now.  You're right, I had a specific <code>console.log</code> which was breaking in other browsers.</p>
<p>In reply to how you could get around the cross site scripting - yes, you could create a proxy-type script - that would overcome the problem.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: murki</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1266</link>
		<author>murki</author>
		<pubDate>Fri, 20 Jul 2007 07:59:03 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1266</guid>
					<description>&lt;p&gt;Thanks a bunch Remy!&lt;/p&gt;

&lt;p&gt;Is there any chance you could help with my previous question? About setting/displaying multiple items with JSON?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a bunch Remy!</p>
<p>Is there any chance you could help with my previous question? About setting/displaying multiple items with JSON?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: murki</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1303</link>
		<author>murki</author>
		<pubDate>Tue, 24 Jul 2007 02:57:13 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1303</guid>
					<description>&lt;p&gt;What is the right way to "return a selection of HTML DIVs to be inserted in to the 'spyContainer' in a spy-style" for JSON response types? If the JSON feed returns a lot of items, should I loop through them and build the HTML rows in the 'push' function? (Because it's not working for me that way).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What is the right way to "return a selection of HTML DIVs to be inserted in to the 'spyContainer' in a spy-style" for JSON response types? If the JSON feed returns a lot of items, should I loop through them and build the HTML rows in the 'push' function? (Because it's not working for me that way).</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: cactus</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1339</link>
		<author>cactus</author>
		<pubDate>Fri, 27 Jul 2007 02:45:10 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1339</guid>
					<description>&lt;p&gt;IgoS said on June 21, 2007:&lt;/p&gt;

&lt;p&gt;I want to create something like http://www.ubuntustats.com/. How to create 2 or more spy instances?&lt;/p&gt;

&lt;p&gt;To create more than two instance of spy, from what i have tried you will have to make a copy of the current spy.js, rename every instance of SPY to something else as it is a variable eg SPY2,&lt;/p&gt;

&lt;p&gt;so in the new file you will have
var spy2Running = 1; instead of
var spyRunning = 1;&lt;/p&gt;

&lt;p&gt;same goes for other variables&lt;/p&gt;

&lt;p&gt;spy2.last, spy2.epoch, spy2.json etc&lt;/p&gt;

&lt;p&gt;make another copy of out.php to out2.php for example. change the content of the divs so into something different.&lt;/p&gt;

&lt;p&gt;also create a new copy of test.php to test2.php or any name. In the new file test2.php, call the jquery and instead of calling spy.js now call spy2.js&lt;/p&gt;

&lt;p&gt;In the function section where you have&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;   $('#spyContainer').spy({'ajax': 'out.php' });
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;change the variable names and id to match what u previously named your variables in spy2.js and also make a new id for the div tag e.g.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;   $('#spyContainer2').spy2({'ajax': 'out2.php' });
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;finally create a new php demo.php file to call both test.php and test2.php&lt;/p&gt;

&lt;p&gt;to make it look like ubuntulivestats, instead of placing in a table you will want to place it in draggable divs.&lt;/p&gt;

&lt;p&gt;miniajax.com. ajaxian.com u can find tutorials on draggable divs&lt;/p&gt;

&lt;p&gt;good luck&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>IgoS said on June 21, 2007:</p>
<p>I want to create something like http://www.ubuntustats.com/. How to create 2 or more spy instances?</p>
<p>To create more than two instance of spy, from what i have tried you will have to make a copy of the current spy.js, rename every instance of SPY to something else as it is a variable eg SPY2,</p>
<p>so in the new file you will have<br />
var spy2Running = 1; instead of<br />
var spyRunning = 1;</p>
<p>same goes for other variables</p>
<p>spy2.last, spy2.epoch, spy2.json etc</p>
<p>make another copy of out.php to out2.php for example. change the content of the divs so into something different.</p>
<p>also create a new copy of test.php to test2.php or any name. In the new file test2.php, call the jquery and instead of calling spy.js now call spy2.js</p>
<p>In the function section where you have</p>
<pre><code>   $('#spyContainer').spy({'ajax': 'out.php' });
</code></pre>
</p>
<p>change the variable names and id to match what u previously named your variables in spy2.js and also make a new id for the div tag e.g.</p>
<pre><code>   $('#spyContainer2').spy2({'ajax': 'out2.php' });
</code></pre>
</p>
<p>finally create a new php demo.php file to call both test.php and test2.php</p>
<p>to make it look like ubuntulivestats, instead of placing in a table you will want to place it in draggable divs.</p>
<p>miniajax.com. ajaxian.com u can find tutorials on draggable divs</p>
<p>good luck</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Brutally honest opinion request - Webmaster Forum - SEO &#38; Other webmaster related discussions</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1680</link>
		<author>Brutally honest opinion request - Webmaster Forum - SEO &#38; Other webmaster related discussions</author>
		<pubDate>Sun, 12 Aug 2007 07:37:38 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1680</guid>
					<description>&lt;p&gt;[...] more space at the desktop.  And a technical information about the gradually fading. I implemented a spy ajax script similar to the digg used. If you would like to use it anywhere let me know and i will happily [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] more space at the desktop.  And a technical information about the gradually fading. I implemented a spy ajax script similar to the digg used. If you would like to use it anywhere let me know and i will happily [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ajaxflakes.com - code sample library, download and demo these funky ajax and dhtml scripts</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1993</link>
		<author>Ajaxflakes.com - code sample library, download and demo these funky ajax and dhtml scripts</author>
		<pubDate>Thu, 23 Aug 2007 21:07:04 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-1993</guid>
					<description>&lt;p&gt;[...] Digg - like fade-in-out script - Demo [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Digg - like fade-in-out script - Demo [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Stelios</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-2166</link>
		<author>Stelios</author>
		<pubDate>Wed, 29 Aug 2007 22:41:24 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-2166</guid>
					<description>&lt;p&gt;any live examples? the one on arsenal mania i dont think so is working!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>any live examples? the one on arsenal mania i dont think so is working!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: mike</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-4687</link>
		<author>mike</author>
		<pubDate>Mon, 29 Oct 2007 23:18:00 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-4687</guid>
					<description>&lt;p&gt;I've made a diff against spy 1.4 to make sure it will not allow multiple spy instances on the page with the same object ID. If .spy() is called again, the old timer will be cleared and the new one (with new settings) will take over. It should still allow multiple &lt;em&gt;different&lt;/em&gt; spies on the same page, just not two of the same thing (I was having an issue  where it would keep reloading the same ID over and over because of a .click() event changing the configuration settings) - this allows real-time changing of the settings (say, the AJAX URL) without spawning additional timers.&lt;/p&gt;

&lt;p&gt;I also added in a Math.random() parameter to force reloads every call and changed $.post to $.get - those can easily be removed if desired. :) Essentially I just create an array that has a list of all the spy IDs that are called, if a dupe is detected, the old timer is disabled and the new one starts like normal. Oh, and I changed the epoch behavior, for some reason on my browser it wasn't reporting the right time. I don't see why it needed the spy.epoch calculation at all.&lt;/p&gt;

&lt;p&gt;Here's my blog post about it with a link to the patch file:
http://michaelshadle.com/2007/10/29/jquery-spy-improvements/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I've made a diff against spy 1.4 to make sure it will not allow multiple spy instances on the page with the same object ID. If .spy() is called again, the old timer will be cleared and the new one (with new settings) will take over. It should still allow multiple <em>different</em> spies on the same page, just not two of the same thing (I was having an issue  where it would keep reloading the same ID over and over because of a .click() event changing the configuration settings) - this allows real-time changing of the settings (say, the AJAX URL) without spawning additional timers.</p>
<p>I also added in a Math.random() parameter to force reloads every call and changed $.post to $.get - those can easily be removed if desired. :) Essentially I just create an array that has a list of all the spy IDs that are called, if a dupe is detected, the old timer is disabled and the new one starts like normal. Oh, and I changed the epoch behavior, for some reason on my browser it wasn't reporting the right time. I don't see why it needed the spy.epoch calculation at all.</p>
<p>Here's my blog post about it with a link to the patch file:<br />
http://michaelshadle.com/2007/10/29/jquery-spy-improvements/</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: My World ~ Gran Impetu</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5536</link>
		<author>My World ~ Gran Impetu</author>
		<pubDate>Thu, 15 Nov 2007 01:14:48 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5536</guid>
					<description>&lt;p&gt;[...] agregue otras fuentes, pero por ahora eso me parece suficiente. De paso le agradezco a Simplepie y jQuery Spy que me facilitaron el trabajo. Sinceramente y luego de pensar mucho no le encuentro una [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] agregue otras fuentes, pero por ahora eso me parece suficiente. De paso le agradezco a Simplepie y jQuery Spy que me facilitaron el trabajo. Sinceramente y luego de pensar mucho no le encuentro una [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Utilidades en AJAX &#124; 37pixels Blog</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5568</link>
		<author>Utilidades en AJAX &#124; 37pixels Blog</author>
		<pubDate>Thu, 15 Nov 2007 14:06:04 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5568</guid>
					<description>&lt;p&gt;[...] se actualicen contenidos &#8220;en vivo&#8221;, al estilo de la fisgona de Menéame, podemos usar jQuery Spy. Por otro, para mostrar sugerencias con datos existentes al completar un input, tenemos [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] se actualicen contenidos &#8220;en vivo&#8221;, al estilo de la fisgona de Menéame, podemos usar jQuery Spy. Por otro, para mostrar sugerencias con datos existentes al completar un input, tenemos [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Kenyansoul</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5680</link>
		<author>Kenyansoul</author>
		<pubDate>Sat, 17 Nov 2007 17:58:30 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5680</guid>
					<description>&lt;p&gt;How can you implement pause on mouse over?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How can you implement pause on mouse over?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: 240 plugins jquery : sastgroup.com</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5880</link>
		<author>240 plugins jquery : sastgroup.com</author>
		<pubDate>Wed, 21 Nov 2007 15:15:38 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-5880</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. elementReady. FOnte: [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. elementReady. FOnte: [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Popular Ajax Scripts &#171; Fungarden&#8217;s Weblog</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-6580</link>
		<author>Popular Ajax Scripts &#171; Fungarden&#8217;s Weblog</author>
		<pubDate>Thu, 06 Dec 2007 15:03:50 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-6580</guid>
					<description>&lt;p&gt;[...] Digg - like spy script - Demo [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Digg - like spy script - Demo [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: chinatian &#187; jQuery插件超级多</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-6582</link>
		<author>chinatian &#187; jQuery插件超级多</author>
		<pubDate>Thu, 06 Dec 2007 15:31:54 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-6582</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Sven</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-6713</link>
		<author>Sven</author>
		<pubDate>Sun, 09 Dec 2007 23:53:47 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-6713</guid>
					<description>&lt;p&gt;Thank you, really great Script ...
I've got one problem, i tried to use a ajax-loader gif, cause my SPY starts with an empty div.&lt;/p&gt;

&lt;p&gt;I tried to show thy gif with document.getElementById("xyz").innerHTML but it didnt work ... Can anyone help me ?&lt;/p&gt;

&lt;p&gt;Sorry for my English ;-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you, really great Script ...<br />
I've got one problem, i tried to use a ajax-loader gif, cause my SPY starts with an empty div.</p>
<p>I tried to show thy gif with document.getElementById("xyz").innerHTML but it didnt work ... Can anyone help me ?</p>
<p>Sorry for my English ;-)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: CodeRobots &#8217;s Blog &#187; Blog Archive &#187; 240多个jQuery插件</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7015</link>
		<author>CodeRobots &#8217;s Blog &#187; Blog Archive &#187; 240多个jQuery插件</author>
		<pubDate>Mon, 17 Dec 2007 03:58:25 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7015</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Digg like spy script - 4fifteendesign.com</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7315</link>
		<author>Digg like spy script - 4fifteendesign.com</author>
		<pubDate>Mon, 24 Dec 2007 07:46:41 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7315</guid>
					<description>&lt;p&gt;[...] Demo [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Demo [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Enjoy what you have! &#187; Blog Archive &#187; 强烈推荐：240多个jQuery插件</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7445</link>
		<author>Enjoy what you have! &#187; Blog Archive &#187; 强烈推荐：240多个jQuery插件</author>
		<pubDate>Thu, 27 Dec 2007 03:39:03 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7445</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Diversos Links para desenvoledores de javascript &#124; Blog do teo</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7664</link>
		<author>Diversos Links para desenvoledores de javascript &#124; Blog do teo</author>
		<pubDate>Tue, 01 Jan 2008 12:35:56 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7664</guid>
					<description>&lt;p&gt;[...] jQuery Spy - awesome plugin. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] jQuery Spy - awesome plugin. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jquery的N个插件 &#187; NeiLyi.cn [尼尔.易] - PHP,Jquery,代码,点滴</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7705</link>
		<author>Jquery的N个插件 &#187; NeiLyi.cn [尼尔.易] - PHP,Jquery,代码,点滴</author>
		<pubDate>Wed, 02 Jan 2008 10:09:55 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7705</guid>
					<description>&lt;p&gt;[...] serverCookieJar.jQuery autoSave.jQuery Puffer.jQuery iFrame Plugin.Cookie Plugin for jQuery.jQuery Spy - awesome plugin.Effect Delay Trick.jQuick - a quick tag creator for [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar.jQuery autoSave.jQuery Puffer.jQuery iFrame Plugin.Cookie Plugin for jQuery.jQuery Spy - awesome plugin.Effect Delay Trick.jQuick - a quick tag creator for [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Webmaster 38 &#187; Blog Archive &#187; jQuery Spy at ajax scripts compound</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7787</link>
		<author>Webmaster 38 &#187; Blog Archive &#187; jQuery Spy at ajax scripts compound</author>
		<pubDate>Fri, 04 Jan 2008 02:49:01 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7787</guid>
					<description>&lt;p&gt;[...] jQuery Spy [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] jQuery Spy [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: jQuery Spy - Dig Like Script by Ajax &#124; Ajax demonstration</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7798</link>
		<author>jQuery Spy - Dig Like Script by Ajax &#124; Ajax demonstration</author>
		<pubDate>Fri, 04 Jan 2008 10:41:12 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-7798</guid>
					<description>&lt;p&gt;[...] jQuery Spy - Dig Like Script by Ajax Demo [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] jQuery Spy - Dig Like Script by Ajax Demo [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bedava ajax uygulamaları : EYLOS</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8211</link>
		<author>Bedava ajax uygulamaları : EYLOS</author>
		<pubDate>Sun, 13 Jan 2008 12:38:22 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8211</guid>
					<description>&lt;p&gt;[...] script ile hazırlanmış ajax pop-up penceresi. Google, yahoo, koders arama sitelerini açıyor. Digg like spy scrip Meşhur digg benzeri site hareketlerini gösterem güzel bir ajax. &#8220;demo&#8221;  Bubble [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] script ile hazırlanmış ajax pop-up penceresi. Google, yahoo, koders arama sitelerini açıyor. Digg like spy scrip Meşhur digg benzeri site hareketlerini gösterem güzel bir ajax. &#8220;demo&#8221;  Bubble [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jason Salas</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8561</link>
		<author>Jason Salas</author>
		<pubDate>Tue, 22 Jan 2008 06:19:34 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8561</guid>
					<description>&lt;p&gt;Hi Remy,&lt;/p&gt;

&lt;p&gt;Great work.  Above, you mentioned that to give the script more of a realtime effect, you'd need to do polling to bring in fresh data according to some interval.  The problem, might appear to be t he CPU cycles and RAM allocated for long-running scripts with repeated AJAX remote calls.&lt;/p&gt;

&lt;p&gt;Nonetheless, could you add-in a property that would allow for programmatic polling?  Maybe something like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var o = {
        limit: (settings.limit &#124;&#124; 10),
        fadeLast: (settings.fadeLast &#124;&#124; 5),
        ajax: settings.ajax,
        timeout: (settings.timeout &#124;&#124; 3000),
                poll: (settings.poll &#124;&#124; 120000)   // refresh the data every 2 minutes
               // ....more code here&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Thanks!
jason&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Remy,</p>
<p>Great work.  Above, you mentioned that to give the script more of a realtime effect, you'd need to do polling to bring in fresh data according to some interval.  The problem, might appear to be t he CPU cycles and RAM allocated for long-running scripts with repeated AJAX remote calls.</p>
<p>Nonetheless, could you add-in a property that would allow for programmatic polling?  Maybe something like:</p>
<pre><code>var o = {
        limit: (settings.limit || 10),
        fadeLast: (settings.fadeLast || 5),
        ajax: settings.ajax,
        timeout: (settings.timeout || 3000),
                poll: (settings.poll || 120000)   // refresh the data every 2 minutes
               // ....more code here</code></pre>
<p>Thanks!<br />
jason</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jason Salas</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8563</link>
		<author>Jason Salas</author>
		<pubDate>Tue, 22 Jan 2008 06:49:58 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8563</guid>
					<description>&lt;p&gt;A-ha...I just noticed that AJAX calls through Spy are made automatically after the dataset iterates through all the members of the collection.  This is a nice touch, but I still think a polling option would be helpful, too.  :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A-ha...I just noticed that AJAX calls through Spy are made automatically after the dataset iterates through all the members of the collection.  This is a nice touch, but I still think a polling option would be helpful, too.  :-)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: 强烈推荐：240多个jQuery插件</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8734</link>
		<author>强烈推荐：240多个jQuery插件</author>
		<pubDate>Fri, 25 Jan 2008 12:37:08 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-8734</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ali A. Akbar</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9026</link>
		<author>Ali A. Akbar</author>
		<pubDate>Wed, 30 Jan 2008 19:31:25 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9026</guid>
					<description>&lt;p&gt;Has anyone got this working with RSS yet?&lt;/p&gt;

&lt;p&gt;Can't we just combine it with LastRSS and let it feed from there?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Has anyone got this working with RSS yet?</p>
<p>Can't we just combine it with LastRSS and let it feed from there?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Cesar Prieto</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9037</link>
		<author>Cesar Prieto</author>
		<pubDate>Thu, 31 Jan 2008 01:20:43 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9037</guid>
					<description>&lt;p&gt;Hi, from Spain, your project looks fantastic, thanks for sharing, my question:
I only work with ASP not .NET, how to adapt the code for work with my project. The project is a website for online auction where all the user can see on real-time all the bids from other users, normally auctions work only for one hour each.
Thanks, and great job.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, from Spain, your project looks fantastic, thanks for sharing, my question:<br />
I only work with ASP not .NET, how to adapt the code for work with my project. The project is a website for online auction where all the user can see on real-time all the bids from other users, normally auctions work only for one hour each.<br />
Thanks, and great job.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bedava Ajax Uygulamaları - Semih YAVUZ</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9326</link>
		<author>Bedava Ajax Uygulamaları - Semih YAVUZ</author>
		<pubDate>Tue, 05 Feb 2008 10:01:27 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9326</guid>
					<description>&lt;p&gt;[...] script ile hazırlanmış ajax pop-up penceresi. Google, yahoo, koders arama sitelerini açıyor. Digg like spy scrip Meşhur digg benzeri site hareketlerini gösterem güzel bir ajax. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] script ile hazırlanmış ajax pop-up penceresi. Google, yahoo, koders arama sitelerini açıyor. Digg like spy scrip Meşhur digg benzeri site hareketlerini gösterem güzel bir ajax. [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Jacques-Louis</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9535</link>
		<author>David Jacques-Louis</author>
		<pubDate>Sat, 09 Feb 2008 03:58:46 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9535</guid>
					<description>&lt;p&gt;Great. Need more demos&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great. Need more demos</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: LongWay's Blog &#187; Blog Archive 精彩的jQuery插件</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9776</link>
		<author>LongWay's Blog &#187; Blog Archive 精彩的jQuery插件</author>
		<pubDate>Wed, 13 Feb 2008 06:53:32 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-9776</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. elementReady. 1634     [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. elementReady. 1634     [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-10285</link>
		<author>Remy Sharp</author>
		<pubDate>Tue, 26 Feb 2008 12:16:24 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-10285</guid>
					<description>&lt;p&gt;@Ali A. Akbar - I'm pretty sure you should be able to combine it with &lt;a href="http://code.google.com/apis/ajaxfeeds/" rel="nofollow"&gt;Google's feed API&lt;/a&gt; - then you could have quite a nice effect.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Ali A. Akbar - I'm pretty sure you should be able to combine it with <a href="http://code.google.com/apis/ajaxfeeds/" rel="nofollow">Google's feed API</a> - then you could have quite a nice effect.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Luiz</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-10991</link>
		<author>Luiz</author>
		<pubDate>Tue, 11 Mar 2008 12:34:04 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-10991</guid>
					<description>&lt;p&gt;Remy,&lt;/p&gt;

&lt;p&gt;What your suggestion about SQL statements with timestamp ?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Remy,</p>
<p>What your suggestion about SQL statements with timestamp ?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Luiz</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-10994</link>
		<author>Luiz</author>
		<pubDate>Tue, 11 Mar 2008 12:43:41 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-10994</guid>
					<description>&lt;p&gt;Remy,&lt;/p&gt;

&lt;p&gt;The fadeIn/last using json dosen't work. Because?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Remy,</p>
<p>The fadeIn/last using json dosen't work. Because?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ajax und kostenlose scripts mit demo &#171; Ajaxscriptsguide&#8217;s Weblog</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11177</link>
		<author>Ajax und kostenlose scripts mit demo &#171; Ajaxscriptsguide&#8217;s Weblog</author>
		<pubDate>Fri, 14 Mar 2008 12:32:58 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11177</guid>
					<description>&lt;p&gt;[...] Digg - like spy script - Demo [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Digg - like spy script - Demo [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: joe2</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11335</link>
		<author>joe2</author>
		<pubDate>Mon, 17 Mar 2008 14:14:18 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11335</guid>
					<description>&lt;p&gt;Has anyone got this working with RSS yet?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Has anyone got this working with RSS yet?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: joe2</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11336</link>
		<author>joe2</author>
		<pubDate>Mon, 17 Mar 2008 14:15:08 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11336</guid>
					<description>&lt;p&gt;How can you implement pause on mouse over?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How can you implement pause on mouse over?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Remy Sharp</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11338</link>
		<author>Remy Sharp</author>
		<pubDate>Mon, 17 Mar 2008 14:29:28 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11338</guid>
					<description>&lt;p&gt;@joe2 - for RSS feeds, I can suggest pushing your feed through &lt;a href="http://pipes.yahoo.com" rel="nofollow"&gt; http://pipes.yahoo.com&lt;/a&gt; to have it converted to JSON - then add your own parser in the spy.&lt;/p&gt;

&lt;p&gt;On your second question - try adding something like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$('#spyContainer').mouseover(pauseSpy).mouseout(playSpy);&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>@joe2 - for RSS feeds, I can suggest pushing your feed through <a href="http://pipes.yahoo.com" rel="nofollow"> http://pipes.yahoo.com</a> to have it converted to JSON - then add your own parser in the spy.</p>
<p>On your second question - try adding something like this:</p>
<pre><code>$('#spyContainer').mouseover(pauseSpy).mouseout(playSpy);</code></pre>
]]></content:encoded>
				</item>
	<item>
		<title>By: 百变贝贝 &#187; 上百个让你事半功倍的jquery插件</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11452</link>
		<author>百变贝贝 &#187; 上百个让你事半功倍的jquery插件</author>
		<pubDate>Thu, 20 Mar 2008 01:31:47 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11452</guid>
					<description>&lt;p&gt;[...] jQuery serverCookieJar jQuery autoSave jQuery Puffer jQuery iFrame Plugin Cookie Plugin for jQuery jQuery Spy - awesome plugin Effect Delay Trick jQuick - a quick tag creator for jQuery Metaobjects elementReady  [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] jQuery serverCookieJar jQuery autoSave jQuery Puffer jQuery iFrame Plugin Cookie Plugin for jQuery jQuery Spy - awesome plugin Effect Delay Trick jQuick - a quick tag creator for jQuery Metaobjects elementReady  [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Owen</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11480</link>
		<author>Owen</author>
		<pubDate>Thu, 20 Mar 2008 15:49:44 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11480</guid>
					<description>&lt;p&gt;If anyone is having a problem with JSON not working in IE, make sure your JSON code it perfect or it will not work. I got stuck at that for a few days.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If anyone is having a problem with JSON not working in IE, make sure your JSON code it perfect or it will not work. I got stuck at that for a few days.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Extensible CSS Interface III: Adding Ajax Interactivity &#124; Notes Design</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11591</link>
		<author>Extensible CSS Interface III: Adding Ajax Interactivity &#124; Notes Design</author>
		<pubDate>Sat, 22 Mar 2008 20:33:32 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-11591</guid>
					<description>&lt;p&gt;[...] activity.php for the Latest Community Activity section, which functions like Digg Spy with the help of jQuery Spy [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] activity.php for the Latest Community Activity section, which functions like Digg Spy with the help of jQuery Spy [...]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: ryancoughlin</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12079</link>
		<author>ryancoughlin</author>
		<pubDate>Thu, 03 Apr 2008 00:55:54 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12079</guid>
					<description>&lt;p&gt;Hey, I have been reading these comments and can't seem to figure out why my code isnt working. Remy do you hae any ideas?&lt;/p&gt;

&lt;p&gt;http://rksdesignstudios.com/magnet/spyTest.php&lt;/p&gt;

&lt;p&gt;That is my test page that I am trying to get it working on, it is setting the display to none if you view the generated source code.&lt;/p&gt;

&lt;p&gt;I am not sure why, I have read through your doc's. Anything I can do to it?&lt;/p&gt;

&lt;p&gt;Thanks a ton! Great work as well :)&lt;/p&gt;

&lt;p&gt;Ryan Coughlin&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey, I have been reading these comments and can't seem to figure out why my code isnt working. Remy do you hae any ideas?</p>
<p>http://rksdesignstudios.com/magnet/spyTest.php</p>
<p>That is my test page that I am trying to get it working on, it is setting the display to none if you view the generated source code.</p>
<p>I am not sure why, I have read through your doc's. Anything I can do to it?</p>
<p>Thanks a ton! Great work as well :)</p>
<p>Ryan Coughlin</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: ryancoughlin</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12080</link>
		<author>ryancoughlin</author>
		<pubDate>Thu, 03 Apr 2008 00:56:27 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12080</guid>
					<description>&lt;p&gt;If you need any of my PHP to look at if thats the case, let me know!&lt;/p&gt;

&lt;p&gt;Thanks again,&lt;/p&gt;

&lt;p&gt;Ryan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If you need any of my PHP to look at if thats the case, let me know!</p>
<p>Thanks again,</p>
<p>Ryan</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Owen McAteer</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12233</link>
		<author>Owen McAteer</author>
		<pubDate>Mon, 07 Apr 2008 10:38:16 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12233</guid>
					<description>&lt;p&gt;In response to Luiz question about fadeIn not working for JSON, you need to give your custom div the style property of "display:none"&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In response to Luiz question about fadeIn not working for JSON, you need to give your custom div the style property of "display:none"</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: 240 adet jquery ekelntisi - Volkan Şentürk</title>
		<link>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12307</link>
		<author>240 adet jquery ekelntisi - Volkan Şentürk</author>
		<pubDate>Wed, 09 Apr 2008 10:07:02 +0000</pubDate>
		<guid>http://leftlogic.com/lounge/articles/jquery_spy2/#comment-12307</guid>
					<description>&lt;p&gt;[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. elementReady.  Tags: [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] serverCookieJar. jQuery autoSave. jQuery Puffer. jQuery iFrame Plugin. Cookie Plugin for jQuery. jQuery Spy - awesome plugin. Effect Delay Trick. jQuick - a quick tag creator for jQuery. Metaobjects. elementReady.  Tags: [...]</p>
]]></content:encoded>
				</item>
</channel>
</rss>
