<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anirudh&#039;s Tech Blog</title>
	<atom:link href="http://anirudhspider.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anirudhspider.wordpress.com</link>
	<description>Some tips to make your day better</description>
	<lastBuildDate>Mon, 13 Feb 2012 10:18:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anirudhspider.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/4fd19ca8fd68172f6599129640d445bd?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Anirudh&#039;s Tech Blog</title>
		<link>http://anirudhspider.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anirudhspider.wordpress.com/osd.xml" title="Anirudh&#039;s Tech Blog" />
	<atom:link rel='hub' href='http://anirudhspider.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Galaxy Ace &#8211; Gingerbread update</title>
		<link>http://anirudhspider.wordpress.com/2011/09/01/galaxy-ace-gingerbread-update/</link>
		<comments>http://anirudhspider.wordpress.com/2011/09/01/galaxy-ace-gingerbread-update/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 04:07:20 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=191</guid>
		<description><![CDATA[Great news for Galaxy Ace users in India. The official Gingerbread update became available yesterday (31st August 2011) through Samsung Kies. What is Gingerbread Android is an operating system and Gingerbread is the latest version of it, for mobile phones. The Gingerbread series is 2.3.x with the latest being 2.3.4. How do I update You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=191&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Great news for Galaxy Ace users in India. The official Gingerbread update became available yesterday (31st August 2011) through Samsung Kies.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/09/samsung_galaxy_ace.jpg"><img src="http://anirudhspider.files.wordpress.com/2011/09/samsung_galaxy_ace.jpg?w=300&#038;h=206" alt="" title="samsung_galaxy_ace" width="300" height="206" class="aligncenter size-medium wp-image-196" /></a></p>
<h3>What is Gingerbread</h3>
<p>Android is an operating system and Gingerbread is the latest version of it, for mobile phones. The Gingerbread series is 2.3.x with the latest being 2.3.4.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/09/gingerbread.jpg"><img src="http://anirudhspider.files.wordpress.com/2011/09/gingerbread.jpg?w=590" alt="" title="gingerbread"   class="aligncenter size-full wp-image-194" /></a></p>
<h3>How do I update</h3>
<p>You would have to update your firmware through Samsung Kies. Its a software that you can download from here: <a href="http://www.samsungapps.com/about/onPc.as" target="_blank">www.samsungapps.com/about/onPc.as</a>. (After downloading, you might have to update the sotware itself, as the link might not provide the latest version directly.) No linux version of the software exists. So you might have to login into Windows.</p>
<p>Once you have an updated Kies, you should be able to see something like this.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/09/kies.png"><img src="http://anirudhspider.files.wordpress.com/2011/09/kies.png?w=590&#038;h=314" alt="" title="kies" width="590" height="314" class="aligncenter size-full wp-image-200" /></a></p>
<p>Connect your device now. Wait for Kies to detect your phone. Kies should automatically say that you have new firmware updates to be installed on your phone. Follow the instructions and you&#8217;d have Gingerbread installed on your phone.</p>
<p>Restart your phone to ensure that all updates have been installed.</p>
<h3>What&#8217;s new in Galaxy Ace Gingerbread</h3>
<p>You&#8217;d be able to see a few changes in looks in your phone now. Before looking at them, go to Settings-&gt;About Phone and check the Android version. You should be able to see 2.3.4 and Build Number showing GINGERBREAD.DDKQ5.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/09/version.png"><img src="http://anirudhspider.files.wordpress.com/2011/09/version.png?w=590" alt="" title="version"   class="aligncenter size-full wp-image-203" /></a></p>
<h3>What&#8217;s New</h3>
<p>The immediate observation after upgrading is the change to the system notification bar. Icons are much more compact and they look a bit more sleeker.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/09/top.png"><img src="http://anirudhspider.files.wordpress.com/2011/09/top.png?w=590" alt="" title="top"   class="aligncenter size-full wp-image-205" /></a></p>
<p>You can also see that the GPS and Sound icons have changed. Earlier silent mode was highlighted. Now its the opposite. If you disable silent mode on your phone, the icon is highlighted. You can also view whether vibration is enabled or not.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/09/notif.png"><img src="http://anirudhspider.files.wordpress.com/2011/09/notif.png?w=590" alt="" title="notification screen"   class="aligncenter size-full wp-image-206" /></a></p>
<p>When you are typing text, you can see that the circular hold icon is replaced by a rectangular one.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/09/rec.png"><img src="http://anirudhspider.files.wordpress.com/2011/09/rec.png?w=590" alt="" title="rec"   class="aligncenter size-full wp-image-207" /></a></p>
<p>
Other noticeable features are:</p>
<ul>
<li>Most importantly, Indic languages are now supported.</li>
<li>The phone appear to be a bit faster</li>
<li>Increased battery life</li>
<li>Improved copy-paste functionality upon select-all</li>
<li>A new system app called Downloads available now</li>
<li>The line traced while typing text using swype also appears more transparent now</li>
<li>WiFi bug seems to have been fixed</li>
<li>No noticeable bugs yet</li>
</ul>
<p>Do let me know if you are encountering any problems or have found other new features too.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=191&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/09/01/galaxy-ace-gingerbread-update/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/samsung_galaxy_ace.jpg?w=300" medium="image">
			<media:title type="html">samsung_galaxy_ace</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/gingerbread.jpg" medium="image">
			<media:title type="html">gingerbread</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/kies.png" medium="image">
			<media:title type="html">kies</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/version.png" medium="image">
			<media:title type="html">version</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/top.png" medium="image">
			<media:title type="html">top</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/notif.png" medium="image">
			<media:title type="html">notification screen</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/09/rec.png" medium="image">
			<media:title type="html">rec</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up Kate snippets</title>
		<link>http://anirudhspider.wordpress.com/2011/06/13/setting-up-kate-snippets/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/13/setting-up-kate-snippets/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 05:55:52 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[editor]]></category>
		<category><![CDATA[kate]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=161</guid>
		<description><![CDATA[Kate is one of the best editors around and I have always felt most comfortable with it. It is very intuitive and at the same pleasing to the eye. Most of the gnome population haven&#8217;t heard of it and I feel it trumps gedit any day. (http://kate-editor.org/about-kate/) Recently, I discovered that that there is not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=161&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Kate is one of the best editors around and I have always felt most comfortable with it. It is very intuitive and at the same pleasing to the eye. Most of the gnome population haven&#8217;t heard of it and I feel it trumps gedit any day. (<a href="http://kate-editor.org/about-kate/" target="_blank">http://kate-editor.org/about-kate/</a>)</p>
<p>Recently, I discovered that that there is not much online material available for snippets in Kate and after a little bit poking around, I finally got what I wanted. I felt that putting up a blog post would be a good idea too.</p>
<h3>Setting up Kate snippets:</h3>
<p>1. Open Kate. Go to <strong>Settings</strong> Menu. Click <strong>Configure Kate</strong>.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/settings.png"><img class="aligncenter size-full wp-image-163" title="Settings" src="http://anirudhspider.files.wordpress.com/2011/06/settings.png?w=590&#038;h=331" alt="" width="590" height="331" /></a></p>
<p>2.  Go to the <strong>Plugins </strong>tab. Enable <strong>Kate Snippets</strong>. You will notice that <strong>Kate Snippets </strong>tab appears automatically in the left pane.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/plugin1.png"><img class="aligncenter size-full wp-image-168" title="Plugin" src="http://anirudhspider.files.wordpress.com/2011/06/plugin1.png?w=590&#038;h=476" alt="" width="590" height="476" /></a><a href="http://anirudhspider.files.wordpress.com/2011/06/plugin.png"><br />
</a></p>
<p>3. Click the <strong>Kate Snippets </strong>tab on the left pane. You will observe a few sample snippets and also the option to add a New Snippet File. Click it.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/snippets1.png"><img class="aligncenter size-full wp-image-169" title="Snippets" src="http://anirudhspider.files.wordpress.com/2011/06/snippets1.png?w=590&#038;h=476" alt="" width="590" height="476" /></a></p>
<p>4. As an example, I will be creating a snippet to help me with coding in C++ on <a href="http://spoj.pl" target="_blank">SPOJ</a>. So, I&#8217;ll give the snippet a name &#8220;C++ for SPOJ&#8221; and LGPL v2+ License. Of course, my name is Anirudh and I&#8217;ll give the same for Authors.<a href="http://anirudhspider.files.wordpress.com/2011/06/create.png"><img class="aligncenter size-full wp-image-170" title="Create" src="http://anirudhspider.files.wordpress.com/2011/06/create.png?w=590" alt=""   /></a></p>
<p>You will see a screen like this.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/data-file-editor.png"><img class="aligncenter size-full wp-image-172" title="Data File editor" src="http://anirudhspider.files.wordpress.com/2011/06/data-file-editor.png?w=590" alt=""   /></a></p>
<p>5. We wouldn&#8217;t inadvertently want our snippet to be applied for other type of files. So change the File type from <code>*</code> to <code>C++</code>. Click the button at the bottom-left to create a New Snippet. Set the Match/Name value in the right pane to <code>spoj</code>.</p>
<p>Insert the following in the Snippet Content:</p>
<p><pre class="brush: cpp;">
#include &lt;iostream&gt;
using namespace std;

int main() {
	${cursor}
	return 0;
}
</pre></p>
<p>The <code>${cursor}</code> informs Kate where your cursor should be, after inserting your snippet. You should end up with something like this.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/source1.png"><img class="aligncenter size-full wp-image-176" title="Source" src="http://anirudhspider.files.wordpress.com/2011/06/source1.png?w=590&#038;h=549" alt="" width="590" height="549" /></a></p>
<p>6.Save the snippet, enable the snippet and go back to Kate. Save the file with .cpp extension. Now type <code>spoj</code> in your editor and press <strong>Ctrl+Space.</strong>. You will see a little drop down box showing suggestions. Just press <strong>Enter</strong>.<br />
<a href="http://anirudhspider.files.wordpress.com/2011/06/execute.png"><img src="http://anirudhspider.files.wordpress.com/2011/06/execute.png?w=590&#038;h=290" alt="" title="Execute" width="590" height="290" class="aligncenter size-full wp-image-177" /></a></p>
<p>Voila! Your snippet works perfectly!<br />
<a href="http://anirudhspider.files.wordpress.com/2011/06/done.png"><img src="http://anirudhspider.files.wordpress.com/2011/06/done.png?w=590&#038;h=290" alt="" title="Done" width="590" height="290" class="aligncenter size-full wp-image-178" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=161&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/13/setting-up-kate-snippets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/settings.png" medium="image">
			<media:title type="html">Settings</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/plugin1.png" medium="image">
			<media:title type="html">Plugin</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/snippets1.png" medium="image">
			<media:title type="html">Snippets</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/create.png" medium="image">
			<media:title type="html">Create</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/data-file-editor.png" medium="image">
			<media:title type="html">Data File editor</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/source1.png" medium="image">
			<media:title type="html">Source</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/execute.png" medium="image">
			<media:title type="html">Execute</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/done.png" medium="image">
			<media:title type="html">Done</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding WordPress for Android &#8211; Part 3</title>
		<link>http://anirudhspider.wordpress.com/2011/06/10/understanding-wordpress-for-android-part-3/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/10/understanding-wordpress-for-android-part-3/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 07:23:27 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=149</guid>
		<description><![CDATA[I managed to squeeze in time for another blog post about the app. So here it is. As I mentioned in my previous blogpost (http://anirudhspider.wordpress.com/2011/06/08/understanding-wordpress-for-android-part-2/), I will be explaining the code for the app&#8217;s splash screen here. What is a Splash screen? Quoting Wikipedia, &#8220;A splash screen is an image that appears while a game or program is loading. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=149&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I managed to squeeze in time for another blog post about the app. So here it is.</p>
<p>As I mentioned in my previous blogpost (<a href="http://anirudhspider.wordpress.com/2011/06/08/understanding-wordpress-for-android-part-2/" target="_blank">http://anirudhspider.wordpress.com/2011/06/08/understanding-wordpress-for-android-part-2/</a>), I will be explaining the code for the app&#8217;s splash screen here.</p>
<h3>What is a Splash screen?</h3>
<p>Quoting Wikipedia, &#8220;A splash screen is an image that appears while a game or program is loading. It may also be used to describe an introduction page on a website.&#8221; (<a href="http://en.wikipedia.org/wiki/Splash_screen">http://en.wikipedia.org/wiki/Splash_screen</a>)</p>
<p>The existing app has a really cool splash screen which I do not wish to lay my hands upon and spoil.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/splashscreen.png"><img class="aligncenter size-full wp-image-131" title="splashscreen" src="http://anirudhspider.files.wordpress.com/2011/06/splashscreen.png?w=590" alt="The splash screen that you see when the App starts"   /></a></p>
<h3>splashScreen.java</h3>
<p>Let&#8217;s start with splashScreen.java. If you have downloaded the source code, you&#8217;ll find it in your <code>src/org/wordpress/android/</code>folder, or under src-&gt;org.wordpress.android in your Eclipse Package Explorer (left pane, by default). If you haven&#8217;t downloaded the source code, you can view it here: <a href="http://android.trac.wordpress.org/browser/trunk/src/org/wordpress/android/splashScreen.java" target="_blank">http://android.trac.wordpress.org/browser/trunk/src/org/wordpress/android/splashScreen.java</a></p>
<p>I have also posted it below for your convenience.</p>
<p><pre class="brush: java;">
package org.wordpress.android;

import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.graphics.PixelFormat;
import android.os.Bundle;
import android.os.Handler;
import android.view.WindowManager;
import android.widget.TextView;

public class splashScreen extends Activity {
    /** Called when the activity is first created. */

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        getWindow().setFormat(PixelFormat.RGBA_8888);
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER);

        setContentView(R.layout.splashscreen);

        //Display the current version number
        PackageManager pm = getPackageManager();
        try {
			PackageInfo pi = pm.getPackageInfo(&quot;org.wordpress.android&quot;, 0);
			TextView versionNumber = (TextView) findViewById(R.id.versionNumber);
            versionNumber.setText(&quot;Version &quot; + pi.versionName);
		} catch (NameNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

        new Handler().postDelayed(new Runnable(){
            public void run() {
                 /* Create an Intent that will start the Main WordPress Activity. */
                 Intent mainIntent = new Intent(splashScreen.this,wpAndroid.class);
                 splashScreen.this.startActivity(mainIntent);
                 splashScreen.this.finish();
            }
       }, 2900); //2900 for release

}
}
</pre></p>
<p>Note that the line numbers refer to the above source code.<br />
<strong>Lines 3-12: </strong>They are the necessary import statements. In case you miss any import statements and Eclipse shows an error, press <strong>Ctrl+Shift+O </strong>(in Linux and Windows). Eclipse will automatically find and add the necessary import statements.</p>
<p><strong>Line 14: </strong><code>public class splashScreen extends Activity {</code><br />
This is where the code actually starts. splashScreen being an Activity obviously extends the Activity class. (In case you do not know what an Activity is, an Activity is what the user is actually able to view. For more details: <a href="http://developer.android.com/reference/android/app/Activity.html">http://developer.android.com/reference/android/app/Activity.html</a> )</p>
<p><strong>Lines 17-19: </strong><br />
<code>public void onCreate(Bundle icicle) {<br />
super.onCreate(icicle);<br />
</code><br />
The onCreate function is an integral part of the Activity life cycle and as the name implies, it is called once the Activity is created. We are overriding the onCreate method. Whenever the onCreate method is overridden, we must call super.onCreate() to save the state of the previous activity. &#8216;icicle&#8217; is the name of the Bundle objects that are passed to the onCreate method. This is the default name provided in the earlier versions of the SDK. The new SDK defaults the name to &#8216;savedInstanceState&#8217;.</p>
<p><strong>Lines 20&amp;21:</strong><br />
<code>getWindow().setFormat(PixelFormat.RGBA_8888);<br />
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER);</code></p>
<p>Line 20 sets the format. Can you see that the background gradient is uniform and non-patchy? It is because of the <code>FLAG_DITHER</code> flag.</p>
<p><strong>Line 23:</strong> <code>setContentView(R.layout.splashscreen);</code><br />
Sets the xml layout provided in splashscreen.xml. Lets have a quick look at it.</p>
<h3>splashscreen.xml</h3>
<p>If you have downloaded: found at res/layout/splashscreen.xml<br />
If you haven&#8217;t: <a href="http://android.trac.wordpress.org/browser/trunk/res/layout/splashscreen.xml" target="_blank">http://android.trac.wordpress.org/browser/trunk/res/layout/splashscreen.xml</a></p>
<p>Code:</p>
<p><pre class="brush: xml;">
&lt;LinearLayout android:id=&quot;@+id/LinearLayout01&quot;
android:layout_width=&quot;fill_parent&quot;
android:layout_height=&quot;fill_parent&quot;
xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
android:gravity=&quot;center|center&quot;
android:background=&quot;@drawable/home_gradient&quot;
android:orientation=&quot;vertical&quot;&gt;
&lt;ImageView android:layout_marginTop=&quot;-60dip&quot; android:paddingLeft=&quot;20dip&quot; android:paddingRight=&quot;20dip&quot; android:scaleType=&quot;centerInside&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:id=&quot;@+id/wordpress_logo&quot; android:src=&quot;@drawable/wordpress_home&quot;&gt;&lt;/ImageView&gt;
&lt;TextView android:text=&quot;@+id/TextView01&quot;
android:layout_width=&quot;wrap_content&quot;
android:layout_height=&quot;wrap_content&quot;
android:layout_marginTop=&quot;20dip&quot;
android:typeface=&quot;serif&quot;
android:shadowDx=&quot;0&quot;
android:shadowDy=&quot;2&quot;
android:shadowRadius=&quot;1&quot;
android:shadowColor=&quot;#FFFFFF&quot;
android:textColor=&quot;#444444&quot;
android:textSize=&quot;20dip&quot;
android:id=&quot;@+id/versionNumber&quot; android:gravity=&quot;bottom&quot;&gt;
&lt;/TextView&gt;
&lt;/LinearLayout&gt;
</pre></p>
<p>As you can see, it contains a vertical LinearLayout with 2 elements: an ImageView and a TextView. The ImageView renders the logo while the TextView provides the version number of the app.</p>
<h3>Back to splashscreen.java</h3>
<p><strong>Lines 25-34:</strong><br />
<code><br />
//Display the current version number<br />
        PackageManager pm = getPackageManager();<br />
        try {<br />
			PackageInfo pi = pm.getPackageInfo("org.wordpress.android", 0);<br />
			TextView versionNumber = (TextView) findViewById(R.id.versionNumber);<br />
            versionNumber.setText("Version " + pi.versionName);<br />
		} catch (NameNotFoundException e) {<br />
			// TODO Auto-generated catch block<br />
			e.printStackTrace();<br />
		}<br />
</code><br />
Obtain the version number from the package (from the manifest xml?) and sets it to the TextView.</p>
<p><strong>Lines 36-42:</strong><br />
<code><br />
new Handler().postDelayed(new Runnable(){<br />
            public void run() {<br />
                 /* Create an Intent that will start the Main WordPress Activity. */<br />
                 Intent mainIntent = new Intent(splashScreen.this,wpAndroid.class);<br />
                 splashScreen.this.startActivity(mainIntent);<br />
                 splashScreen.this.finish();<br />
            }<br />
</code><br />
An Intent is an abstract description used to jump from one Activity to another. The Intent <code>mainIntent</code> is used to transfer control from the current splashScreen.java file to wpAndroid.java. (The number 2900 in <strong>Line 43</strong> is the number of milliseconds for which the splash screen is to be displayed.)</p>
<p>What does that mean? Yeah, you got that right. Coming up next, wpAndroid.java!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/149/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=149&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/10/understanding-wordpress-for-android-part-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/splashscreen.png" medium="image">
			<media:title type="html">splashscreen</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding WordPress for Android &#8211; Part 2</title>
		<link>http://anirudhspider.wordpress.com/2011/06/08/understanding-wordpress-for-android-part-2/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/08/understanding-wordpress-for-android-part-2/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 03:50:42 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=140</guid>
		<description><![CDATA[You have set up the development environment, downloaded the source code and created a new project. Now, we can start going through the source code. I hope you are familiar with developing Android Apps. If not, it is ok. You can refer to http://developer.android.com/ in case you are not able to understand something that has been explained [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=140&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You have set up the development environment, downloaded the source code and created a new project. Now, we can start going through the source code. I hope you are familiar with developing Android Apps. If not, it is ok. You can refer to <a href="http://developer.android.com/index.html" target="_blank">http://developer.android.com/</a> in case you are not able to understand something that has been explained here. I will also be providing links to the official documentation wherever necessary.</p>
<p><a href="http://developer.android.com/index.html" target="_blank"><img class="aligncenter" title="developer.android.com" src="http://developer.android.com/assets/images/bg_logo.png" alt="" width="180" height="50" /></a></p>
<h3>AndroidManifest.xml</h3>
<p>As with every application, the WordPress app has an AndroidManifest.xml file. It is the first piece of information that describes the different activities, services, broadcast receivers, content providers, user permissions and all other important details. (To know more, have a look at <a href="http://developer.android.com/guide/topics/manifest/manifest-intro.html" target="_blank">http://developer.android.com/guide/topics/manifest/manifest-intro.html</a> )</p>
<p>To view the manifest file, open it in Eclipse. If you don&#8217;t want to develop but just want to view it, you can view it here: <a href="http://android.trac.wordpress.org/browser/trunk/AndroidManifest.xml" target="_blank">http://android.trac.wordpress.org/browser/trunk/AndroidManifest.xml</a></p>
<p><strong>Line 2. </strong>The attributes of the <code>&lt;manifest&gt;</code> tag specify the version name, package details, etc.</p>
<p><strong>Line 3. </strong>As you can see in the <code>&lt;uses-sdk&gt;</code> tag, you can develop this app for devices that run on Android, right from Cupcake (<code>android:minSdkVersion="3"</code>) and is also best viewed in a device running Froyo (<code>android:targetSdkVersion="8"</code>).</p>
<p><strong>Line 4 and 5:</strong> They describe the details of how the app looks before it is launched, in your android device. It specifies the logo image, label and the style. You can find the logo in your project at <code>res/drawable/app_icon.png</code> and the theme it uses from Line 61 of <code>res/values/styles.xml</code> (<a href="http://android.trac.wordpress.org/browser/trunk/res/values/styles.xml" target="_blank">http://android.trac.wordpress.org/browser/trunk/res/values/styles.xml</a>)</p>
<p>I will be discussing each Activity and its corresponding xml later. (Same with the service and receiver tags)</p>
<p>It is obvious what the remaining xml code describes. Understanding what the <code>&lt;supports-screens&gt;</code>,<code>&lt;uses-permission&gt;</code> and <code>&lt;uses-feature&gt;</code> tags describe, shouldn&#8217;t be a problem.</p>
<p>Before moving on, we need to find out which activity is called first. If you have a quick look at <a href="http://developer.android.com/guide/topics/intents/intents-filters.html#ccases" target="_blank">http://developer.android.com/guide/topics/intents/intents-filters.html#ccases</a>, the activity with the <code>android.intent.action.MAIN</code> action and the <code>android.intent.category.LAUNCHER</code> is started at first. A quick scan through the AndroidManifest.xml file reveals that the activity with the <code>android:name="splashScreen"</code> is the one that is launched, when the application starts.</p>
<p>So, next stop: <code>splashScreen.java</code> !!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=140&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/08/understanding-wordpress-for-android-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://developer.android.com/assets/images/bg_logo.png" medium="image">
			<media:title type="html">developer.android.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Still don&#8217;t believe me?</title>
		<link>http://anirudhspider.wordpress.com/2011/06/07/still-dont-believe-me/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/07/still-dont-believe-me/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 19:02:54 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">https://anirudhspider.wordpress.com/2011/06/07/still-dont-believe-me/</guid>
		<description><![CDATA[If blogging from inside the app like how I am doing right now, doesn&#8217;t make you believe how great this is, then u must try writing one on your own. Although this is an open source project run by the community, I believe that most of the work so far, has been done by Dan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=139&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://anirudhspider.files.wordpress.com/2011/06/wpid-13074730944911.jpg?w=590" /></p>
<p>If blogging from inside the app like how I am doing right now, doesn&#8217;t make you believe how great this is, then u must try writing one on your own.</p>
<p>Although this is an open source project run by the community, I believe that most of the work so far, has been done by Dan Roundhill, who is the mentor for my GSoC project as well. <a href="http://danroundhill.com">http://danroundhill.com</a></p>
<p>I can also add media from inside the app, like this photo of my laptop.</p>
<p>This took me about 5 minutes to blog about. Its that easy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=139&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/07/still-dont-believe-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/wpid-13074730944911.jpg" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding WordPress for Android &#8211; Part 1</title>
		<link>http://anirudhspider.wordpress.com/2011/06/07/understanding-wordpress-for-android-part-1/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/07/understanding-wordpress-for-android-part-1/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 18:35:49 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=130</guid>
		<description><![CDATA[The app itself The latest release is version 1.4.1 and it was released on April 18 2011. It is available for free in the market. I own a Samsung Galaxy Ace running Froyo and it works flawlessly on my mobile. You can use the app to maintain multiple blogs including both, self-hosted blogs and those [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=130&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>The app itself</h3>
<p>The latest release is version 1.4.1 and it was released on April 18 2011. It is available for free in the market. I own a Samsung Galaxy Ace running Froyo and it works flawlessly on my mobile. You can use the app to maintain multiple blogs including both, self-hosted blogs and those hosted at WordPress.com.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/splashscreen.png"><img class="aligncenter size-full wp-image-131" title="splashscreen" src="http://anirudhspider.files.wordpress.com/2011/06/splashscreen.png?w=590" alt="The splash screen that you see when the App starts"   /></a></p>
<p>The Description of the app in the marketplace reads thus:</p>
<p>&#8220;Write new posts, edit content, and manage comments on your WordPress blog.</p>
<p>WordPress for Android is an Open Source app that empowers you to write new posts, edit content, view stats, and manage comments with built-in notifications.</p>
<p>WordPress for Android supports both WordPress.com and self-hosted WordPress (2.9.2 or higher) blogs.&#8221;</p>
<h3>Get the app from the market</h3>
<p>There is nothing more important than having a first-hand experience of any product that you are working on. So, download the app directly through your mobile&#8217;s Android market or from <a href="https://market.android.com/details?id=org.wordpress.android">https://market.android.com/details?id=org.wordpress.android</a> and install it in your Android mobile.</p>
<p>Run it and check whether it works fine in your mobile. Browse through the app. It shouldn&#8217;t take you more than half an hour to figure out all features in that app.</p>
<h3>Get the source code from the dev site</h3>
<p>If you want to start developing, get your Eclipse IDE set up for Android app development. If it is your first time, refer to <a href="http://developer.android.com/sdk/index.html">http://developer.android.com/sdk/index.html</a> to setup your development environment. Hope you have installed subversion and know how to use it too. If you don&#8217;t, you can read up on this: <a href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a></p>
<p>Head towards <a href="http://android.trac.wordpress.org/">http://android.trac.wordpress.org/</a>. You will find that their source is located at <a href="http://android.svn.wordpress.org/">http://android.svn.wordpress.org/</a>. &lt;strong&gt;Note.&lt;/strong&gt;Do not use the svn site for browsing the source code. It is not created with that purpose in mind. If you want to browse the source code, you can do so at <a href="http://android.trac.wordpress.org/browser">http://android.trac.wordpress.org/browser</a>.</p>
<p>The trunk folder provides the latest build and you can work on it. To get the code into your system, do this from your terminal:</p>
<p><code> svn checkout http://android.svn.wordpress.org/trunk/</code></p>
<p>Rename the folder to the project name of your choice. Now open Eclipse. Press Ctrl+N and create a New Android Project. In the next step, select the option &#8220;Create project from existing source:&#8221; and point it to the location where you have checked out your wordpress android app code. Provide necessary details such as Project name, Build Target, Application name, Package Name and other details. You are ready to develop on the Android app of WordPress now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=130&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/07/understanding-wordpress-for-android-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/splashscreen.png" medium="image">
			<media:title type="html">splashscreen</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding WordPress for Android &#8211; Part 0</title>
		<link>http://anirudhspider.wordpress.com/2011/06/07/understanding-wordpress-for-android-part/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/07/understanding-wordpress-for-android-part/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 17:57:16 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=128</guid>
		<description><![CDATA[One of the apps which I never expected to see in the Android marketplace was the WordPress app. https://market.android.com/details?id=org.wordpress.android Seriously, was it possible to bring in the power of blogging into one&#8217;s Android mobile? Microblogging was easy. There are thousands of Twitter apps for Android to do that. But how could a mobile be sufficient [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=128&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the apps which I never expected to see in the Android marketplace was the WordPress app.</p>
<p><a href="https://market.android.com/details?id=org.wordpress.android">https://market.android.com/details?id=org.wordpress.android</a></p>
<p>Seriously, was it possible to bring in the power of blogging into one&#8217;s Android mobile? Microblogging was easy. There are thousands of Twitter apps for Android to do that. But how could a mobile be sufficient to blog on WordPress??</p>
<p>Trust me, it is really an awesome app!</p>
<p>It was the time when organizations where applying for Google Summer of Code. Within a few weeks, I got to know that the Android app had been selected as a project as well! I was so eager to work on it to realize it&#8217;s full potential myself. I also wanted to work on a GSoC project. I applied and worked hard to get it, and finally I did. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>You can find more details about the app here: <a href="http://android.wordpress.org/">http://android.wordpress.org/</a></p>
<p>If you also wanna be a developer, this is the place to be: <a id="ch-url-anchor" href="irc://freenode/wordpress-mobile">irc://freenode/wordpress-mobile</a></p>
<p>I have been working on changing the UI of the app for a few weeks now. I just realized that the best way to progress quickly would be to be blog about this blogging app. So here I am.</p>
<p>I will be initially giving a brief introduction to the app and then moving on to the explain the code later.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=128&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/07/understanding-wordpress-for-android-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>
	</item>
		<item>
		<title>Macbuntu in Ubuntu 11.04</title>
		<link>http://anirudhspider.wordpress.com/2011/06/07/macbuntu-in-ubuntu-11-04/</link>
		<comments>http://anirudhspider.wordpress.com/2011/06/07/macbuntu-in-ubuntu-11-04/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 12:32:14 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=119</guid>
		<description><![CDATA[Those of you who used Macbuntu earlier on your Ubuntu 10.10 and have shifted to Ubuntu 11.04 would have noticed that the Macbuntu theme isn&#8217;t available. It seems that the project has been stalled and they don&#8217;t seem to have a version for 11.04 yet. Searching for it on Google takes you to a site [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=119&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Those of you who used Macbuntu earlier on your Ubuntu 10.10 and have shifted to Ubuntu 11.04 would have noticed that the Macbuntu theme isn&#8217;t available. It seems that the project has been stalled and they don&#8217;t seem to have a version for 11.04 yet. Searching for it on Google takes you to a site where you are asked to download a remastered Ubuntu distro of size &gt;700 Mb! If you have already downloaded Ubuntu 11.04, you wouldn&#8217;t feel like downloading another complete distro just for the sake of the Macbuntu theme.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/06/screenshot.png"><img class="aligncenter size-large wp-image-122" title="Macbuntu in 11.04" src="http://anirudhspider.files.wordpress.com/2011/06/screenshot.png?w=512&#038;h=282" alt="Macbuntu" width="512" height="282" /></a></p>
<p>So, what is the solution? Use the code for 10.10!! With a few minor changes, you can use the Macbuntu theme for your 11.04 Ubuntu Classic desktop as well. I do not know how it integrates with Unity yet, as I don&#8217;t use Unity. (I have also heard that it doesn&#8217;t integrate very well with Unity.)</p>
<h2>So, what are the changes to be made?</h2>
<p>First download the source code for the Macbuntu theme from the SourceForge project site, if you already haven&#8217;t.  <a href="http://sourceforge.net/projects/macbuntu/">http://sourceforge.net/projects/macbuntu/</a></p>
<p>After downloading, extract the file to some location that you can remember. Rename the folder from Macbuntu-10.10 to Macbuntu-11.04 to avoid confusion later.</p>
<p>Now open the file install.sh in the text editor of your choice. I use vim, so the code is as follows.</p>
<p><code>vim install.sh</code></p>
<p>After opening the file, you would see the following code in lines 19 and 20:</p>
<p><code><br />
UBUVER="10.10"<br />
UBUNTU="Ubuntu $UBUVER"<br />
</code></p>
<p>Change it to read<br />
<code><br />
UBUVER="11.04"<br />
UBUNTU="Ubuntu $UBUVER"<br />
</code></p>
<p>Do the same to your uninstall.sh file.</p>
<p>Now run the install.sh file.<br />
<code>./install.sh</code></p>
<p>Now follow the installation instructions and reboot your system.</p>
<p>After rebooting, you might want to adjust your Indicator Applet icons, make sure Docky is installed and adjust your Compiz settings too.</p>
<p>If you want to uninstall, you can always run<br />
<code>./uninstall.sh</code><br />
to remove Macbuntu from your system.</p>
<p><strong>Note.</strong>If you have any clarifications or if something just doesn&#8217;t work, you can always post them in the Comments section below.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=119&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/06/07/macbuntu-in-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/06/screenshot.png?w=1024" medium="image">
			<media:title type="html">Macbuntu in 11.04</media:title>
		</media:content>
	</item>
		<item>
		<title>UI mock-up for a Non Dashboard page</title>
		<link>http://anirudhspider.wordpress.com/2011/04/08/ui-mock-up-for-a-non-dashboard-page/</link>
		<comments>http://anirudhspider.wordpress.com/2011/04/08/ui-mock-up-for-a-non-dashboard-page/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 14:50:12 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=103</guid>
		<description><![CDATA[This is my UI mock-up for a Non Dashboard page. Quick Access dashboard will ensure that users can access other stuff really quickly now. Not that I have replaced the button for Dashboard with a large button to return to the previous page. Please note that I might come up with something more useful later, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=103&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is my UI mock-up for a Non Dashboard page. Quick Access dashboard will ensure that users can access other stuff really quickly now.<br />
<div id="attachment_104" class="wp-caption aligncenter" style="width: 600px"><a href="http://anirudhspider.files.wordpress.com/2011/04/nondashboardpage-1.png"><img src="http://anirudhspider.files.wordpress.com/2011/04/nondashboardpage-1.png?w=590&#038;h=474" alt="" title="NonDashboardPage" width="590" height="474" class="size-full wp-image-104" /></a><p class="wp-caption-text">When the Quick Access Dashboard is at the bottom</p></div></p>
<p>Not that I have replaced the button for Dashboard with a large button to return to the previous page. Please note that I might come up with something more useful later, in this space.</p>
<p>This is my mock-up with my Quick Access Dashboard pulled up. It displays the dashboard.</p>
<p><a href="http://anirudhspider.files.wordpress.com/2011/04/nondashboardpage2.png"><img src="http://anirudhspider.files.wordpress.com/2011/04/nondashboardpage2.png?w=590&#038;h=474" alt="With the Quick Dashboard Access bar pulled up" title="NonDashboardPage2" width="590" height="474" class="aligncenter size-full wp-image-105" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=103&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/04/08/ui-mock-up-for-a-non-dashboard-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/04/nondashboardpage-1.png" medium="image">
			<media:title type="html">NonDashboardPage</media:title>
		</media:content>

		<media:content url="http://anirudhspider.files.wordpress.com/2011/04/nondashboardpage2.png" medium="image">
			<media:title type="html">NonDashboardPage2</media:title>
		</media:content>
	</item>
		<item>
		<title>Facts about WordPress &#8211; My first plugin</title>
		<link>http://anirudhspider.wordpress.com/2011/04/02/wp-facts/</link>
		<comments>http://anirudhspider.wordpress.com/2011/04/02/wp-facts/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 12:08:04 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anirudhspider.wordpress.com/?p=86</guid>
		<description><![CDATA[&#60;?php /** * @package WordPress_Facts * @version 1.0 */ /* Plugin Name: Facts about WordPress Plugin URI: http://anirudhspider.wordpress.com/wordpressfacts Description: This is a plugin which you can use to display random wordpress facts in your admin panel. Version: 1.0 Author: Anirudh S Author URI: http://anirudh24seven.wordpress.com License: GPL2 */ /*  Copyright 2011  Anirudh S  (email : anirudh24seven@gmail.com) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=86&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p>&lt;?php<br />
/**<br />
* @package WordPress_Facts<br />
* @version 1.0<br />
*/<br />
/*<br />
Plugin Name: Facts about WordPress<br />
Plugin URI: http://anirudhspider.wordpress.com/wordpressfacts<br />
Description: This is a plugin which you can use to display random wordpress facts in your admin panel.<br />
Version: 1.0<br />
Author: Anirudh S<br />
Author URI: http://anirudh24seven.wordpress.com<br />
License: GPL2<br />
*/<br />
/*  Copyright 2011  Anirudh S  (email : anirudh24seven@gmail.com)</p>
<p>This program is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU General Public License, version 2, as<br />
published by the Free Software Foundation.</p>
<p>This program is distributed in the hope that it will be useful,<br />
but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License<br />
along with this program; if not, write to the Free Software<br />
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<br />
*/</p>
<p>function random_fact_line() {<br />
/** These are the random facts */<br />
$line = &#8220;WordPress is an open source Content Management System.<br />
Wordpress is powered by PHP and MySQL.<br />
Wordpress was first released on May 27, 2003, by Matt Mullenweg.<br />
Native WordPress applications exist for Android, iPhone/iPod Touch, iPad, Windows Phone 7 and BlackBerry.<br />
In 2009 WordPress won the best Open Source CMS Award.<br />
Wordpress version 1.2 was codenamed Mingus and was released on 22 May 2004.<br />
Wordpress version 1.5 was codenamed Strayhorn and was released on 17 February 2005.<br />
Wordpress version 2.0 was codenamed Duke and was released on 31 December 2005.<br />
Wordpress version 2.1 was codenamed Ella and was released on 22 January 2007.<br />
Wordpress version 2.2 was codenamed Getz and was released on 16 May 2007.<br />
Wordpress version 2.3 was codenamed Dexter and was released on 24 September 2007.<br />
Wordpress version 2.5 was codenamed Brecker and was released on 29 March 2008.<br />
Wordpress version 2.6 was codenamed Tyner and was released on 15 July 2008.<br />
Wordpress version 2.7 was codenamed Coltrane and was released on 11 December 2008.<br />
Wordpress version 2.8 was codenamed Baker and was released on 10 June 2009.<br />
Wordpress version 2.9 was codenamed Carmen and was released on 19 December 2009.<br />
Wordpress version 3.0 was codenamed Thelonius and was released on 17 June 2010.<br />
Wordpress version 3.1 was codenamed Reinhardt and was released on 23 February 2011.&#8221;;</p>
<p>// Here I split the $line query into separate lines based on the newline character (\n)<br />
$line = explode( &#8220;\n&#8221;, $line );</p>
<p>// From the lines that have been generated, I generate a random line out of them for Random Facts<br />
return wptexturize( $line[ mt_rand( 0, count( $line ) - 1 ) ] );<br />
}</p>
<p>// This just echoes the chosen line, we&#8217;ll position it later<br />
function random_fact() {<br />
$chosen = random_fact_line();<br />
echo &#8220;&lt;p id=&#8217;fact&#8217;&gt;&lt;b&gt;Random Fact:&lt;/b&gt; $chosen&lt;/p&gt;&#8221;;<br />
}</p>
<p>// Now we set that function up to execute when the admin_notices action is called<br />
add_action( &#8216;admin_notices&#8217;, &#8216;random_fact&#8217; );</p>
<p>// We need some CSS to position the paragraph<br />
function fact_css() {<br />
// If this is not present, the fact would not be at the top right, but at the top left. From Hello Dolly plugin documentation- &#8220;This makes sure that the positioning is also good for right-to-left languages&#8221;</p>
<p>$x = is_rtl() ? &#8216;left&#8217; : &#8216;right&#8217;;</p>
<p>echo &#8220;<br />
&lt;style type=&#8217;text/css&#8217;&gt;<br />
#fact {<br />
float: $x;<br />
padding-$x: 15px;<br />
padding-top: 5px;<br />
margin: 0;<br />
font-size: 11px;<br />
}<br />
&lt;/style&gt;<br />
&#8220;;<br />
}</p>
<p>add_action( &#8216;admin_head&#8217;, &#8216;fact_css&#8217; );</p>
<p>?&gt;</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anirudhspider.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anirudhspider.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anirudhspider.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anirudhspider.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anirudhspider.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anirudhspider.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anirudhspider.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anirudhspider.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anirudhspider.wordpress.com&amp;blog=12171192&amp;post=86&amp;subd=anirudhspider&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anirudhspider.wordpress.com/2011/04/02/wp-facts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90e5b6c21b2df0660a1076de7734c645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ultimator</media:title>
		</media:content>
	</item>
	</channel>
</rss>
