<?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>Blog of B. Candullo</title>
	<atom:link href="http://www.bcandullo.com/b/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bcandullo.com/b</link>
	<description>Inconsequential thoughts of a designer/developer</description>
	<lastBuildDate>Wed, 25 Apr 2012 10:53:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Twitter Follower Count via URL</title>
		<link>http://www.bcandullo.com/b/twitter-followers-via-url/</link>
		<comments>http://www.bcandullo.com/b/twitter-followers-via-url/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 10:35:54 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.bcandullo.com/b/?p=38</guid>
		<description><![CDATA[Here is a quick tip to return a users twitter followers via a URL. The URL returns either XML or JSON by simply switching the targeted file. For example: https://api.twitter.com/1/followers/ids.json?screen_name=candullo This will output JSON, shown below for reference. If you &#8230; <a href="http://www.bcandullo.com/b/twitter-followers-via-url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a quick tip to return a users twitter followers via a URL. The URL returns either XML or JSON by simply switching the targeted file. For example:</p>
<p><code></p>
<p>https://api.twitter.com/1/followers/ids.json?screen_name=candullo</p>
<p></code></p>
<p>This will output JSON, shown below for reference. If you would like XML in return, switch &#8216;ids.json&#8217; to &#8216;ids.xml&#8217;. Also note the screen_name variable. You should know what that is.</p>
<p>Sample JSON return from Twitter:</p>
<p><code><br />
{"next_cursor_str":"0","previous_cursor_str":"0","next_cursor":0,"ids":<br />
[112419029,369480133,543227845,9081922,389620314,482381617,<br />
406814796,473381272,208629427,15251303,466042209,145361708,99687348,<br />
76556860,242279894,457257082],"previous_cursor":0}<br />
</code></p>
<p><a href="https://dev.twitter.com/docs/api/1/get/followers/ids" target="_blank" rel="nofollow">Read the official Twitter documentation.</a></p>
<p>So what about the follower count? To get the follower count simply count the &#8216;ids&#8217; node, a jQuery snippet is posted below.</p>
<p><code><br />
var json = JSON.parse(YOUR_JSON_DATA);<br />
var followers = json.ids.length;<br />
</code> </p>
<p>That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/twitter-followers-via-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling cURL in XAMPP</title>
		<link>http://www.bcandullo.com/b/enabling-curl-in-xampp/</link>
		<comments>http://www.bcandullo.com/b/enabling-curl-in-xampp/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 13:40:45 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.bcandullo.com/b/?p=26</guid>
		<description><![CDATA[By default XAMPP does not have cURL enabled. Below is a quick fix to enable it by editing the php.ini file. 1. Locate the /php directory inside your XAMPP installation. 2. Open php.ini (any text editor will do) 3. Find &#8230; <a href="http://www.bcandullo.com/b/enabling-curl-in-xampp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default XAMPP does not have cURL enabled. Below is a quick fix to enable it by editing the php.ini file.</p>
<p>1. Locate the /php directory inside your XAMPP installation.<br />
2. Open php.ini (any text editor will do)<br />
3. Find the line ;extension=php_curl.dll and remove the semi-colon, save your changes.<br />
4. Stop the Apache service then start it again.</p>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/enabling-curl-in-xampp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Input Focus/Blur</title>
		<link>http://www.bcandullo.com/b/jquery-input-focusblur/</link>
		<comments>http://www.bcandullo.com/b/jquery-input-focusblur/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 22:38:09 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.bcandullo.com/b/?p=22</guid>
		<description><![CDATA[A quick snippet to clear an inputs default value on focus and revert to the original value on blur: $('input[type=text]').focus(function() { if($(this).val() == (this.defaultValue)) $(this).val('') }).blur(function() { if(!$(this).val()) $(this).val(this.defaultValue) }); The selector assumes input[type=text] only. You may add input[type=password], textarea, &#8230; <a href="http://www.bcandullo.com/b/jquery-input-focusblur/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A quick snippet to clear an inputs default value on focus and revert to the original value on blur:</p>
<pre>
<code>

$('input[type=text]').focus(function()
{
if($(this).val() == (this.defaultValue)) $(this).val('') }).blur(function()
{
if(!$(this).val()) $(this).val(this.defaultValue)
});

</code>
</pre>
<p>The selector assumes input[type=text] only. You may add input[type=password], textarea, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/jquery-input-focusblur/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sell your Rolex, cancel your Visa Card</title>
		<link>http://www.bcandullo.com/b/sopa/</link>
		<comments>http://www.bcandullo.com/b/sopa/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 18:49:33 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.bcandullo.com/b/?p=19</guid>
		<description><![CDATA[Here is a list of companies that support SOPA and PIPA. I would expect RIAA and Time, but VISA and Monster Cable, come on. Half of these companies sell overpriced products to an uninformed public. RIAA News Corp TimeWarner Walmart &#8230; <a href="http://www.bcandullo.com/b/sopa/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a list of companies that support SOPA and PIPA. I would expect RIAA and Time, but VISA and Monster Cable, come on. Half of these companies sell overpriced products to an uninformed public.</p>
<p>RIAA<br />
News Corp<br />
TimeWarner<br />
Walmart<br />
Nike<br />
Tiffany<br />
Chanel<br />
Rolex<br />
Sony<br />
Juicy Couture<br />
Ralph Lauren<br />
VISA<br />
Mastercard<br />
Comcast<br />
ABC<br />
Dow Chemical<br />
Monster Cable<br />
Teamsters</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/sopa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Echo All Post Data</title>
		<link>http://www.bcandullo.com/b/php-echo-all-post-data/</link>
		<comments>http://www.bcandullo.com/b/php-echo-all-post-data/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 00:24:19 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.bcandullo.com/b/?p=15</guid>
		<description><![CDATA[A quick PHP snippet to echo all $_POST data. foreach($_POST as $var =&#62; $value) { echo $var . ' : ' . $value . "&#60;br&#62;"; }]]></description>
			<content:encoded><![CDATA[<p>A quick PHP snippet to echo all $_POST data.</p>
<p><code></p>
<pre>
foreach($_POST as $var =&gt; $value)
{
echo $var . ' : ' . $value . "&lt;br&gt;";
}
</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/php-echo-all-post-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Text Shadow</title>
		<link>http://www.bcandullo.com/b/css-text-shadow/</link>
		<comments>http://www.bcandullo.com/b/css-text-shadow/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 21:52:20 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.bcandullo.com/b/?p=13</guid>
		<description><![CDATA[I created this calculator some time ago to play with the CSS feature. CSS Text Shadow Calculator]]></description>
			<content:encoded><![CDATA[<p>I created this calculator some time ago to play with the CSS feature.</p>
<p><a href="http://www.css-text-shadow.com">CSS Text Shadow Calculator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/css-text-shadow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New AIM iPhone App</title>
		<link>http://www.bcandullo.com/b/aim-iphone-app/</link>
		<comments>http://www.bcandullo.com/b/aim-iphone-app/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 18:37:09 +0000</pubDate>
		<dc:creator>b</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[GUI Design]]></category>
		<category><![CDATA[iPhone Apps]]></category>

		<guid isPermaLink="false">http://bcandullo.com/b/?p=1</guid>
		<description><![CDATA[AOL (that company which used to send you CD&#8217;s in the mail to use that awful software) has done something great. I&#8217;m talking about the new AIM application for the iPhone, more specifically it&#8217;s GUI. They have redesigned everything including &#8230; <a href="http://www.bcandullo.com/b/aim-iphone-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>AOL (that company which used to send you CD&#8217;s in the mail to use that awful software) has done something great. I&#8217;m talking about the new AIM application for the iPhone, more specifically it&#8217;s GUI.</p>
<p>They have redesigned everything including the brand (no more running yellow man, about time.) It&#8217;s interface is very sleek and intuitive, almost like the iPhone&#8217;s native iMessage with avatars and a cleaner, hipper look.</p>
<p><img src="http://www.bcandullo.com/images/b/aim.jpg" width="256" height="384" alt="AIM iPhone App" /><br />
<a href="http://www.bcandullo.com/images/b/aim-full.png" target="_blank" rel="nofollow">See this beauty larger</a></p>
<p>Once more they have added another feature which allows you to connect with Facebook and Twitter.</p>
<p>Overall, good job AOL. How often have you heard that?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bcandullo.com/b/aim-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

