<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Design Gala &#187; twitter</title>
	<atom:link href="http://designgala.com/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://designgala.com</link>
	<description>Web Usability, Web Technology, User Experience</description>
	<lastBuildDate>Wed, 02 May 2012 03:55:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to Integrate WordPress with Twitter?</title>
		<link>http://designgala.com/how-to-integrate-wordpress-with-twitter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-integrate-wordpress-with-twitter</link>
		<comments>http://designgala.com/how-to-integrate-wordpress-with-twitter/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 18:50:35 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1925</guid>
		<description><![CDATA[By integrating, I mean to say about posting your blog topics and links to twitter status. In other words, it&#8217;s about publishing your wordpress articles as tweets in twitter. I don&#8217;t mean the...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="alignleft size-full wp-image-1927" src="http://www.designgala.com/wp-content/uploads/2010/02/wordpress_TwitterCombo.jpg" alt="" width="550" height="300" /> By integrating, I mean to say about posting your blog topics and links to twitter status. In other words, it&#8217;s about publishing your wordpress articles as tweets in twitter.</p>
<p style="text-align: justify;">I don&#8217;t mean the entire article content coz twitter only allows 140 chars max :) I just mean  publishing your article title and link to twitter.</p>
<p style="text-align: justify;">Here is an <a href="http://wordpress.org/extend/plugins/wp-to-twitter/">awesome wordpress plugi</a>n which lets you post your wordpress article to your twitter status automatically. It&#8217;s called <a href="http://wordpress.org/extend/plugins/wp-to-twitter/">WP to Twitter</a>.</p>
<p style="text-align: justify;">It has very good options to be selected. You can tweet whenever your post is published. Or, even when your post is being edited. You can also tweet whenever your wp pages are published or edited.</p>
<p style="text-align: justify;">The prominent feature I like about this plugin is that it lets you post your wordpress article&#8217;s content as tweet by setting character limit. Moreover, it publishes your wp article tags as hashtags in twitter.</p>
<p style="text-align: justify;">The URL Shortener is always there. You can do with Cli.gs, Bit.ly or use wordpress as url shortener.</p>
<p style="text-align: justify;">This plugin is very beneficial and is a must if you are a twitter user or a twitter fan lik e me :)</p>
<p style="text-align: justify;">Keep blogging and keep tweeting&#8230;</p>
<p style="text-align: justify;">Cheers,</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-integrate-wordpress-with-twitter/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Get Twitter Follower Count in WordPress?</title>
		<link>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-twitter-follower-count-in-wordpress</link>
		<comments>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 13:45:45 +0000</pubDate>
		<dc:creator>Anish Lama</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1832</guid>
		<description><![CDATA[I am neither the first nor the last one that will be writing about placing twitter follower counter in webpage. Though there already exist many widgets anyone can easily use and customize; see...]]></description>
			<content:encoded><![CDATA[<p>I am neither the first nor the last one that will be writing about placing twitter follower counter in webpage. Though there already exist many widgets anyone can easily use and customize; see <a href="http://twittercounter.com/">here</a> and <a href="http://www.widgetbox.com/widget/chris-count-chriscount-on-twitter">here</a>; But those widgets have limited options in terms of color, layout and moreover they have their info attched (somewhere) in widget which does not feels good. Here&#8217;s my attempt on how to get follower count in twitter using PHP.</p>
<p><img class="alignright size-full wp-image-1834" title="twitter pool" src="http://www.designgala.com/wp-content/uploads/2010/02/twitter_pool.jpg" alt="" width="500" /></p>
<p><span id="more-1832"></span></p>
<p><strong>Step 1:</strong><br />
We will create a PHP file; lets say <strong>follower_count.php</strong> or whatever you&#8217;d like to name it. Then simply put following contents in that page.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php
<span style="color: #000088;">$twitter_username</span>	<span style="color: #339933;">=</span>	<span style="color: #0000ff;">'designgala'</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">// please replace it with your twitter username</span>
<span style="color: #000088;">$tw</span>	<span style="color: #339933;">=</span>	get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;total_twitter_followers&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tw</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'lastcheck'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> – <span style="color: #cc66cc;">3600</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 	<span style="color: #000088;">$xml</span>	<span style="color: #339933;">=</span>	<span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://twitter.com/users/show.xml?screen_name='</span><span style="color: #339933;">.</span> <span style="color: #000088;">$twitter_username</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/followers_count&amp;gt;(.*)</span></pre>
</div>
</div>
<p><strong>Explanation:</strong><br />
I used 2 PHP functions <strong><em><a href="http://php.net/manual/en/function.file-get-contents.php">file_get_contents()</a></em></strong> and <em><strong><a href="http://php.net/manual/en/function.preg-match.php">preg_match()</a></strong></em> here. file_get_contents fetches twitter xml file and stores in buffere while preg_match searches followers_count for a match in the buffer returned by earlier function.</p>
<p><strong>Step 2:</strong><br />
Now you can include above file using PHP include like below in any template file.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;follower_count.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre>
</div>
</div>
<p>Thats it. It will show twitter follower count.</p>
<p>[Photo Credit: <a href="http://www.flickr.com/photos/javajunky/4331986096/in/pool-twitter">JavaJunky</a> via Flickr]
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Tweet While Browsing</title>
		<link>http://designgala.com/tweet-while-browsing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tweet-while-browsing</link>
		<comments>http://designgala.com/tweet-while-browsing/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 17:25:10 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=974</guid>
		<description><![CDATA[Scenario: You are browsing the web. You liked a url and wanted to share it, probably on twitter. The old lengthy way: You will open twitter.com, login with you username and password. Open...]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong></p>
<p>You are browsing the web. You liked a url and wanted to share it, probably on twitter.</p>
<p><strong>The old lengthy way:</strong></p>
<p>You will open twitter.com, login with you username and password. Open url shortner like bit.ly and shorten the url you want to share. Then post your tweet with some text and shortened url.</p>
<p><strong>The new and quick way:</strong></p>
<p>You can do the same very easily and quickly. I hope you are using Firefox. So, there is a firefox addon <a href="https://addons.mozilla.org/en-US/firefox/addon/11423">Shorten url </a> which will shorten the url and display the result in location bar. It supports more than 100 URL shorteners.</p>
<p>You can always remain logged in in twitter with the firefox addon <a href="https://addons.mozilla.org/en-US/firefox/addon/5081">Echofon</a>. Echofon adds a tiny status bar icon that notifies you when your friends post tweets. You can also view updates in a timeline and post your own tweets.</p>
<p>So, it&#8217;s just simple. Shorten any url with <a href="https://addons.mozilla.org/en-US/firefox/addon/11423">Shorten url</a> ff addon. And share it adding some text with <a href="https://addons.mozilla.org/en-US/firefox/addon/5081">Echofon </a>ff addon.</p>
<p>Enjoy tweeting!</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/tweet-while-browsing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tweet while blogging</title>
		<link>http://designgala.com/tweet-while-blogging/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tweet-while-blogging</link>
		<comments>http://designgala.com/tweet-while-blogging/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 19:49:41 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=920</guid>
		<description><![CDATA[Twitterup is a very flexible wordpress plugin which lets you to tweet while you are blogging. You will be tweeting automatically while you are using your wp blog. Twitterup will post tweet for...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.designgala.com/wp-content/uploads/2010/01/tweet_blogging.jpg" alt="tweet blogging" title="tweet blogging" width="450" height="300" class="alignright size-full wp-image-928" /></p>
<div style="clear:both;"></div>
<p><a title="Twitterup" href="http://wordpress.org/extend/plugins/twittrup/" target="_blank">Twitterup</a> is a very flexible wordpress plugin which lets you to tweet while you are blogging. You will be tweeting automatically while you are using your wp blog.</p>
<p><a title="Twitterup" href="http://wordpress.org/extend/plugins/twittrup/" target="_blank">Twitterup</a> will post tweet for you when you create a draft, edit draft, publish draft and publish post. You can customize these options as well for tweeting.</p>
<p>The link you provide for your tweet can be shorted by services like tinyurl.com, is.gd, bit.ly or snurl.com</p>
<p>This is a great plugin to connect your wordpress blog/site with your twitter account.</p>
<p>Image Credit: <a href="http://www.flickr.com/photos/joeteixido/3013639861/">joeteixido</a> via <a href="http://flickr.com/">Flickr</a>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/tweet-while-blogging/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to insert twitter updates in your webpage</title>
		<link>http://designgala.com/how-to-insert-twitter-updates-in-your-webpage/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-insert-twitter-updates-in-your-webpage</link>
		<comments>http://designgala.com/how-to-insert-twitter-updates-in-your-webpage/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 15:10:08 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=582</guid>
		<description><![CDATA[Twitter; now-a-days, is the most familiar term in the web. Different kinds of people use &#8216;twitter&#8217; for different purpose. Some people use to stay connected with friends while other use it to share...]]></description>
			<content:encoded><![CDATA[<p>Twitter; now-a-days, is the most familiar term in the web. Different kinds of people use &#8216;twitter&#8217; for different purpose. Some people use  to stay connected with friends while other use it to share new ideas and innovations. It is  so popular that the news which we cannot get on the television and radios can be seen in the twitter. We also may want to put our twitter updates on our webpage. </p>
<p>For this, Twitter offers an API which you can use to pull information from twitter for your own uses. Even easier, they offer a little Javascript widget which automatically uses this API and returns simple HTML of your recent tweets.</p>
<p>Here are some simple steps for this.<br />
<img src="http://www.designgala.com/wp-content/uploads/2009/11/twit.jpg" alt="twit" title="twit" width="450" height="250" class="alignnone size-full wp-image-639" /><br />
First  logon to your Twitter account and go to your homepage. Click the “Goodies” which is at the bottom of your twitter page like given below.</p>
<p><img src="http://www.designgala.com/wp-content/uploads/2009/11/sel_god.jpg" alt="sel_god" title="sel_god" width="415" height="217" class="alignnone size-full wp-image-584" /></p>
<p>Then you will see the following page and click on the &#8220;Widgets&#8221; </p>
<p><img src="http://www.designgala.com/wp-content/uploads/2009/11/sel_wid.jpg" alt="sel_wid" title="sel_wid" width="420" height="217" class="alignnone size-full wp-image-589" /></p>
<p>After this you will see the following window. Click on the &#8220;My Website&#8221;. And then click on the &#8220;Profile Widget&#8221; to display your personal tweets.</p>
<p><img src="http://www.designgala.com/wp-content/uploads/2009/11/sel-myweb.jpg" alt="sel myweb" title="sel myweb" width="420" height="327" class="alignnone size-full wp-image-591" /></p>
<p>After this you will see a  window  where you can Customize Your Profile Widget.You can add the username of the account which you want to show tweet in your webpage then set the preference ,appearance and dimension of the profile widget which will appear in page.</p>
<p><img src="http://www.designgala.com/wp-content/uploads/2009/11/wid.JPG" alt="wid" title="wid" width="546" height="424" class="alignnone size-full wp-image-614" /></p>
<p>You can test the script  by clicking the test settings.If you are fine with the testing result then click on the bottom &#8221; Finish &#038; Grab Code&#8221; and finally you will see the script,copy that script and paste it in the div of your page where you want to show your twitter updates .<br />
<strong>Example:</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">&lt; !DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&nbsp;
&lt;head&gt;
	&lt;title&gt;Twitter Page&lt;/title&gt;
&nbsp;
&lt;/head&gt;
&nbsp;
&lt;body&gt;
&lt; -- script copied from the twitter ---&gt;
&lt;script src=&quot;http://widgets.twimg.com/j/2/widget.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 6000,
  width: 250,
  height: 300,
  theme: {
    shell: {
      background: '#333333',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#ffffff',
      links: '#4aed05'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('rabishrestha').start();
&lt;/script&gt;
&lt;/body&gt;
&nbsp;
&lt;/html&gt;</pre>
</div>
</div>
<p>click here to <a href="http://www.designgala.com/demos/twitter/a2.html" target=" ">try it yourself</a></p>
<p>Note: Make sure that  your twitter account has public status. If you want to change your status on twitter account, click on the setting link and unchecked the bottom &#8220;protect my tweets&#8221;.
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-insert-twitter-updates-in-your-webpage/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

