<?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/"
	>

<channel>
	<title>Nikhil Kumar</title>
	<atom:link href="http://www.nikhilkumar.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.nikhilkumar.com</link>
	<description>Weblog</description>
	<pubDate>Tue, 31 Mar 2009 02:58:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add notes to an email - Outlook 2007</title>
		<link>http://www.nikhilkumar.com/?p=143</link>
		<comments>http://www.nikhilkumar.com/?p=143#comments</comments>
		<pubDate>Thu, 12 Mar 2009 03:35:57 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Tech]]></category>

		<category><![CDATA[email]]></category>

		<category><![CDATA[notes]]></category>

		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/?p=143</guid>
		<description><![CDATA[






We all have reasons to add a note/comment to an email for future reference. 
Here&#8217;s a trick that you could use to add a note/comment to an email that is only visible to you and doesn&#8217;t get attached to the email while replying/forwarding. All this without an expensive plugin.
If you don&#8217;t use outlook Categories to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<div class="mceTemp mceIEcenter">
<dl id="attachment_170" class="wp-caption aligncenter" style="width: 510px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-170" rel="lightbox" title="Add a Note to an email" src="http://www.nikhilkumar.com/wp-content/uploads/2009/03/outlook_addnote31.jpg" alt="Add a Note to an email" width="500" height="211" /></dt>
</dl>
</div>
<p style="text-align: center;">
<p><span style="padding:5px;font-weight:bold; background-color:#E8E8E8;text-align: center;">We all have reasons to add a note/comment to an email for future reference. </span></p>
<p>Here&#8217;s a trick that you could use to add a note/comment to an email that is only visible to you and doesn&#8217;t get attached to the email while replying/forwarding. All this without an expensive plugin.</p>
<p>If you don&#8217;t use outlook <em>Categories</em><em> </em>to categorize your email, then this is for you. I use custom task folders to organize tasks by a project and use folders to organize email. If you have <a title="Xobni" href="http://www.xobni.com/" target="_blank">Xobni</a>, you won&#8217;t have trouble finding any email.</p>
<p><strong><span style="text-decoration: underline;">Picture speaks louder than words.</span></strong></p>
<p>Open up the email you want to add a comment OR click on the email and click <strong>Categorize<img class="size-full wp-image-146" title="Start by categorizing it" src="http://www.nikhilkumar.com/wp-content/uploads/2009/03/outlook_addnote1.jpg" alt="outlook_addnote1" width="500" height="230" rel="lightbox[outlook]" /> </strong></p>
<p>Click on <em><strong>Add New Category</strong></em> and type the note with a choice of your color<img class="size-full wp-image-147" title="Add a note" src="http://www.nikhilkumar.com/wp-content/uploads/2009/03/outlook_addnote2.jpg" alt="outlook_addnote2" width="500" height="332 rel="lightbox"[outlook]" /></p>
<p>And that&#8217;s all folks.</p>
<p><img class="size-full wp-image-145" title="End Result" src="http://www.nikhilkumar.com/wp-content/uploads/2009/03/outlook_addnote3.jpg" alt="Add note to email" width="500" height="211" /></p>
<p style="padding-left: 60px;">If you want to get fancy, you can customize your Categorize button to say &#8220;Add a note&#8221; and change the icon to something that looks like a post-it. The idea is to use unused features of outlook to your advantage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=143</wfw:commentRss>
		</item>
		<item>
		<title>An Engineer&#8217;s iPhone</title>
		<link>http://www.nikhilkumar.com/?p=69</link>
		<comments>http://www.nikhilkumar.com/?p=69#comments</comments>
		<pubDate>Mon, 15 Sep 2008 07:38:54 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[engineer]]></category>

		<category><![CDATA[engineer's iphone]]></category>

		<category><![CDATA[engineer's toy]]></category>

		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/?p=69</guid>
		<description><![CDATA[
Having an iPhone 3G since the first day of its release, I felt compelled to give &#38; perhaps get an engineer&#8217;s view. All these app&#8217;s are free. Now there are several, possibly, very useful apps on store for a price but then again, I won&#8217;t be covering those.
From how I see it, I can do [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nikhilkumar.com/wp-content/uploads/2008/09/img_iphone2.png" title="iPhone" rel="lightbox[69]"><img class="size-full wp-image-98 alignright" title="iPhone" src="http://www.nikhilkumar.com/wp-content/uploads/2008/09/img_iphone2.png" alt="" width="89" height="169" /></a></p>
<p>Having an iPhone 3G since the first day of its release, I felt compelled to give &amp; perhaps get an engineer&#8217;s view. All these app&#8217;s are free. Now there are several, possibly, very useful apps on store for a price but then again, I won&#8217;t be covering those.</p>
<p>From how I see it, I can do most of the complex calculations on my computer. An iphone provides a portable platform for checking things quick. If it comes at a price, might as well open up my laptop. </p>
<p> </p>
<p><strong>Calculator</strong></p>
<div id="attachment_74" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-74 " title="iPhone Advanced Calculator" src="http://www.nikhilkumar.com/wp-content/uploads/2008/09/iphone_advcalc1.jpg" alt="iPhone Advanced Calculator" width="300" height="200" /><p class="wp-caption-text">iPhone Advanced Calculator</p></div>
<p>iPhone&#8217;s Simple &amp; Advanced Calculator comes to the rescue of those on the spot bulky calculations any day.</p>
<p> </p>
<p><strong>GraphCalc (Plotting 2D Graphs)</strong></p>
<div id="attachment_81" class="wp-caption alignnone" style="width: 210px"><img class="size-medium wp-image-81 " title="Graph Calc" src="http://www.nikhilkumar.com/wp-content/uploads/2008/09/graphcalc-200x300.jpg" alt="Graph Calc" width="200" height="300" /><p class="wp-caption-text">Graph Calc</p></div>
<p>Quite self explanatory. Plots upto four 2D equations superimposed on the graph.</p>
<p> </p>
<p><strong>Units</strong></p>
<p><img class="alignnone size-medium wp-image-106" title="Units" src="http://www.nikhilkumar.com/wp-content/uploads/2008/09/units.gif" alt="" width="200" height="284" /></p>
<p>Convert anything and everything to your desired units.</p>
<p> </p>
<p><strong>iResist</strong></p>
<div id="attachment_93" class="wp-caption alignnone" style="width: 210px"><img class="size-medium wp-image-93" title="iResist" src="http://www.nikhilkumar.com/wp-content/uploads/2008/09/iresist-200x300.jpg" alt="iResist" width="200" height="300" /><p class="wp-caption-text">iResist</p></div>
<p>Having trouble calculating resistance of that odd looking resister in your pocket or perhaps, you need to find out quick which one to use for a desired resistance. iResist is the app for you.</p>
<p> </p>
<p><strong><span style="text-decoration: underline;">Other General Apps</span><br style="text-decoration: underline;" /><span style="font-weight: normal;">Most of you already know about these but worth mentioning to those who are new to the app world:</span></strong></p>
<ul>
<li><strong>Zenbe (Lists)<br />
<span style="font-weight: normal;">Create &amp; manage tasks and lists. Sync&#8217;s over Zenbe server online.<br />
 <strong></strong></span></strong></li>
<li><strong><span style="font-weight: normal;"><strong>Air Sharing / Files<br />
<span style="font-weight: normal;">Transfer files from &amp; to your iphone wirelessly.</span>   </strong></span></strong></li>
<li><strong><span style="font-weight: normal;"><strong>Evernote<br />
<span style="font-weight: normal;">Capture notes through text, audio or photo and sync online to your evernote account. Very useful for capturing graphs, calcs you might have done on paper or on whiteboard.<br />
<strong><br />
</strong></span></strong></span></strong></li>
<li><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong>WhiteNoise<br />
<span style="font-weight: normal;">Ah, not really a productivity app but something makes you productive while doing something else. Provides different sounds for a set timer. </span> </strong></span></strong></span></strong></li>
</ul>
<div>I will cover more apps as it hits the app store. Feel free to share your experiences.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=69</wfw:commentRss>
		</item>
		<item>
		<title>Wisconsin road conditions due to flooding on google maps</title>
		<link>http://www.nikhilkumar.com/?p=39</link>
		<comments>http://www.nikhilkumar.com/?p=39#comments</comments>
		<pubDate>Fri, 13 Jun 2008 16:36:26 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/?p=39</guid>
		<description><![CDATA[WI Dept. of Transportation is updating road conditions on highways on google maps to help travelers and people affected in the disaster areas. This is a great initiative on their part and excellent tool for such purposes. This should help out people looking for a similar map on google.
 RUSH TO GOOGLE MAPS WI HIGHWAY ROAD CONDITONS
 
View Larger Map
]]></description>
			<content:encoded><![CDATA[<p>WI Dept. of Transportation is updating road conditions on highways on google maps to help travelers and people affected in the disaster areas. This is a great initiative on their part and excellent tool for such purposes. This should help out people looking for a similar map on google.</p>
<p> <a title="WI Google maps road conditions" href="http://maps.google.com/maps/ms?hl=en&#038;ie=UTF8&#038;oe=UTF8&#038;msa=0&#038;msid=106714907945366530639.00044f3ec972fee85471d&#038;ll=43.189158,-89.500122&#038;spn=1.874356,3.383789&#038;z=8">RUSH TO GOOGLE MAPS WI HIGHWAY ROAD CONDITONS</a></p>
<p> <br />
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?hl=en&amp;ie=UTF8&amp;oe=UTF8&amp;msa=0&amp;msid=106714907945366530639.00044f3ec972fee85471d&amp;s=AARTsJo6_S1KG-llEIW0XIX5xdiUkLMIbw&amp;ll=43.189158,-89.494629&amp;spn=2.403012,3.295898&amp;z=7&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps/ms?hl=en&amp;ie=UTF8&amp;oe=UTF8&amp;msa=0&amp;msid=106714907945366530639.00044f3ec972fee85471d&amp;ll=43.189158,-89.494629&amp;spn=2.403012,3.295898&amp;z=7&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=39</wfw:commentRss>
		</item>
		<item>
		<title>Orkut adds Status</title>
		<link>http://www.nikhilkumar.com/?p=37</link>
		<comments>http://www.nikhilkumar.com/?p=37#comments</comments>
		<pubDate>Wed, 30 Apr 2008 05:56:07 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[message]]></category>

		<category><![CDATA[orkut]]></category>

		<category><![CDATA[orkut status]]></category>

		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/?p=37</guid>
		<description><![CDATA[Hopefully, orkut users will realize this soon and use what things are supposed to be used for. Mr. Special characters, I hope you're listening!]]></description>
			<content:encoded><![CDATA[<p>Someone at Orkut realized the annoyance that many people brought up including me in the past months about <a title="What's in Name?" href="http://www.nikhilkumar.com/?p=34">misusing orkut display name</a> and introduced the Facebook style <em>status updates</em> to satisfy the appetite of those users. The only downside of this service, for now, is that the update to status doesn&#8217;t show up in updates to your friends. Not sure, why anybody would want this but I&#8217;ve been told several tweens prefer it.</p>
<p><img class="size-full wp-image-36 alignleft" style="float: left;" title="orkut status message" src="http://www.nikhilkumar.com/wp-content/uploads/2008/05/orkut_status.jpg" alt="" width="574" height="121" /></p>
<p>Hopefully, orkut users will realize this soon and use what things are supposed to be used for.</p>
<p>Mr. Special characters @$#, I hope you&#8217;re listening!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=37</wfw:commentRss>
		</item>
		<item>
		<title>Comcast pending disconnect - internet problem</title>
		<link>http://www.nikhilkumar.com/?p=35</link>
		<comments>http://www.nikhilkumar.com/?p=35#comments</comments>
		<pubDate>Wed, 12 Dec 2007 03:05:28 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/?p=35</guid>
		<description><![CDATA[I have Comcast triple play (Cable, Internet &#38; Phone) and have been quite satisfied with the service. I was ready to move out of state and called them to schedule a disconnect on a future date (two weeks away) so I have one less thing to worry about in the actual move. The customer service [...]]]></description>
			<content:encoded><![CDATA[<p>I have <a href="http://www.comcast.com/tripleplay/" target="_blank">Comcast triple play</a> (Cable, Internet &amp; Phone) and have been quite satisfied with the service. I was ready to move out of state and called them to schedule a disconnect on a future date (two weeks away) so I have one less thing to worry about in the actual move. The customer service rep. did an excellent job in scheduling and answering my questions about the remainder of the bill (which is refunded by the way). So, after putting down the phone I was in a bliss thinking that went without a glitch.<img src="http://img240.imageshack.us/img240/3491/oookgg6.gif" alt="OOOK" align="left" border="0" height="241" width="200" /></p>
<p>Well guess what! What she forgot to mention was that by just &#8220;scheduling&#8221; a disconnect they actually disconnect your internet right at that moment. They stop your internet authorization for the service. My internet stopped working almost instantly after putting down the phone and took me back to the comcast authorization page. Ofcourse, the same account can&#8217;t be authorized twice at the same location. So, I called the tech support again and after an hour of transferring and waiting and transferring I finally was able to cancel the scheduled disconnect and that brought the internet back instantly. Something , perhaps, that they should let their customers know while they are scheduling a disconnect.</p>
<p><img src="http://img141.imageshack.us/img141/4204/dohtw0.jpg" alt="D'oh" align="right" border="0" />So folks out there planning to move and thinking of scheduling your service disconnect, keep this in mind - the internet won&#8217;t work! So do it a day or so before you leave.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=35</wfw:commentRss>
		</item>
		<item>
		<title>What&#8217;s in a name?</title>
		<link>http://www.nikhilkumar.com/?p=34</link>
		<comments>http://www.nikhilkumar.com/?p=34#comments</comments>
		<pubDate>Fri, 28 Sep 2007 02:56:42 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[orkut]]></category>

		<category><![CDATA[orkut display name]]></category>

		<category><![CDATA[orkut status message]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/index.php/?p=34</guid>
		<description><![CDATA[A display name is not your daily dose of updates to your friends. It's your name, a name by which people will identify you and your long lost friends will look for you.]]></description>
			<content:encoded><![CDATA[<p><strong><img title="Example of erroneous profile" src="http://img413.imageshack.us/img413/4083/exampleum6.jpg" border="0" alt="Example of erroneous profile" width="380" height="148" align="top" /></strong></p>
<p>A lot! For starters, your identity.  It annoys me like anything when I see &#8220;~Angel of your dreams~&#8221; OR &#8220;Listening to Ga ga&#8230;&#8221; OR &#8220;Happy blah-blah festival&#8221; in people&#8217;s orkut display name.</p>
<p><img title="What's in a name?" src="http://img222.imageshack.us/img222/5994/namest9.jpg" border="0" alt="What's in a name?" hspace="5" vspace="2" align="right" /></p>
<p>A display name is not your daily dose of updates to your friends. It&#8217;s your name, a name by which people will identify you and your long lost friends will look for you.</p>
<p>Wasn&#8217;t this the whole reason why you joined orkut or your fav. social community website? Oh well!</p>
<p>The other day, I was looking for a school friend and couldn&#8217;t find him on orkut searching by any keywords. I knew he had an account on orkut as a friend of mine had mentioned it once. What do I do now? Yes, like most of you do in a similar situation, go through that friend&#8217;s <em>friend list </em>and look for a familiar face. And if that person is using another avatar than his/her picture then you&#8217;re in for a painful experience. 99% of you will probably quit at this step and will wait for your friend to forward the contact to you. If you don&#8217;t have a common friend then you probably assume your long lost friend isn&#8217;t on orkut, only to find out later that your friend existed all along and had decided to change their display name.<br />
<img title="Argh" src="http://img171.imageshack.us/img171/257/arghjp8.gif" border="0" alt="Argh" align="left" /></p>
<p>Argh!!!</p>
<p>If you&#8217;re one of the ~Changed my name for coolness~ people, hope you get the message.</p>
<p><strong>[UPDATE:]</strong></p>
<p><a href="http://www.nikhilkumar.com/?p=37"><em>Orkut status message introduced.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
		<item>
		<title>charamel theme on firefox 2 and thunderbird 2</title>
		<link>http://www.nikhilkumar.com/?p=29</link>
		<comments>http://www.nikhilkumar.com/?p=29#comments</comments>
		<pubDate>Fri, 19 Jan 2007 07:03:54 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/index.php/?p=29</guid>
		<description><![CDATA[[UPDATE July 29, 07]: charamel for FF2 &#38; TB2 is back!!!
http://members.shaw.ca/lucx/
written prior to his release&#8230; 
I held on updating firefox and thunderbird from 1.5 to 2 until now just because there wasn&#8217;t a compatible version of the charamel theme available for with these versions.

lucx did a commendable work with the charamel theme and IMHO there [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[UPDATE July 29, 07]: charamel for FF2 &amp; TB2 is back!!!</strong></p>
<p><a href="http://members.shaw.ca/lucx/" target="_blank">http://members.shaw.ca/lucx/</a></p>
<p><font size="0"><em>written prior to his release&#8230; </em></font></p>
<p><span style="color: #808080">I held on updating firefox and thunderbird from 1.5 to 2 until now just because there wasn&#8217;t a compatible version of the charamel theme available for with these versions.</span></p>
<p><span style="color: #808080"><br />
lucx did a commendable work with the <a href="http://members.shaw.ca/lucx/" target="_blank">charamel theme</a> and IMHO there isn&#8217;t one up to its standard yet. We all thank him for his work! Unfortunately <a href="http://forums.mozillazine.org/viewtopic.php?t=319097&amp;start=165&amp;sid=8eff6c74885eb269a899553e299db73b" target="_blank">he has lost interest in charamel for his own valid reasons</a> and we respect that.</span><br />
<span style="color: #808080"><br />
<strong>N</strong>ow the trick to making charamel work with Firefox/Thunderbird 2.0 is pretty simple. Change the max version number in the install.rdf to any reasonable number above 1.6 in the latest installation charamel jar file.<br />
</span><br />
<span style="color: #808080"><br />
Now you can do this yourself or just download a copy from here. Obviously, there is no guarantee or support that I can offer as this is merely a trick that works with the existing jar file.<br />
</span></p>
<p><span style="color: #808080"><br />
Download: <a href="http://www.nikhilkumar.com/stuff/charamel-1.2b.jar" title="charamel jar file" target="_blank">Click here</a></span></p>
<p><em>Hats off to you lucx for doing such a great work! We all wish you will regain your interest one day and update your theme. All credits are due to lucx, this is not an update.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>Ajax - Overexposure?</title>
		<link>http://www.nikhilkumar.com/?p=26</link>
		<comments>http://www.nikhilkumar.com/?p=26#comments</comments>
		<pubDate>Wed, 23 Aug 2006 07:30:11 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/index.php/?p=26</guid>
		<description><![CDATA[With &#8220;AJAX&#8221; buzzword around, everyone is implementing ajax for every single thing. Most often in places where it&#8217;s not supposed to be used. Places where its use is justified and is powerful include  To-Do lists, Google Maps,etc.
Alex Bosworth talks about &#8220;10 Places You Must Use Ajax&#8221; and places where you shouldn&#8217;t. Its a fairly [...]]]></description>
			<content:encoded><![CDATA[<p>With &#8220;<a href="http://swik.net/Ajax" title="AJAX">AJAX</a>&#8221; buzzword around, everyone is implementing ajax for every single thing. Most often in places where it&#8217;s not supposed to be used. Places where its use is justified and is powerful include  <a href="http://www.tadalist.com/" title="Ta Da List">To-Do lists</a>, <a href="http://maps.google.com/" title="Google Maps">Google Maps</a>,etc.</p>
<p>Alex Bosworth talks about &#8220;10 Places You Must Use Ajax&#8221; and places where you shouldn&#8217;t. Its a fairly good post with good items on the list. A little old post (Dec 05) but useful, for any ajax developer to justify his conscience whether to use ajax or not <img src='http://www.nikhilkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<a href="http://www.sourcelabs.com/blogs/ajb/2005/12/10_places_you_must_use_ajax.html" target="_blank">Rush to his blog post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=26</wfw:commentRss>
		</item>
		<item>
		<title>World&#8217;s Population</title>
		<link>http://www.nikhilkumar.com/?p=24</link>
		<comments>http://www.nikhilkumar.com/?p=24#comments</comments>
		<pubDate>Mon, 17 Apr 2006 01:34:08 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/index.php/?p=24</guid>
		<description><![CDATA[TreeMap - World's Population]]></description>
			<content:encoded><![CDATA[<p>Just came across  &#8220;TreeMap&#8221; - a very innovative way to view World&#8217;s Population in a map like interface.</p>
<p><a href="http://www.hivegroup.com/world.html" target="_blank">TreeMap</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>IPB: Wrap links within &#8220;code&#8221; tags</title>
		<link>http://www.nikhilkumar.com/?p=19</link>
		<comments>http://www.nikhilkumar.com/?p=19#comments</comments>
		<pubDate>Thu, 13 Apr 2006 03:12:05 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.nikhilkumar.com/index.php/?p=19</guid>
		<description><![CDATA[Wrapping links within "code" tags instead of "url" tags]]></description>
			<content:encoded><![CDATA[<p>For those administrators managing an Invision Power Board, it often is a preference to have users post links with &#8220;code&#8221; tags instead of &#8220;url&#8221; tags.</p>
<p>Reason for this? Perhaps, you don&#8217;t want people tracking the referrer of the url.</p>
<p>There are two ways of doing it:<br />
a) Disable links<br />
b) Wrap links around &#8220;code&#8221; tags even if users use &#8220;url&#8221; tags.</p>
<p>Option b) is what I would be delving into. This option lets the user post in any way they like and the links are wrapped with &#8220;code&#8221; tags.</p>
<p>I have tested this on 2.1.x<br />
For step-by-step tutorial, keep reading.<br />
<span id="more-19"></span><br />
<strong>Tutorial</strong></p>
<p><strong><u>Step 1:</u></strong></p>
<ul>
<li>Open &#8220;jscripts\ipb_editor_std.js&#8221; in a text editor like notepad or Dreamweaver.</li>
<li>Find &#8220;function tag_url()&#8221;</li>
<li>Comment out the whole function by putting a &#8220;/*&#8221; before the function and &#8220;*/&#8221; after the function</li>
<li>Paste the following code above it:</li>
</ul>
<p>Note: Please remove the extra space between [ and code (occurrence twice)</p>
<pre lang="javascript">
function tag_url()
{
var FoundErrors = '';
//----------------------------------------
// Do we have ranged text?
//----------------------------------------
if ( check_range() )
{
//----------------------------------------
// Yes, just ask for the URL and wrap
//----------------------------------------
var enterURL = prompt(text_enter_url, "http://");
if ( ! enterURL)
{
alert(error_no_url);
return;
}
wrap_tags( "[ code]'"+enterURL+"]", "[/code]", "" );
}
else
{
var enterURL    = prompt(text_enter_url, "http://");
if ( ! enterURL)
{
FoundErrors += " " + error_no_url;
}
if ( FoundErrors )
{
alert( jsfile_error_lang +FoundErrors);
return;
}
wrap_tags("[ code]"+enterURL+"[/code]", "");
}</pre>
<p><strong><u>Step 2:</u> </strong></p>
<ul>
<li>Open &#8220;sources\classes\bbcode\class_bbcode.php&#8221;</li>
<li>Look for</li>
</ul>
<pre lang="javascript">
$txt = preg_replace( "#[url](S+?)[/url]#ie" , "$this-&gt;regex_build_url(array('html' =&gt; '1', 'show' =&gt; '1'))", $txt );
$txt = preg_replace( "#[urls*=s*\";s*(S+?)s*\";s*](.*?)[/url]#ie" , "$this-&gt;regex_build_url(array('html' =&gt; '1', 'show' =&gt; '2'))", $txt );
$txt = preg_replace( "#[urls*=s*(S+?)s*](.*?)[/url]#ie", "$this-&gt;regex_build_url(array('html' =&gt; '1', 'show' =&gt; '2'))", $txt );</pre>
<ul>
<li>Comment each line out by adding a &#8220;//&#8221; before each line.</li>
<li>Add the following code above it:</li>
</ul>
<pre lang="javascript">$txt = preg_replace( "#[url]#ie", "'['.code.']'", $txt );
$txt = preg_replace( "#[/url]#ie", "'['.'/'.code.']'", $txt );
$txt = preg_replace( "#[code](.+?)[/code]#ies", "$this-&gt;regex_code_tag( '1' )", $txt );</pre>
<p>This modification will do two things:<br />
a) Users will be able to post links just like before except the &#8220;url&#8221; tags will be automatically replaced by &#8220;code&#8221; tags<br />
b) If they manually type in the &#8220;url&#8221; tag it gets replaced by &#8220;code&#8221; tag.</p>
<p>Enjoy! <img src='http://www.nikhilkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Nikhil</p>
<p><strong>Update [04/16/06]:</strong> A better way of removing the referrals would be to destroy it by creating a redirect page that takes the second part of the url string and redirects it to the desired page. The link to this redirection page is appended to each url.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nikhilkumar.com/?feed=rss2&amp;p=19</wfw:commentRss>
		</item>
	</channel>
</rss>
