<?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>Self Exile Media &#187; Work</title>
	<atom:link href="http://selfexile.com/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://selfexile.com</link>
	<description>Independent Web &#38; Mobile Developers</description>
	<lastBuildDate>Sun, 09 May 2010 16:33:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Please help me decide&#8230;</title>
		<link>http://selfexile.com/please-help-me-decide/</link>
		<comments>http://selfexile.com/please-help-me-decide/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 09:49:07 +0000</pubDate>
		<dc:creator>Sohail Abid</dc:creator>
				<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://selfexile.com/?p=94</guid>
		<description><![CDATA[I am having this nice domain (pakistanica.com) for a while now. But not sure what exactly to do with it. Originally I thought to use it to show case my experiences, photos, and videos from my tour-de-pakistan-on-motorcycle. But now I have some other options too. So its difficult to decide. You can help me?
 What [...]]]></description>
			<content:encoded><![CDATA[<p>I am having this nice domain (pakistanica.com) for a while now. But not sure what exactly to do with it. Originally I thought to use it to show case my experiences, photos, and videos from my tour-de-pakistan-on-motorcycle. But now I have some other options too. So its difficult to decide. You can help me?</p>
<p><script type="text/javascript" language="javascript" src="http://s3.polldaddy.com/p/989676.js"></script><noscript> <a href ="http://answers.polldaddy.com/poll/989676/" >What of the following deserves best to be for this domain?</a>  <br/> <span style="font-size:9px;"> (<a href ="http://www.polldaddy.com">  polls</a>)</span></noscript></p>
]]></content:encoded>
			<wfw:commentRss>http://selfexile.com/please-help-me-decide/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Twitter Nonsense</title>
		<link>http://selfexile.com/twitter-nonsense/</link>
		<comments>http://selfexile.com/twitter-nonsense/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 11:37:17 +0000</pubDate>
		<dc:creator>Sohail Abid</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://selfexile.com/?p=85</guid>
		<description><![CDATA[
Twitter Nonsense is new addition to my portfolio. Its a beautiful and nice use of wordpress to present daily-comic strips. I was responsible for implementing the design into the wordpress theme with some necessary customization to wordpress itself. The client for this project is Anton Gigov, one of the best clients I&#8217;ve been working with.
The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pink-sheep.com/twitter-nonsense/"><img src="http://selfexile.com/wp-content/uploads/2008/06/twitter-nonsense.jpg" alt="Twitter Nonsense Screenshot" title="twitter-nonsense" class="alignnone size-full wp-image-86" /></a></p>
<p><a href="http://www.pink-sheep.com/twitter-nonsense/">Twitter Nonsense</a> is new addition to my portfolio. Its a beautiful and nice use of wordpress to present daily-comic strips. I was responsible for implementing the design into the wordpress theme with some necessary customization to wordpress itself. The client for this project is <a href="http://antongigov.com">Anton Gigov</a>, one of the best clients I&#8217;ve been working with.</p>
<p>The difficult part was to show comments and commet-form on home page. It is possible with a hack: by commenting out line # 643 in wp-includes/comment-template.php:</p>
<blockquote><p><em>642. if ( ! (is_single() || is_page() || $withcomments) )<br />
643.         return;</em></p></blockquote>
<p>But modifying wordpress core files is never a good option if you can achieve the results with a plugin or custom coding within theme. What I did for Twitter Nonsense was to write the following code segment at the top of header.php that redirects the user to latest-post when he visits the site:</p>
<blockquote><p>$url = &#8220;http://&#8221; . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];</p>
<p>if($url == &#8216;http://www.pink-sheep.com/twitter-nonsense/&#8217;)<br />
{<br />
global $wpdb;<br />
$last_post_id = $wpdb-&gt;get_var( &#8220;SELECT ID FROM $wpdb-&gt;posts WHERE post_type = &#8216;post&#8217; AND post_password = &#8221; AND post_status = &#8216;publish&#8217; ORDER BY post_date DESC LIMIT 1&#8243;);<br />
wp_redirect( get_permalink( $last_post_id ) );<br />
exit;<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://selfexile.com/twitter-nonsense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
