<?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>Nischal Maniar</title>
	<atom:link href="http://nischalmaniar.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://nischalmaniar.info</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 26 Feb 2010 18:02:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iCandy Theme</title>
		<link>http://nischalmaniar.info/2010/02/icandy-theme/</link>
		<comments>http://nischalmaniar.info/2010/02/icandy-theme/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:01:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[iCandy]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=915</guid>
		<description><![CDATA[Gorgeous Theme packed with tons of features and options. Custom header image, changeable background color, flexible sidebar width and location, paged navigation, widget ready.
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2010/02/screenshot.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-916" title="iCandy" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2010/02/screenshot-150x150.png" alt="" width="150" height="150" /></a>Gorgeous Theme packed with tons of features and options. Custom header image, changeable background color, flexible sidebar width and location, paged navigation, widget ready.</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/?themedemo=iCandy" target="_blank">Demo</a> <a class="dlink" href="http://nischalmaniar.info/downloads/iCandy.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2010/02/icandy-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load twitter updates faster</title>
		<link>http://nischalmaniar.info/2010/01/load-twitter-updates-faster/</link>
		<comments>http://nischalmaniar.info/2010/01/load-twitter-updates-faster/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 17:48:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Cookies]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=816</guid>
		<description><![CDATA[Most of the personal blogs these days have twitter feeds. One of the bottleneck while loading the page in the site is Twitter, since it takes time to load the tweets. There is a technique that I have used for my site which can be handy in loading the twitter feeds fast. Basically, I have [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the personal blogs these days have twitter feeds. One of the bottleneck while loading the page in the site is Twitter, since it takes time to load the tweets. There is a technique that I have used for my site which can be handy in loading the twitter feeds fast. Basically, I have used cookies to store my twitter updates and display the updates by reading the cookies. (Obviously, this won&#8217;t work if you have disabled cookies in your browser settings).</p>
<p>So let&#8217;s dive into the code. First I will show you the JavaScript functions I have used to set/read/delete cookie. Create a JavaScript file : &#8220;fasttwittter.js&#8221; or any name you want.</p>
<p><span style="text-decoration: underline;">Note</span>: I am specifying my cookie expiry in hours. If you want to do that in seconds then remove both the &#8220;60&#8243;s from the createCookie function and if you want to set it in minutes then remove only one &#8220;60&#8243; and if you want to set it for days then multiply below value by 24. i.e seconds*24*60*60*1000.</p>
<p><code>function createCookie(name,value,hours) {<br />
if (hours) {<br />
var date = new Date();<br />
date.setTime(date.getTime()+(hours*60*60*1000));<br />
var expires = "; expires="+date.toGMTString();<br />
}<br />
else var expires = "";<br />
document.cookie = name+"="+value+expires+"; path=/";<br />
}</code></p>
<div><code>function readCookie(name) {<br />
var nameEQ = name + "=";<br />
var ca = document.cookie.split(';');<br />
for(var i=0;i &lt; ca.length;i++) {<br />
var c = ca[i];<br />
while (c.charAt(0)==' ') c = c.substring(1,c.length);<br />
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);<br />
}<br />
return null;<br />
}</code></div>
<p><code>function eraseCookie(name) {<br />
createCookie(name,"",-1);<br />
}</p>
<p></code></p>
<p><span id="more-816"></span></p>
<p>Now we are ready with our cookie related functions. And now the real trick: Twitter update uses a JavaScript file called &#8220;blogger.js&#8221;. We will have to download this script and modify it and use it from our site instead of using the one from Twitter. Hence go to following URL : <a href="http://twitter.com/javascripts/blogger.js" target="_blank">http://twitter.com/javascripts/blogger.js</a> and save this script on your system.</p>
<p>Now we have to modify this script to save the feeds into the cookie instead of displaying it on your site.</p>
<p>In the blogger.js, replace the last line i.e document.getElementById(&#8216;twitter_update_list&#8217;).innerHTML &#8230; etc &#8230; with following line<br />
createCookie(&#8216;twittercook&#8217;,statusHTML.join(&#8221;),1); // 1 =&gt; Number of expiry hours in this example.</p>
<p>Now lets go back to the &#8220;fasttwitter.js&#8221; file, where we had written the JavaScript functions and lets add one more function over there.</p>
<p><code>function loadTweet() {<br />
document.getElementById('twitter_update_list').innerHTML = readCookie('twittercook');<br />
// Twittercook is the name of the cookie I have specified. You can use any name you want<br />
}</code></p>
<p>Above function will display &#8220;Twitter feeds&#8221; from the cookie instead of the site.<br />
Now the call to the above function:</p>
<p><span style="text-decoration: underline;">Note:</span> I am using PHP to check if my cookie is set or not. You can even do that with JavaScript or other language if your site is not in PHP</p>
<p><code>&lt;?php if(trim($_COOKIE['twittercook']) == "") { ?&gt; //Checks if the cookie is set with the twitter feed, if not then fetch the latest tweets from twitter<br />
&lt;script type="text/javascript" src="[yoursite]/js/blogger.js"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript" src="http://twitter.com/statuses/user_timeline/[yourusername].json?callback=twitterCallback2&amp;amp;count=[count_of_tweets]"&gt;&lt;/script&gt;<br />
&lt;?php } ?&gt;<br />
&lt;script type="text/javascript"&gt;loadTweet()&lt;/script&gt; //Function call to display the tweets<br />
&lt;?php } ?&gt;<br />
</code></p>
<p>Now, my twitter won&#8217;t take ages to load. If you are someone who tweets every minute, then make sure you set the cookie expiry to minutes and not hours like in this example.</p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2010/01/load-twitter-updates-faster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multi-Color Theme</title>
		<link>http://nischalmaniar.info/2009/12/multi-color-theme/</link>
		<comments>http://nischalmaniar.info/2009/12/multi-color-theme/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 16:31:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Multi-Color]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=744</guid>
		<description><![CDATA[Multi-colored theme with 3 color schemes. Different two or three column layouts. Lot of options to customize the theme. Fixed-width, paged Navigation and threaded comments. Compatible with wordpress 2.7 and higher upto 2.9. Valid XHTML and CSS. Compatible with IE 7+, Firefox 3.0+, Safari 3.0+, Chrome.
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/12/screenshot.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-847" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/12/screenshot-150x150.png" alt="" width="150" height="150" /></a>Multi-colored theme with 3 color schemes. Different two or three column layouts. Lot of options to customize the theme. Fixed-width, paged Navigation and threaded comments. Compatible with wordpress 2.7 and higher upto 2.9. Valid XHTML and CSS. Compatible with IE 7+, Firefox 3.0+, Safari 3.0+, Chrome.</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/?themedemo=multi-color" target="_blank">Demo</a> <a class="dlink" href="http://wordpress.org/extend/themes/multi-color" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/12/multi-color-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VideoGall Plugin</title>
		<link>http://nischalmaniar.info/2009/10/videogall-plugin/</link>
		<comments>http://nischalmaniar.info/2009/10/videogall-plugin/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 16:05:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[VideoGall]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=732</guid>
		<description><![CDATA[Display a video gallery on your site. Add videos from any site through the admin panel and get a beautiful video gallery with VideoBox effect. Also available are options to edit or delete already added videos
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/10/VideoGall-Plugin.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-851" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/10/VideoGall-Plugin-150x150.png" alt="" width="150" height="150" /></a>Display a video gallery on your site. Add videos from any site through the admin panel and get a beautiful video gallery with VideoBox effect. Also available are options to edit or delete already added videos</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/videos/" target="_blank">Demo</a> <a class="dlink" href="http://wordpress.org/extend/plugins/videogall/" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/10/videogall-plugin/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>iPhoneLike Theme</title>
		<link>http://nischalmaniar.info/2009/09/iphonelike-theme/</link>
		<comments>http://nischalmaniar.info/2009/09/iphonelike-theme/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 16:03:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[iPhoneLike]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=729</guid>
		<description><![CDATA[iPhone look two column theme. Web 2.0 look with big fonts. Tabbed content in sidebar. Fixed-width, widget-ready, translation-ready, paged Navigation and threaded comments. Options available for customizing. Jquery powered comments. Compatible with wordpress 2.7 and higher upto 2.8.5. Valid XHTML and CSS. Compatible with IE 7+, Firefox 3.0+
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/09/iPhoneLike.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-853" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/09/iPhoneLike-150x150.png" alt="" width="150" height="150" /></a>iPhone look two column theme. Web 2.0 look with big fonts. Tabbed content in sidebar. Fixed-width, widget-ready, translation-ready, paged Navigation and threaded comments. Options available for customizing. Jquery powered comments. Compatible with wordpress 2.7 and higher upto 2.8.5. Valid XHTML and CSS. Compatible with IE 7+, Firefox 3.0+</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/?themedemo=iphonelike" target="_blank">Demo</a> <a class="dlink" href="http://wordpress.org/extend/themes/iphonelike" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/09/iphonelike-theme/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Social Web Links Plugin</title>
		<link>http://nischalmaniar.info/2009/08/social-web-links-plugin/</link>
		<comments>http://nischalmaniar.info/2009/08/social-web-links-plugin/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 15:50:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=720</guid>
		<description><![CDATA[Displays beautiful web 2.0 social bookmark icons on your sidebar. Two sizes available for icons 32&#215;32 and 16&#215;16. Three styles of display available.
Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/08/screenshot-11.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-856" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/08/screenshot-11-150x150.png" alt="" width="150" height="150" /></a>Displays beautiful web 2.0 social bookmark icons on your sidebar. Two sizes available for icons 32&#215;32 and 16&#215;16. Three styles of display available.</p>
<p><a class="dlink" href="http://wordpress.org/extend/plugins/social-web-links/" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/08/social-web-links-plugin/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>White Gold Theme</title>
		<link>http://nischalmaniar.info/2009/06/white-gold-theme/</link>
		<comments>http://nischalmaniar.info/2009/06/white-gold-theme/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 15:56:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Gold]]></category>
		<category><![CDATA[White]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=726</guid>
		<description><![CDATA[Stylish theme having three columns with content in center. Fixed-width, widget-ready, translation-ready, paged Navigation and threaded comments. Several options available to customize the theme. Custom description or latest tweet for the header. Add-to-any sharing button available below each post. Compatible with wordpress 2.7 and higher upto 2.8.4. Valid XHTML and CSS
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/06/White-Gold.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-858" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/06/White-Gold-150x150.png" alt="" width="150" height="150" /></a>Stylish theme having three columns with content in center. Fixed-width, widget-ready, translation-ready, paged Navigation and threaded comments. Several options available to customize the theme. Custom description or latest tweet for the header. Add-to-any sharing button available below each post. Compatible with wordpress 2.7 and higher upto 2.8.4. Valid XHTML and CSS</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/?themedemo=white-gold" target="_blank">Demo</a> <a class="dlink" href="http://wordpress.org/extend/themes/white-gold" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/06/white-gold-theme/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Modern-Vintage Theme</title>
		<link>http://nischalmaniar.info/2009/06/modern-vintage-theme/</link>
		<comments>http://nischalmaniar.info/2009/06/modern-vintage-theme/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 15:53:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Modern]]></category>
		<category><![CDATA[Vintage]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=723</guid>
		<description><![CDATA[Beautiful blend of Modern and Vintage web design. Two-column wordpress theme with optional support for Twitter feed in sidebar. Sidebar widget ready and support for plugins. Tested upto WordPress 2.8.4. Valid CSS &#38; XHTML, Compatible with IE 7+, Mozilla 3+, Safari 3+
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/06/Modern-Vintage.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-860" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/06/Modern-Vintage-150x150.png" alt="" width="150" height="150" /></a>Beautiful blend of Modern and Vintage web design. Two-column wordpress theme with optional support for Twitter feed in sidebar. Sidebar widget ready and support for plugins. Tested upto WordPress 2.8.4. Valid CSS &amp; XHTML, Compatible with IE 7+, Mozilla 3+, Safari 3+</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/?themedemo=modern-vintage" target="_blank">Demo</a> <a class="dlink" href="http://wordpress.org/extend/themes/modern-vintage" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/06/modern-vintage-theme/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Carbonize Theme</title>
		<link>http://nischalmaniar.info/2009/05/carbonize-theme/</link>
		<comments>http://nischalmaniar.info/2009/05/carbonize-theme/#comments</comments>
		<pubDate>Fri, 15 May 2009 15:46:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Carbonize]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=717</guid>
		<description><![CDATA[Simple but highly functional two-Column WordPress theme. Tabbed-Content in Sidebar, Threaded comments. No plugins required, Sidebar widget ready. Compatible with WordPress 2.5 and higher. Tested upto WordPress 2.8.2. French, Danish language support. Valid CSS &#38; XHTML, Compatible with IE 7+, Mozilla 2+, Safari 3+
Demo Download
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/05/Carbonize.png" rel="lightbox"><img class="alignleft size-thumbnail wp-image-862" src="http://nischalmaniar.info/wordpress/wp-content/uploads/2009/05/Carbonize-150x150.png" alt="" width="150" height="150" /></a>Simple but highly functional two-Column WordPress theme. Tabbed-Content in Sidebar, Threaded comments. No plugins required, Sidebar widget ready. Compatible with WordPress 2.5 and higher. Tested upto WordPress 2.8.2. French, Danish language support. Valid CSS &amp; XHTML, Compatible with IE 7+, Mozilla 2+, Safari 3+</p>
<p><a class="dlink" href="http://nischalmaniar.info/wpthemes/?themedemo=carbonize" target="_blank">Demo</a> <a class="dlink" href="http://wordpress.org/extend/themes/carbonize" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/05/carbonize-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mac: Cannot Empty Trash</title>
		<link>http://nischalmaniar.info/2009/05/mac-cannot-empty-trash/</link>
		<comments>http://nischalmaniar.info/2009/05/mac-cannot-empty-trash/#comments</comments>
		<pubDate>Sat, 09 May 2009 19:06:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[trash]]></category>

		<guid isPermaLink="false">http://nischalmaniar.info/?p=446</guid>
		<description><![CDATA[How many times you have encountered this message while trying to empty your trash on your Mac : "This operation cannot be completed because the item <filename>.<ext> is in use" ? and you would go crazy trying to delete it but it wouldnt unless you restart your system.]]></description>
			<content:encoded><![CDATA[<p>How many times you have encountered this message while trying to empty your trash on your Mac :</p>
<blockquote><p>&#8220;This operation cannot be completed because the item filename.ext is in use&#8221;</p></blockquote>
<p>and you would go crazy trying to delete it but it wouldn&#8217;t unless you restart your system.<br />
One way to empty trash in this case is:</p>
<p>1) Drag the file from your Trash bin back to the Desktop.</p>
<p>2) Launch a Terminal i.e Go to Application -&gt; Utilities -&gt; Terminal and type the following into the terminal window <strong><span style="text-decoration: underline;">leaving a space after -rf</span></strong></p>
<blockquote><p>cd ~/.Trash &amp;&amp; sudo rm -rf</p></blockquote>
<p>3) Drag that file you wanted to delete from your Desktop to the terminal window and then press Enter.</p>
<p>4) It will ask for your Mac password, so enter your password and press Enter. (Note: On terminal window, when you type the password, you won&#8217;t be able to see it, but the password is being entered. So don&#8217;t panic).</p>
<p>If you followed the steps correctly, then the trash will be emptied.</p>
]]></content:encoded>
			<wfw:commentRss>http://nischalmaniar.info/2009/05/mac-cannot-empty-trash/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
