<?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: AjaxTwits &#8211; Load Tweets on your website with AJAX</title>
	<atom:link href="http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/</link>
	<description>PHP, CSS, xhtml, javascript / jquery tutorials</description>
	<lastBuildDate>Sat, 18 Feb 2012 11:01:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Micael</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-99352</link>
		<dc:creator>Micael</dc:creator>
		<pubDate>Wed, 30 Nov 2011 15:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-99352</guid>
		<description>I had a problem when I just wanted 1 tweet, the &quot;loading tweet&quot; just flashed by.

I Solved it like this:
In AjaxTwits.js

Replacing the For Loop with:

if(itemCount) {
					for (var i = 0; i &lt; itemCount; i++) {
						var li = document.createElement(&quot;LI&quot;);
						li.className = &quot;twitter-item&quot;;
						
							var profilePic = document.createElement(&quot;A&quot;);
							profilePic.href = &quot;http://www.twitter.com/&quot; + ans.item[i].user;
							
								var img = document.createElement(&quot;IMG&quot;);
								img.src = ans.item[i].avatar;
							
							profilePic.appendChild(img);
							
						li.appendChild(profilePic);
						
						var message = hyperlinks(ans.item[i].description);
						message = twitter_users(message);
						
						li.innerHTML += message;
						
							var br = document.createElement(&quot;BR&quot;);
						
						li.appendChild(br);
							
							var a = document.createElement(&quot;A&quot;);
							a.href = ans.item[i].url;
							a.className = &quot;twitter-link&quot;;
							a.innerHTML = &quot;# posted &quot; + ans.item[i].date;
						
						li.appendChild(a);
						
						twitter.appendChild(li);
					}
				}else{
					console.log(ans.item.user);
					var li = document.createElement(&quot;LI&quot;);
					li.className = &quot;twitter-item&quot;;
						
					var profilePic = document.createElement(&quot;A&quot;);
					profilePic.href = &quot;http://www.twitter.com/&quot; + ans.item.user;
							
					var img = document.createElement(&quot;IMG&quot;);
					img.src = ans.item.avatar;
							
					profilePic.appendChild(img);
							
					li.appendChild(profilePic);
						
					var message = hyperlinks(ans.item.description);
					message = twitter_users(message);
						
					li.innerHTML += message;
						
					var br = document.createElement(&quot;BR&quot;);
						
					li.appendChild(br);
							
					var a = document.createElement(&quot;A&quot;);
					a.href = ans.item.url;
					a.className = &quot;twitter-link&quot;;
					a.innerHTML = &quot;# posted &quot; + ans.item.date;
						
					li.appendChild(a);
						
					twitter.appendChild(li);
				}</description>
		<content:encoded><![CDATA[<p>I had a problem when I just wanted 1 tweet, the &#8220;loading tweet&#8221; just flashed by.</p>
<p>I Solved it like this:<br />
In AjaxTwits.js</p>
<p>Replacing the For Loop with:</p>
<p>if(itemCount) {<br />
					for (var i = 0; i &lt; itemCount; i++) {<br />
						var li = document.createElement(&quot;LI&quot;);<br />
						li.className = &quot;twitter-item&quot;;</p>
<p>							var profilePic = document.createElement(&quot;A&quot;);<br />
							profilePic.href = &quot;<a href="http://www.twitter.com/&#038;quot" rel="nofollow">http://www.twitter.com/&#038;quot</a>; + ans.item[i].user;</p>
<p>								var img = document.createElement(&quot;IMG&quot;);<br />
								img.src = ans.item[i].avatar;</p>
<p>							profilePic.appendChild(img);</p>
<p>						li.appendChild(profilePic);</p>
<p>						var message = hyperlinks(ans.item[i].description);<br />
						message = twitter_users(message);</p>
<p>						li.innerHTML += message;</p>
<p>							var br = document.createElement(&quot;BR&quot;);</p>
<p>						li.appendChild(br);</p>
<p>							var a = document.createElement(&quot;A&quot;);<br />
							a.href = ans.item[i].url;<br />
							a.className = &quot;twitter-link&quot;;<br />
							a.innerHTML = &quot;# posted &quot; + ans.item[i].date;</p>
<p>						li.appendChild(a);</p>
<p>						twitter.appendChild(li);<br />
					}<br />
				}else{<br />
					console.log(ans.item.user);<br />
					var li = document.createElement(&quot;LI&quot;);<br />
					li.className = &quot;twitter-item&quot;;</p>
<p>					var profilePic = document.createElement(&quot;A&quot;);<br />
					profilePic.href = &quot;<a href="http://www.twitter.com/&#038;quot" rel="nofollow">http://www.twitter.com/&#038;quot</a>; + ans.item.user;</p>
<p>					var img = document.createElement(&quot;IMG&quot;);<br />
					img.src = ans.item.avatar;</p>
<p>					profilePic.appendChild(img);</p>
<p>					li.appendChild(profilePic);</p>
<p>					var message = hyperlinks(ans.item.description);<br />
					message = twitter_users(message);</p>
<p>					li.innerHTML += message;</p>
<p>					var br = document.createElement(&quot;BR&quot;);</p>
<p>					li.appendChild(br);</p>
<p>					var a = document.createElement(&quot;A&quot;);<br />
					a.href = ans.item.url;<br />
					a.className = &quot;twitter-link&quot;;<br />
					a.innerHTML = &quot;# posted &quot; + ans.item.date;</p>
<p>					li.appendChild(a);</p>
<p>					twitter.appendChild(li);<br />
				}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glitch hop</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-62048</link>
		<dc:creator>glitch hop</dc:creator>
		<pubDate>Tue, 20 Sep 2011 21:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-62048</guid>
		<description>Maybe i&#039;m coming in on this a bit late, but i&#039;m having the same issue just says &quot;loading tweets&quot; even in your demo as well. is there a solution to this? or is this project dead?</description>
		<content:encoded><![CDATA[<p>Maybe i&#8217;m coming in on this a bit late, but i&#8217;m having the same issue just says &#8220;loading tweets&#8221; even in your demo as well. is there a solution to this? or is this project dead?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lkasj</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-19460</link>
		<dc:creator>lkasj</dc:creator>
		<pubDate>Tue, 22 Mar 2011 02:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-19460</guid>
		<description>Loading Tweets... that&#039;s all it says, even in your demo HA</description>
		<content:encoded><![CDATA[<p>Loading Tweets&#8230; that&#8217;s all it says, even in your demo HA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikram</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-17083</link>
		<dc:creator>vikram</dc:creator>
		<pubDate>Sun, 13 Feb 2011 22:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-17083</guid>
		<description>I am using Ajax Twits loading in my website. 
I hosting my website first on 127.0.0.1 just for testing. 
when i am checking my twits it just saying &quot;Loading tweets&quot;. 

please help to solve it...</description>
		<content:encoded><![CDATA[<p>I am using Ajax Twits loading in my website.<br />
I hosting my website first on 127.0.0.1 just for testing.<br />
when i am checking my twits it just saying &#8220;Loading tweets&#8221;. </p>
<p>please help to solve it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-16259</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 28 Jan 2011 17:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-16259</guid>
		<description>hey, im having troubles :(
just getting &quot;loading tweets&quot;
all i can think of is JSON isnt working, but not too sure how i can test that?

great app though!!!</description>
		<content:encoded><![CDATA[<p>hey, im having troubles :(<br />
just getting &#8220;loading tweets&#8221;<br />
all i can think of is JSON isnt working, but not too sure how i can test that?</p>
<p>great app though!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gagi</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-11720</link>
		<dc:creator>gagi</dc:creator>
		<pubDate>Wed, 22 Sep 2010 14:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-11720</guid>
		<description>Hi,

I have the same problem as some here. I only get Loading tweets in the black to see. I have tried everything but without success. Can you help me? 
Thank you and kind regards. Gagi</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have the same problem as some here. I only get Loading tweets in the black to see. I have tried everything but without success. Can you help me?<br />
Thank you and kind regards. Gagi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joao</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-11303</link>
		<dc:creator>Joao</dc:creator>
		<pubDate>Sat, 28 Aug 2010 16:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-11303</guid>
		<description>Hey gaya!

I&#039;m trying to feed 1 tweet only, but when i change the values &quot;item Count = 1;&quot; nothing appears on the page besides a sudden flash of &quot;Loading Tweets&quot;.

Can you help me out?

Thanks</description>
		<content:encoded><![CDATA[<p>Hey gaya!</p>
<p>I&#8217;m trying to feed 1 tweet only, but when i change the values &#8220;item Count = 1;&#8221; nothing appears on the page besides a sudden flash of &#8220;Loading Tweets&#8221;.</p>
<p>Can you help me out?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ToDo</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-3/#comment-9752</link>
		<dc:creator>ToDo</dc:creator>
		<pubDate>Thu, 03 Jun 2010 11:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-9752</guid>
		<description>[...] http://www.gayadesign.com/  Entradas relacionadas [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.gayadesign.com/" rel="nofollow">http://www.gayadesign.com/</a>  Entradas relacionadas [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-2/#comment-9568</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 25 May 2010 21:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-9568</guid>
		<description>Trying to get this to work, everything works fine in Chrome and FF but in IE I get Unexpected call to method or property access in the scripting due to the lines 

twitter.removeChild(twitterload);
and then
twitter.appendChild(li);</description>
		<content:encoded><![CDATA[<p>Trying to get this to work, everything works fine in Chrome and FF but in IE I get Unexpected call to method or property access in the scripting due to the lines </p>
<p>twitter.removeChild(twitterload);<br />
and then<br />
twitter.appendChild(li);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/comment-page-2/#comment-9009</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Sat, 01 May 2010 07:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gayadesign.com/?p=172#comment-9009</guid>
		<description>I&#039;m also having problems with the script. I started working with it within a drupal mod and it wasn&#039;t working, so I tried the simplest possible implementation with it at the root of a new empty &quot;site&quot; with a single page. 
I&#039;ve tried a ton of different paths for includes, and even making every uri absolute as a last resort. 

It&#039;s a great idea in it&#039;s relative simplicity - I&#039;d love to get the implementation as a Drupal module going. 

I&#039;m running php 5.2.11 with json 1.2.1 and SimpleXML revision 272374 on MAMP.

@Gaya:
Thanks for all the work you have put into this to date.

-jason</description>
		<content:encoded><![CDATA[<p>I&#8217;m also having problems with the script. I started working with it within a drupal mod and it wasn&#8217;t working, so I tried the simplest possible implementation with it at the root of a new empty &#8220;site&#8221; with a single page.<br />
I&#8217;ve tried a ton of different paths for includes, and even making every uri absolute as a last resort. </p>
<p>It&#8217;s a great idea in it&#8217;s relative simplicity &#8211; I&#8217;d love to get the implementation as a Drupal module going. </p>
<p>I&#8217;m running php 5.2.11 with json 1.2.1 and SimpleXML revision 272374 on MAMP.</p>
<p>@Gaya:<br />
Thanks for all the work you have put into this to date.</p>
<p>-jason</p>
]]></content:encoded>
	</item>
</channel>
</rss>

