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

<channel>
	<title>Troidus &#62; Archives</title>
	<atom:link href="http://www.troidus.com/article/feed" rel="self" type="application/rss+xml" />
	<link>http://www.troidus.com/article</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Mon, 27 Oct 2008 14:16:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title></title>
		<link>http://www.troidus.com/article/46</link>
		<comments>http://www.troidus.com/article/46#comments</comments>
		<pubDate>Mon, 27 Oct 2008 14:16:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.troidus.com/article/?p=46</guid>
		<description><![CDATA[This is just an archive of the old troidus. Please head over to troidus.com to view the new blog.
Thank you.
]]></description>
			<content:encoded><![CDATA[<p>This is just an archive of the old troidus. Please head over to <a href="http://troidus.com">troidus.com</a> to view the new blog.</p>
<p>Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/46/feed</wfw:commentRss>
		</item>
		<item>
		<title>Creating review posts</title>
		<link>http://www.troidus.com/article/43</link>
		<comments>http://www.troidus.com/article/43#comments</comments>
		<pubDate>Fri, 24 Nov 2006 17:22:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

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

		<guid isPermaLink="false">http://troidus.com/article/60</guid>
		<description><![CDATA[I have a feature in this blog that I&#8217;ve never used. It&#8217;s a special &#8220;Review&#8221; category. It is styled a little differently than this default post style, and in this article/tutorial, I&#8217;m gonna take you through creating this.
First of all, let&#8217;s think about reviews. Reviews require certain extra elements, not needed in normal posts. These [...]]]></description>
			<content:encoded><![CDATA[<p>I have a feature in this blog that I&#8217;ve never used. It&#8217;s a special &#8220;Review&#8221; category. It is styled a little differently than this default post style, and in this article/tutorial, I&#8217;m gonna take you through creating this.</p>
<p>First of all, let&#8217;s think about reviews. Reviews require certain extra elements, not needed in normal posts. These elements, like ratings, and a cover picture are stuff that you don&#8217;t need in normal posts. So, my recommendation would be to first code your loop without any of these extra stuff. However, you should have a clue as to where these extra elements will go in, so that later, when we add the stuff, it&#8217;ll be easy to find the area and just add the snippets of code.</p>
<div class="update">You have to update 2 files for this to take the full effect, index.php and single.php</div>
<div class="update"> Moron that I am, I completely forgot to tell that while you can place these bits of codes anywhere, they _must_ be placed within the loop to function.</div>
<p>First off, you&#8217;ll need a plugin to get this to work. Go and download the plugin &#8220;<a href="http://www.coffee2code.com/wp-plugins/#getcustom">Get custom Field values</a>&#8221; from Scott Reilly&#8217;s <a href="http://www.coffee2code.com">coffeecode</a> site, a really great resource for great WP plugins.</p>
<p>After installing the plugin, it&#8217;s time to implement it.</p>
<p>Before that, you should know where the picture uploader uploads its pictures in WordPress, cause we&#8217;re going to use it to upload the album covers or what-nots.</p>
<p>Make sure that you upload a single file type only. Otherwise, it won&#8217;t pick them up. I&#8217;m using gifs.<br />
After uploading the album cover of any size, it&#8217;s time to play with custom fields. Write a new custom field with the key &#8216;postimage&#8217; and the value as the name of the image file, without the extension. For example, if you uploaded james_blunt.gif, the value would be just &#8216;james_blunt&#8217;, albeit without the quotes.</p>
<p>Now, insert this piece of code where you want the album cover to be displayed.</p>
<p><codeins="60ca" /></p>
<p>And you'll see the album cover image displayed. Easy as butter!</p>
<p>Now, for ratings. Here, I had already uploaded the madatory _star graphics_ required for ratings. I made 10 graphics, although there is no restriction to how many you can use. Hell, use a 100 star system!! Ok, so, I named the files 1.gif, 1.5.gif, 2.gif, and so on and so forth. Easy to remember, easy to use.</p>
<p>To add the stars, create another custom value with the key 'rate' and value as the file name. Again, the value will be 1, 1.5, 2, and so on and so forth. Finally, at the right spot, add the following code:</p>
<p><codeins="60cb" /></p>
<p>And there you go. Your own review system, with no hassles!!<br />
Now, as you most certainly won't want other non-review posts to display the empty <code>img</code> tags, here&#8217;s how you remove them.</p>
<p>Say you have a Review category with id 9, where all your reviews are stored. Cleaning up the tags when not using them is easy enough. Just use the following code, and you&#8217;re all set:</p>
<p><codeins="60cc" /></p>
<p>This uses a simple if statement to check whether a particular post is in the given category (in our case, 9) or not. Then, it serves up the corresponding code.</p>
<p>That's it for this simple tutorial. I hope this is useful to you.</p>
<p>And before I go, I have taken this screenshot of how a review looks at Troidus.</p>
<p><a href="http://www.flickr.com/photos/indranil/305044765/" title="Photo Sharing"><img src="http://static.flickr.com/104/305044765_dfa67107f1.jpg" width="245" height="500" alt="troidus" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/43/feed</wfw:commentRss>
		</item>
		<item>
		<title>ReviewMe review</title>
		<link>http://www.troidus.com/article/42</link>
		<comments>http://www.troidus.com/article/42#comments</comments>
		<pubDate>Fri, 17 Nov 2006 11:00:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://troidus.com/article/59</guid>
		<description><![CDATA[The following post is a sponsored post, paid for by the people at ReviewMe.
As an existing member of Text-link-ads, I was invited to join ReviewMe as soon as it launched, having my site pre-approved. Your site is approved based on factors such as Google PR, Technorati rankings, etc. In other words, if you got through [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The following post is a sponsored post, paid for by the people at <a href="http://reviewme.com">ReviewMe</a>.</strong></p>
<p>As an existing member of Text-link-ads, I was invited to join <a href="http://reviewme.com">ReviewMe</a> as soon as it launched, having my site pre-approved. Your site is approved based on factors such as Google PR, Technorati rankings, etc. In other words, if you got through TLA, you&#8217;re getting in fine here.</p>
<p>ReviewMe is similar in function to PayperPost, which hooks up advertisers looking for buzz for their products with bloggers who earn money by writing a review of the same.<br />
This is a concept that begun quite recently, and looks set to be another good way of making money off your blog.</p>
<p>However, one criticism with PayperPost is that you are not required to indicate which reviews are paid. ReviewMe improves, in my opinion, in this regard, by making it compulsory to indicate that a review is sponsored. This, I believe, is a good move, as readers aren&#8217;t midlead into thinking that reviews are unbiased.</p>
<p>However, as with all products like this, there will be criticism. There are people who feel that sponsored reviews take away from the value of a blog. I, however, feel that if the review is well written, and is authentic, it should, in fact, give bloggers some much needed help in keeping up with hosting costs. Of course, how authentic this remains still has to be seen. For the moment, though, I&#8217;m impressed with it.</p>
<p>Also, this may help bloggers get more content across to readers. I&#8217;m excited to see where this heads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/42/feed</wfw:commentRss>
		</item>
		<item>
		<title>Is this a good start?</title>
		<link>http://www.troidus.com/article/41</link>
		<comments>http://www.troidus.com/article/41#comments</comments>
		<pubDate>Mon, 13 Nov 2006 03:09:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://troidus.com/article/55</guid>
		<description><![CDATA[I&#8217;m trying to write a story. Don&#8217;t know how it&#8217;s headed, and am too embarassed to show it to anyone in the family. So, guys and gals, is this an ok start or a pathetic excuse for one?
As the bus stopped, I hurried inside, trying to keep myself as dry as I could from the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to write a story. Don&#8217;t know how it&#8217;s headed, and am too embarassed to show it to anyone in the family. So, guys and gals, is this an ok start or a pathetic excuse for one?</p>
<blockquote><p>As the bus stopped, I hurried inside, trying to keep myself as dry as I could from the rain that had engulfed the city. The battery must&#8217;ve been running low, cause all the lghts in the bus was out, and it was completely dark. The outlines of the fellow passengers made themselves felt as I made my way towards the rear.</p></blockquote>
<p>And for a writing software, I don&#8217;t use Word or anything like that. My choice consists of 2 apps, both great for writing. The first app, where I write, is <a href="http://www.hogbaysoftware.com/product/writeroom">WriteRoom</a>. It&#8217;s free, it&#8217;s cool, and best of all, it covers the entire screen, so that you can mute the volume and write away without any distractions. After that, I copy paste the stuff to <a href="http://flyingmeat.com/voodoopad.html">VoodooPad</a>, simply for the fact that I adore this software! And also that I need to save the file to a place from where I can write it to my backup discs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/41/feed</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft to fork over $1 to Universal per Zune sold</title>
		<link>http://www.troidus.com/article/40</link>
		<comments>http://www.troidus.com/article/40#comments</comments>
		<pubDate>Sun, 12 Nov 2006 06:34:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Crapbag]]></category>

		<guid isPermaLink="false">http://troidus.com/article/54</guid>
		<description><![CDATA[So, yeah. I thought it was a prank at first, but it&#8217;s not! Microsoft will actually pay $1 to Universal for every Zune they sell. But unlike some who think that they&#8217;re doing it just to screw with Apple, I think what Mr. Gruber wrote here is the actual reason.
Microsoft is used to being the [...]]]></description>
			<content:encoded><![CDATA[<p>So, yeah. I thought it was a prank at first, but it&#8217;s not! Microsoft will actually pay $1 to Universal for every Zune they sell. But unlike some who think that they&#8217;re doing it just to screw with Apple, I think what Mr. Gruber <a href="http://daringfireball.net/2006/11/buy_that_for_a_dollar">wrote here</a> is the actual reason.<br />
Microsoft is used to being the company which twists others arms, and is known to have made more than one cunning moves to gain market share for its products. This trend is so deep set, that when it&#8217;s actually Microsoft&#8217;s arm that&#8217;s being twisted, we don&#8217;t see it. Here, Universal is acting the bully. They see that Microsoft is in no position to bargain with them, and they impose a $1 per Zune as a payment  to “offset the revenue lost due to music piracy”.</p>
<p>WHAT?? John Paczkowski raises a great question in <a href="http://blogs.siliconvalley.com/gmsv/2006/11/steve_jobs_must.html">his article here</a>.</p>
<p>This is nothing more than sheer asshattery from the Universal, and other music label execs.</p>
<p>As Warner Music chief Edgar Bronfman Jr. said :</p>
<blockquote><p>We are selling our songs through iPod, but we don’t have a share of iPod’s revenue. We want to share in those revenue streams. We have to get out of the mindset that our content has promotional value only. We have to keep thinking how we are going to monetize our product for our shareholders.</p></blockquote>
<p>The music execs are really out for getting a chunk off of music players&#8217; sales, and this deal of Universal and Microsoft just goes to show that these labels are out to get as much revenue off as idiotic reasons as possible!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/40/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS Structuring</title>
		<link>http://www.troidus.com/article/39</link>
		<comments>http://www.troidus.com/article/39#comments</comments>
		<pubDate>Tue, 24 Oct 2006 15:52:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://troidus.com/article/52</guid>
		<description><![CDATA[This post from Khaled made me think about the way I write my CSS, have always written my CSS code. I follow the regular one element, one line approach for attributes with more than 2 elements, and a single line for 2 or lesser. I&#8217;ve found that the spacing helps me easily sort through files, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brokenkode.com/archives/css-file-structure/">This post</a> from Khaled made me think about the way I write my CSS, have always written my CSS code. I follow the regular one element, one line approach for attributes with more than 2 elements, and a single line for 2 or lesser. I&#8217;ve found that the spacing helps me easily sort through files, and find some rogue piece of code.</p>
<p>However, structuring doesn&#8217;t end there. There is also positioning elements, comments, and such.</p>
<p>I usually start the file with a little comment, and don&#8217;t usually comment, unless some bugs are encountered, and obviously for the Holly Hack. <img src='http://www.troidus.com/article/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
As for positioning, I&#8217;ve noticed people mostly alphabetize their CSS attributes, but I never found it comfortable finding a letter and placing codes&#8230;<br />
I go from top to bottom. I mean, I follow the XHTML coding. I go from the first id or class encountered, to the last. I don&#8217;t even differentiate between ids or classes. I find having relative CSS codes next to each other a big help when it comes to debugging.</p>
<p>So, am I doing something anti-productive? What do you follow? I wanna know&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/39/feed</wfw:commentRss>
		</item>
		<item>
		<title>Working on a Mac</title>
		<link>http://www.troidus.com/article/38</link>
		<comments>http://www.troidus.com/article/38#comments</comments>
		<pubDate>Wed, 18 Oct 2006 15:38:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Apple]]></category>

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

		<guid isPermaLink="false">http://troidus.com/article/51</guid>
		<description><![CDATA[It&#8217;s been a couple of weeks since I&#8217;ve had my MacBook, and I&#8217;ve almost already forgotten my working style in Windows. Almost.
Anyways, a few observations I&#8217;ve made below:

Adobe Photoshop runs mighty fast, even with the stock 512 MB Ram, provided you&#8217;re not in the mood for some music.
TextMate rocks the socks off any Windows app [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a couple of weeks since I&#8217;ve had my MacBook, and I&#8217;ve almost already forgotten my working style in Windows. Almost.</p>
<p>Anyways, a few observations I&#8217;ve made below:</p>
<ul>
<li>Adobe Photoshop runs mighty fast, even with the stock 512 MB Ram, provided you&#8217;re not in the mood for some music.</li>
<li><a href="http://macromates.com">TextMate</a> rocks the socks off any Windows app ever made!!!</li>
<li>How cool is <a href="http://quicksilver.blacktree.com/">Quicksilver</a>?</li>
<li>The fonts here are about 100% better than Windows.</li>
<li>I love me some glossy screen!</li>
<li>The iSight is the coolest thing!</li>
<li>I&#8217;ve found new respect for magnets</li>
<li>I&#8217;ve already received two death threats from my friends who want the MacBook for themselves!</li>
<li>I miss Black and White 2!</li>
</ul>
<p>Well, I&#8217;m back to some more Mac fun! I&#8217;ll think about something consructive to write later!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/38/feed</wfw:commentRss>
		</item>
		<item>
		<title>Speaker volume in MacBooks</title>
		<link>http://www.troidus.com/article/37</link>
		<comments>http://www.troidus.com/article/37#comments</comments>
		<pubDate>Thu, 12 Oct 2006 13:16:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://troidus.com/article/50</guid>
		<description><![CDATA[While I am Loving my new MacBook, I have a little gripe about the stereo speakers in them. I find them suitable only when you shove your ears into them&#8230;.
After searching the net for a while (apparently, Google isn&#8217;t very happy about people &#8220;googling&#8221;), I found that I wasn&#8217;t alone with the problem. Shawn and [...]]]></description>
			<content:encoded><![CDATA[<p>While I am Loving my new MacBook, I have a little gripe about the stereo speakers in them. I find them suitable only when you shove your ears into them&#8230;.<br />
After searching the net for a while (apparently, Google isn&#8217;t very happy about people &#8220;googling&#8221;), I found that I wasn&#8217;t alone with the problem. <a href="http://sporadicnonsense.com">Shawn</a> and <a href="http://anatolip.com">Anatoli</a> both said that their speakers were very weak. However, some people are supplied with decent ones, like <a href="http://zooibaai.nl/">Rob</a>.</p>
<p>Anyways, after reading a few discussions, it seemed that the sound-card drivers provided by Apple are at fault for the lower than low sound. Some people said that the sound on Windows XP when using Boot Camp is much better, and some recommended <a href="http://rogueamoeba.com/audiohijackpro/">Rogue Amoeba&#8217;s Audio Hijack Pro</a> to get a better kick out of the generic speakers.</p>
<p>So, I gave it a go, and really, what a difference it made! With the right amount of tweaking, I had close to a 100% gain in volume, without losing any quality.</p>
<p><a href="http://www.flickr.com/photos/indranil/267743755/" title="Photo Sharing"><img src="http://static.flickr.com/94/267743755_ffcb56139b.jpg" width="300" height="190" alt="audio hijack pro" /></a></p>
<p>So, if you find yourself pining for a little breathing space around the ears, go try Audio Hijack Pro!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/37/feed</wfw:commentRss>
		</item>
		<item>
		<title>A computer I like&#8230;</title>
		<link>http://www.troidus.com/article/36</link>
		<comments>http://www.troidus.com/article/36#comments</comments>
		<pubDate>Mon, 09 Oct 2006 10:40:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Apple]]></category>

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

		<guid isPermaLink="false">http://troidus.com/article/48</guid>
		<description><![CDATA[
A picture is worth a 1000 words. So, to save you some boredom, and me some typing (which, frankly, with this new baby, I don&#8217;t mind), I finally have one!
Guys, meet Emma. Emma, guys. I&#8217;m so happy!
In other news, I updated the blog again. Joy!
Happiness all around 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/indranil/262342296/" title="Photo Sharing"><img src="http://static.flickr.com/88/262342296_fa31532b02.jpg" width="300" height="210" alt="WEEEEEEEEEEE!!!!" /></a></p>
<p>A picture is worth a 1000 words. So, to save you some boredom, and me some typing (which, frankly, with this new baby, I don&#8217;t mind), I finally have one!</p>
<p>Guys, meet Emma. Emma, guys. I&#8217;m so happy!</p>
<p>In other news, I updated the blog again. Joy!</p>
<p>Happiness all around <img src='http://www.troidus.com/article/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/36/feed</wfw:commentRss>
		</item>
		<item>
		<title>Indranil 2.0 beta!</title>
		<link>http://www.troidus.com/article/35</link>
		<comments>http://www.troidus.com/article/35#comments</comments>
		<pubDate>Mon, 21 Aug 2006 18:45:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Me]]></category>

		<guid isPermaLink="false">http://troidus.com/article/46</guid>
		<description><![CDATA[Ok, so, I stole a title from Kitta. Shut up.. It&#8217;s my day, and I&#8217;ll do what I like. Or not.
So, I&#8217;m officially 20. No longer a teen, an immature adult now.
Here&#8217;s to new blunders, new adventures, and new.. er.. things!
 

]]></description>
			<content:encoded><![CDATA[<p>Ok, so, I stole a title from <a href="http://kitta.net">Kitta</a>. Shut up.. It&#8217;s my day, and I&#8217;ll do what I like. Or not.</p>
<p>So, I&#8217;m officially 20. No longer a teen, an immature adult now.</p>
<p>Here&#8217;s to new blunders, new adventures, and new.. er.. things!<br />
 <img src='http://www.troidus.com/article/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://odeo.com/sendmeamessage/IndranilDasgupta" style="background: none"><img alt="Send Me A Message" style="border: none"  height="94" src="http://odeo.com/img/badge-send-me-cloud-pink.gif" width="221" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.troidus.com/article/35/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
