<?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>Bin-Blog &#187; Web 2.0</title>
	<atom:link href="http://www.bin-co.com/blog/category/web20/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>GIMP Plugin &#8211; Web 2.0 Shadows</title>
		<link>http://www.bin-co.com/blog/2009/07/gimp-plugin-web-2-0-shadows/</link>
		<comments>http://www.bin-co.com/blog/2009/07/gimp-plugin-web-2-0-shadows/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 18:27:02 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[script-fu]]></category>
		<category><![CDATA[shadow]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=319</guid>
		<description><![CDATA[Time to take a break from the WordPress Plugins. This time, its a Gimp Plugin. <a href="http://www.gimp.org/">Gimp, or GNU Image Manipulation Program</a>, is a software for such tasks as photo retouching, image composition and image authoring. Its what we Linux guys use instead of Photoshop. Web 2.0 Shadows is a Gimp Plugin - or as Gimpers call it, a Script-fu.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/web20_shadow.png" alt="Web 2.0 Shadow" title="Web 2.0 Shadow" width="300" height="150" class="aligncenter size-full wp-image-320 intro" align="right" /></p>
<p class="intro">Time to take a break from the WordPress Plugins. This time, its a Gimp Plugin. <a href="http://www.gimp.org/">Gimp, or GNU Image Manipulation Program</a>, is a software for such tasks as photo retouching, image composition and image authoring. Its what we Linux guys use instead of Photoshop. Web 2.0 Shadows is a Gimp Plugin &#8211; or as Gimpers call it, a Script-fu.</p>
<h3><a href='http://www.bin-co.com/blog/wp-content/uploads/2009/07/web20-shadow.scm'>Download Web 2.0 Shadows Script-fu</a></h3>
<p>This plugin will add a shadow to your image and give the full thing a background color of your choice. Why the background? for two reasons&#8230;</p>
<dl>
<dt>JPEG Images</dt>
<dd>they don&#8217;t support transparency &#8211; they need some background.</dd>
<dt>IE6</dt>
<dd>I created this plugin years ago &#8211; just never got around to realeasing it. When I created it, IE6 was still used &#8211; and it did not support Alpha Transparency in PNG images. So a background was needed.</dd>
</dl>
<h2>Samples/Screenshots</h2>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/interface.png" alt="interface" title="interface" width="459" height="489" class="aligncenter size-full wp-image-321" /></p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/Serenityship.jpg" alt="Serenity Ship With Shadow" title="Serenity Ship With Shadow" width="430" height="276" class="aligncenter size-full wp-image-322" /></p>
<p>Almost all the pictures that appear in any of my blogs has been treated with Web 2.0 Shadow plugin. If you don&#8217;t believe me, take a <a href="http://blog.binnyva.com/2009/05/useless-skills-ability-to-spell-part-1-english/" title="Useless Skills Part 3: Ability to Spell, English">look</a> at <a href="http://blog.binnyva.com/2008/07/18-days-to-darkness/" title="18 Days to Darkness">few</a> of my <a href="http://lindesk.com/2009/06/top-4-terminal-gui-applications/" title="Top 4 Terminal GUI Applications">old</a> <a href="http://twitterkerala.com/tweetup/cochin-tweetup-5-report/" title="Cochin Tweetup #5 Report">posts</a>.</p>
<h2>Installation</h2>
<p>To install the script, download the .scm file and follow the <a href="http://docs.gimp.org/en/install-script-fu.html">installation procedures</a> specified in the Gimp documentation. This should work on both Windows and Linux.</p>
<h2>Gimp</h2>
<p>I have written a series on creating <a href="http://binnyva.blogspot.com/2007/01/creating-web-20-graphics-in-gimp.html">Web 2.0 style graphics in Gimp</a>. If you are interested in Gimp, take a look at that too.</p>
<p>One thing that might interest you &#8211; this plugin is my only program in Scheme. This is the closest I have been to doing any work in Lisp(Scheme is a dialect of Lisp). I hope to change this someday.</p>
<h2>Plugin Week 2</h2>
<p>This plugin is part of the Plugin Week 2 series. <strong class="highlight">Plugin Week is a week when I publish a new plugin each day for an entire week</strong>. I have already one this <a href="http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/">one time</a> &#8211; so this is Plugin Week 2. The plugins released so far&#8230;</p>
<ul>
<li><a href="http://www.bin-co.com/blog/2009/07/plugin-week-2-wordpress-plugin-weather-man/">Weather Man</a></li>
<li><a href="http://www.bin-co.com/blog/2009/07/minicart-wordpress-plugin-shopping-cart-for-wordpress/">MiniCart WordPress Plugin</a></li>
<li><a href="http://www.bin-co.com/blog/2009/07/gallifrey-image-gallery-wordpress-plugin/">Gallifrey WordPress Plugin</a></li>
</ul>
<p>If you want to get news about the upcoming plugin releases(remember, 1 per day), please <strong class="highlight"><a href="http://feeds2.feedburner.com/bin-blog">subscribe to this site</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2009/07/gimp-plugin-web-2-0-shadows/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hello Script for C Language</title>
		<link>http://www.bin-co.com/blog/2008/07/hello-script-for-c-language/</link>
		<comments>http://www.bin-co.com/blog/2008/07/hello-script-for-c-language/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 17:41:49 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[hello]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[scirpt]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=116</guid>
		<description><![CDATA[C &#8211; the root of all modern language&#8217;s syntax. Here is the hello script for C. A &#8216;Hello Script&#8216; is a file that contains the most commonly used elements of a programming language so that it can be used as a cheat sheet when working with that language. C is a general-purpose, block structured, procedural, [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">C &#8211; the root of all modern language&#8217;s syntax. Here is the hello script for C. A &#8216;<a href="http://www.bin-co.com/blog/2008/03/learning-a-new-programming-language-the-hello-world-method/">Hello Script</a>&#8216; is a file that contains the most commonly used elements of a programming language so that it can be used as a cheat sheet when working with that language.</p>
<blockquote><p>C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie. Although C was designed for implementing system software, it is also widely used for applications. It is widely used on a great many different software platforms and computer architectures, and several popular compilers exist.</p>
<p><a href="http://en.wikipedia.org/wiki/C_(programming_language)">Wikipedia</a></p></blockquote>
<p>Unfortunately, I am not an expert in C &#8211; I prefer dynamic languages over static ones. So if you find any problems in the script, please let me know in the comments.</p>
<pre><code class="c">
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;

// Function declaration
void hello(char name[]) {
 	char result[50] = "Hello, ";
 	strcat(result, name);
 	printf("%s\n", result);
}

int main() {
	int i;
	// Printing(IO)
	printf("Hello World!\n");

	// Variables, concatenation
	char name[] = "Binny";
	int year = 2008;
	printf("Hello, %s - welcome to %d\n", name, year);

	//If, else
	if (year &gt; 2008) {
		printf("Welcome to the future - yes, we have flying cars!");
	}
	else if(year &lt; 2008) {
		printf("The past - please don't change anything. Don't step on any butterflies. And for the sake of all that's good and holy, stay away from your parents!");
	}
	else {
		printf("Anything wrong with your time machine? You have not gone anywhere, kiddo.");
	}
	printf("\n");

	// For loop
	for(i=0; i&lt;3; i++) {
		printf("%d) Hi there!\n", i);
	}

 	//Numerical Array, while
 	char rules[3][20]; //I am sure there is a better way of doing this using poiters. If you know, please leave a few 'pointers' in the comment.
 	strcpy(rules[0], "Do no harm");
 	strcpy(rules[1], "Obey");
 	strcpy(rules[2], "Continue Living");
 	i=0;
	while(i&lt;3) {
		printf("Rule %d : %s\n", i+1, rules[i]);
		i++;
	}

	// Struct - nearest thing C has to an associated array
	struct structure {
		char hello[20];
		int number;
		char foo[20];
	} associated, new_associated;
	strcpy(associated.hello, "world");
	associated.number = 1337;
	strcpy(associated.foo, "bar");
	printf("hello: %s\n", associated.hello);
	printf("number: %d\n", associated.number);
	printf("foo: %s\n", associated.foo);

	// Function calling
	hello("John Oldman");

	// Writing to a file
 	FILE *out;
 	out = fop<!-- fix wordpress bug -->en("/tmp/Hello.txt", "w");
 	char *str = "Hello From C";
 	fputs(str, out);
 	fclose(out);

	// Reading and displaying a file.
	FILE *in;
	in = fop<!-- fix wordpress bug -->en("Hello.c", "r");
	if (in) {
		while (!feof(in))
			printf("%c",fgetc(in));
	}
	fclose(in);

	// Run a system command.
	sys<!-- fix wordpress bug -->tem("ls");

	return 1;
}
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2008/07/hello-script-for-c-language/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Alertle Launched</title>
		<link>http://www.bin-co.com/blog/2008/02/alertle-launched/</link>
		<comments>http://www.bin-co.com/blog/2008/02/alertle-launched/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 18:22:43 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Sites]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[alertle]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[reader]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2008/02/alertle-launched/</guid>
		<description><![CDATA[I am one of the geeks behind Alertle. Its a web based RSS Reader. I am responsible for a good amount of the JavaScript areas of this app Features Single Page Application The entire application is contained in a single page &#8211; everything is done through Ajax. I will not advice that you make something [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.alertle.com/' title='Alertle Screenshot'><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/02/alertle_screenshot.jpg' alt='Alertle Screenshot' class="intro" align="right" /></a></p>
<p class="intro">I am one of the geeks behind <a href="http://www.alertle.com/">Alertle</a>. Its a web based RSS Reader. I am responsible for a good amount of the JavaScript areas of this app <img src='http://www.bin-co.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>Features</h2>
<dl>
<dt>Single Page Application</dt>
<dd>The entire application is contained in a single page &#8211; everything is done through Ajax. I will not advice that you make something like this(its a maintenance nightmare) but I can say one thing about it &#8211; its Cool. With a capital &#8216;C&#8217;.</dd>
<dt>Keyboard Shortcuts</dt>
<dd>I got the idea of creating a <a href="http://www.openjs.com/scripts/events/keyboard_shortcuts/">Keyboard Shortcut Library for JavaScript</a> when I was working on this feature.</dd>
<dt>Autoplay</dt>
<dd>You can view articles as you are viewing a slideshow if you enable this.</dd>
<dt>Feedpacks</dt>
<dd>You can bunch a group of feeds together into a feedpack &#8211; and see all the posts from such a group together.</dd>
<dt>Sharing</dt>
<dd>You can share your feedpacks with other users</dd>
</dl>
<h3>Perfect for High Volume Feeds</h3>
<p>There is one major feature that sets Alertle appart from other RSS readers &#8211; it does not tell you if a post is read or not. Yeah, first you will think its a missing feature &#8211; but its not. I have used a lot of feed readers &#8211; once you subscribe to a couple of high volume feed &#8211; like say, BoingBoing or Slashdot or something, you can say goodbye to your sanity. It creates so many new items that the only way of staying away the mess is to click on the &#8216;Mark all as read&#8217; button once every four seconds. You know what I mean &#8211; I am sure <a href="http://www.problogger.net/archives/2007/03/01/34-reasons-why-readers-unsubscribe-from-your-blog/">you have unsubscribed from many feeds for this reason.</a></p>
<p>With alertle, you can subscribe all these high volume feeds. And there is no pressure to view all the posts.</p>
<p>If you are an info junkie, I can guaranty that your will get lost for hours in Alertle.</p>
<h2>Problems</h2>
<h3>IE is not Supported</h3>
<p>We are still working on this &#8211; and due to deadline constraints, we decided to release Alertle without IE support. So if you are an IE user, I am sorry &#8211; but What in the World are you Doing? Ditch that terrible browser and get a <a href="http://www.mozilla.com/en-US/firefox/">real browser</a> right now!</p>
<p>If we can get a few people to switch to firefox before we add support for IE, I will say that Alertle gone beyond and above the call of duty to make the web a better place! <img src='http://www.bin-co.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<h3>Posts don&#8217;t have a Read Flag (pun unintended)</h3>
<p>Um., yeah, I know &#8211; this is both an advantage and a disadvantage. This will prevent me from using Alertle for all my feeds. For my must-read feeds, I will still be using Google Reader. For the high volume stuff, I will use Alertle.</p>
<h2>Getting to Know Alertle</h2>
<p>So, what are you waiting for? Head over to Alertle and sign up for an account. Its FREE!</p>
<p>But if you are still unconvinced, here is a demo&#8230;</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ztQJ4ec1aWs&amp;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/ztQJ4ec1aWs&amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<h2>Links</h2>
<ul>
<li><a href="http://www.alertle.com/">Alertle</a></li>
<li><a href="http://mashable.com/2008/02/07/alertle/">Masable&#8217;s take on Alertle</a></li>
<li><a href="http://blog.alertle.com/">Alertle Blog</a></li>
<li><a href="http://wiki.alertle.com/">Alertle Docs</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2008/02/alertle-launched/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Defining Web 2.0 &#8211; At 3 Levels</title>
		<link>http://www.bin-co.com/blog/2008/01/defining-web-20-at-3-levels/</link>
		<comments>http://www.bin-co.com/blog/2008/01/defining-web-20-at-3-levels/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 19:08:11 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hype]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2008/01/defining-web-20-at-3-levels/</guid>
		<description><![CDATA[Web 2.0 &#8211; almost everyone have heard the term &#8211; but few are sure about its meaning. Unfortunately, it cannot be defined easily. People in different fields have their own unique definitions for the term. In this article, I will attempt to define the term at three different level &#8211; the Philosophy, the Technology and [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/web20.png' alt='Web 2.0' class="intro" align="right" /></p>
<p class="intro">Web 2.0 &#8211; almost everyone have heard the term &#8211; but few are sure about its meaning. Unfortunately, it cannot be defined easily. People in different fields have their own unique definitions for the term. In this article, I will attempt to define the term at three different level &#8211; the Philosophy, the Technology and the Design.</p>
<p><strong>Disclaimer</strong>: Before anyone reacts violently to the term Web 2.0, let me make myself very clear&#8230;<br />
<strong class="highlight">Web 2.0 is an <a href="http://blog.binnyva.com/2007/07/what-is-web-20/">ambiguous buzz word</a></strong>. It has been used and abused so many times that it <strong class="highlight">does not have a consistent meaning</strong> &#8211; so people are free to interpret it as they see fit. And this is how I interpret it.</p>
<h2>Philosophy</h2>
<p>The design philosophy of a web site can make it a Web 2.0 site. This is perhaps the key difference between a Web 1.0 site and a Web 2.0 site&#8230;</p>
<p>Web 1.0 is a web site where there is a <strong class="highlight">one way communication between the web master to the visitor</strong>. A Web 2.0 site is a site where the <strong class="highlight">visitors can communicate with each other</strong>.</p>
<p>For example, compare the Encyclopedia Britannica to Wikipedia. In Encyclopedia Britannica, the web master creates the content and gives it to the visitor &#8211; the visitor has no way of talking back. But in Wikipedia, the visitor create the content for other visitors.</p>
<h2>Technology</h2>
<p>The keyword here is &#8220;Internet as a platform&#8221;. In Web 2.0, the <strong class="highlight">net became the platform rather than just a data transfer mechanism</strong>. For a simple example, when you visit a site, the videos in it come from YouTube, the images from Flickr, the search is done using Google API and you can bookmark pages using the API from del.icio.us.</p>
<p>Some technologies that are described as Web 2.0&#8230;</p>
<ul>
<li>Ajax</li>
<li>Valid Markup</li>
<li><a href="http://microformats.org/">Microformats</a></li>
<li>Tagging, Tag Clouds</li>
<li>APIs</li>
<li>Feeds</li>
<li>Mashups</li>
</ul>
<p>Some features that makes a technology Web 2.0&#8230;</p>
<dl>
<dt>Speed</dt>
<dd>For example, <a href="http://www.openjs.com/ajax/tutorial/">Ajax</a> makes simple tasks much faster.</dd>
<dt>Ease of Use</dt>
<dd>A good example of this is Tagging. It is a much easier approach when compared to hierarchies.</dd>
<dt>Enabling Mashups</dt>
<dd>APIs, Feeds, etc. makes this possible.</dd>
<dt>Bringing Web Apps closer to the Desktop</dt>
<dd>Ajax, AIR, etc.</dd>
</dl>
<h2>Design</h2>
<p>This is perhaps the only area where the term Web 2.0 can be defined with a reasonable level of accuracy. A site with a Web 2.0 design is one that has at least some of these elements&#8230;</p>
<h3>Simple Design</h3>
<p><a href="http://www.stonewall.co.za/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/stonewall.jpg' alt='Stonewall' /></a></p>
<h3>Lots of white space</h3>
<p><a href="http://browsehappy.com/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/browsehappy.jpg' alt='Browse Happy' /></a></p>
<h3><a href="http://www.bin-co.com/blog/2007/12/a-secret-source-for-great-free-icons-for-your-desktop-and-web-apps/">Nice Icons</a></h3>
<p><a href="http://www.37signals.com/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/37signal_icons.jpg' alt='37Signal Icons' /></a></p>
<h3>Violators/Badges/Star Flashes</h3>
<p><a href="http://www.alistapart.com/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/alistapart.jpg' alt='A List Apart Violator' /></a></p>
<h3>Big Fonts</h3>
<p><a href="http://www.37signals.com/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/37signals.jpg' alt='37Signal Font' /></a></p>
<h3>Gradients</h3>
<p><a href="http://www.stonewall.co.za/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/stonewall.jpg' alt='Stonewall' /></a></p>
<h3>Reflections</h3>
<p><a href="http://www.curve2.com/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/curve2.jpg' alt='Curve 2 Reflections' /></a></p>
<h3>Shadows</h3>
<p><a href="http://www.bin-co.com/blog/"><img src='http://www.bin-co.com/blog/wp-content/uploads/2008/01/shadows.png' alt='Shadows' /></a></p>
<h3>And More&#8230;</h3>
<p><a href="http://www.webdesignfromscratch.com/web-2.0-design-style-guide.cfm">Web 2.0 Design Style Guide</a></p>
<h2>For More Information</h2>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Web_2.0">Web 2.0 Wikipedia</a></li>
<li><a href="http://www.paulgraham.com/web20.html">Web 2.0</a></li>
<li><a href="http://www.oreillynet.com/pub/a/oreilly/tim/news/2005/09/30/what-is-web-20.html">What Is Web 2.0</a></li>
<li><a href="http://radar.oreilly.com/archives/2005/08/not_20.html">Not 2.0?</a></li>
<li><a href="http://www.webdesignfromscratch.com/web-2.0-design-style-guide.cfm">Web 2.0 Design Style Guide</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2008/01/defining-web-20-at-3-levels/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Installing the acts_as_taggable Rails Plugin</title>
		<link>http://www.bin-co.com/blog/2007/12/installing-the-acts_as_taggable-rails-plugin/</link>
		<comments>http://www.bin-co.com/blog/2007/12/installing-the-acts_as_taggable-rails-plugin/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 17:04:58 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[acts_as_taggable]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/12/installing-the-acts_as_taggable-rails-plugin/</guid>
		<description><![CDATA[You don&#8217;t have to write a lot of code to get tagging support in your Ruby on Rails application &#8211; you just have to install a plugin. This is how you install the &#8216;acts_as_taggable&#8217; plugin&#8230; First go to the Ruby on Rails application folder and open a terminal at that location. Now run this commad&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">You don&#8217;t have to write a lot of code to get tagging support in your Ruby on Rails application &#8211; you just have to install a plugin. This is how you install the &#8216;acts_as_taggable&#8217; plugin&#8230;</p>
<p>First go to the Ruby on Rails application folder and open a terminal at that location. Now run this commad&#8230;</p>
<p><code class="cli">ruby script/plugin install acts_as_taggable</code></p>
<p>If your have previously installed some plugins from the same repository, that command will work. If not, you will get this error&#8230;</p>
<p><code>Plugin not found: ["acts_as_taggable"]</code></p>
<p>This is because the &#8216;acts_as_taggable&#8217; plugin is not in any of the repositories you check. To see the all the repositories on your check list, run this command&#8230;</p>
<p><code>ruby script/plugin list  	#Shows the list of all the repositories you check.</code></p>
<p>To add new repositories to your list, you have to run this command&#8230;</p>
<p><code>ruby script/plugin discover</code></p>
<p>This will shows a list of repositories &#8211; just press &#8216;y&#8217; to select all the repositories you need. I added every repository in the list.</p>
<p>Now run the first command again&#8230;</p>
<p><code>ruby script/plugin install acts_as_taggable</code></p>
<h2>Installing the Gem</h2>
<p>The above instructions are for installing the acts_as_taggable plugin &#8211; not the acts_as_taggable gem. To install the gem run the command&#8230;</p>
<p><code>gem install acts_as_taggable</code></p>
<h2>Related Links</h2>
<ul>
<li><a href="http://wiki.rubyonrails.com/rails/pages/ActsAsTaggablePluginHowto">Acts As Taggable Plugin Howto</a></li>
<li><a href="http://nubyonrails.com/articles/the-complete-guide-to-rails-plugins-part-i">The Complete Guide to Rails Plugins</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/12/installing-the-acts_as_taggable-rails-plugin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A Secret Source for Great Free Icons for your Desktop and Web Apps</title>
		<link>http://www.bin-co.com/blog/2007/12/a-secret-source-for-great-free-icons-for-your-desktop-and-web-apps/</link>
		<comments>http://www.bin-co.com/blog/2007/12/a-secret-source-for-great-free-icons-for-your-desktop-and-web-apps/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 19:31:37 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Sites]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/12/a-secret-source-for-great-free-icons-for-your-desktop-and-web-apps/</guid>
		<description><![CDATA[Desktop and Web application needs icons. Icons make the app more usable than an all-text application. If you are building a desktop application, your framework may provide some stock icons. But if you are making a web application, you will need external icons. I have seen a lot of pages that lists many icon sets&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">Desktop and Web application needs icons. <a href="http://www.oreillynet.com/mac/blog/2006/01/icons_usability_and_computers.html">Icons make the app more usable</a> than an all-text application. If you are building a desktop application, your framework may provide some stock icons. But if you are making a web application, you will need external icons.</p>
<p>I have seen a lot of pages that lists many icon sets&#8230;</p>
<ul>
<li><a href="http://www.smashingmagazine.com/2007/11/29/icons-for-your-desktop-and-icons-for-your-web-designs/">Icons For Your Desktop and Icons For Your Web Designs</a></li>
<li><a href="http://www.dapino-webdesign.nl/blog/?p=148">Quality mini icons</a></li>
<li><a href="http://garcya.us/blog/90-free-vector-icons-set/">90 Free Vector Icons Set</a></li>
<li><a href="http://www.designvitality.com/blog/2007/11/free-icons/">The Top 50 Sources for Free Designer Icons</a></li>
<li><a href="http://www.dezinerfolio.com/2007/09/25/top-50-supercool-free-icon-sets/">Top 50 Supercool Free Icon Sets</a></li>
<li><a href="http://www.smashingmagazine.com/2006/09/03/symbols-buttons-and-icons-for-free/">Symbols, Buttons and Icons For Free</a></li>
<li><a href="http://www.smashingmagazine.com/2006/12/03/more-symbols-buttons-and-icons-for-free/">More Symbols, Buttons and Icons For Free</a></li>
<li><a href="http://icons.primail.ch/">Free Tiny Small Mini Icons Bullets</a></li>
<li><a href="http://www.iconfinder.net/">Icon Finder &#8211; a search engine for icons</a></li>
</ul>
<p>But when I want some icons I have a better place to look.</p>
<p><a href="http://www.kde-look.org/index.php?xsortmode=high&amp;page=0&amp;xcontentmode=22x27">KDE</a> and <a href="http://www.gnome-look.org/index.php?xsortmode=high&amp;page=0&amp;xcontentmode=120">Gnome</a> Icon themes.</p>
<p>I prefer using these icons because of the following reasons&#8230;</p>
<h3>Multiple Size Icons</h3>
<p>Most themes provide the same icon in various sizes. The available sizes are 128&#215;128, 64&#215;64, 48&#215;48, 32&#215;32, 24&#215;24, 22&#215;22, 16&#215;16 and sometimes even a <strong>scalable SVG set</strong>. Not all themes have all the sizes &#8211; but most have. I don&#8217;t have to tell you how useful this is.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/12/different_sizes.png' alt='Multiple Size Icons' /></p>
<h3>Lots of Choice</h3>
<p><a href="http://www.kde-look.org/index.php?xsortmode=high&amp;xcontentmode=22x27">KDE Look Icons page</a> have 86 pages with 15 icon themes per page. That makes a total of <strong>1290 icon sets</strong>. And I am not counting the Gnome Look Icons.</p>
<p>That&#8217;s a lot of choice. Granted, not all will be good. Not all will have the icon I am searching for. Not all have the size I way want. There will be some duplication. But its still a lot.</p>
<h3>Free &#8211; in both sense of the word</h3>
<p>Most of these icons uses <strong>GPL and LGPL licenses</strong>. So you can use if for your application without paying for them. You can modify them. You can share it with others. You can&#8230; you get the idea. The point is there are no restrictions.</p>
<p>Even if you are building a proprietary application, I think you can use the icons because you are not compiling it into the application. But <strong>I am not sure about that</strong> &#8211; if anyone reading this knows, please leave a comment.</p>
<p>I have to warn you that not all icons sets use these licenses &#8211; so make sure you <strong>look at the license of an icon set before using it</strong>.</p>
<h3>Great Icons</h3>
<p>Most of the icons are created by <a href="http://www.oxygen-icons.org/">professional designers</a>. Sure there are some duds among the collection &#8211; but the majority of them are good.</p>
<h2>Some Recommended Icon Sets</h2>
<h2><a href="http://www.kde-look.org/content/show.php/Crystal+Project?content=60475">Crystal Project</a></h2>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/12/crystal_project.png' alt='Crystal Project' /></p>
<h2><a href="http://www.kde-look.org/content/show.php/Nuvola?content=5358">Nuvola</a></h2>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/12/nuvola.png' alt='Nuvola' /></p>
<h2><a href="http://www.kde-look.org/content/show.php/Crystal+Diamond+Icons?content=45576">Crystal Diamond</a></h2>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/12/crystal_diamond.png' alt='Crystal Diamond' /></p>
<h2><a href="http://www.kde-look.org/content/show.php/black+%2B+white+icons?content=24645">black + white icons</a></h2>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/12/black_white.jpg' alt='Black White' /></p>
<h2><a href="http://www.kde-look.org/content/show.php/Crystal+Clear?content=25668">Crystal Clear</a></h2>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/12/crystal_clear.png' alt='Crystal Clear' /></p>
<p>And there are hundreds more for you to find out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/12/a-secret-source-for-great-free-icons-for-your-desktop-and-web-apps/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Keyboard Shortcuts JavaScript Library</title>
		<link>http://www.bin-co.com/blog/2007/07/keyboard-shortcuts-javascript-library/</link>
		<comments>http://www.bin-co.com/blog/2007/07/keyboard-shortcuts-javascript-library/#comments</comments>
		<pubDate>Sat, 21 Jul 2007 18:29:26 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[openjs]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/07/keyboard-shortcuts-javascript-library/</guid>
		<description><![CDATA[I have created the second version of the JavaScript Shortcut Library. It is one of my more popular scripts. This script eases the work involved in making shortcuts in JavaScript. Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">I have created the second version of the <a href="http://www.openjs.com/scripts/events/keyboard_shortcuts/">JavaScript Shortcut Library</a>. It is one of my more <a href="http://www.dzone.com/links/handling_keyboard_shortcuts_in_javascript.html">popular</a> <a href="http://ajaxian.com/archives/handling-keyboard-shortcuts-in-javascript">scripts</a>. This script eases the work involved in making shortcuts in JavaScript.</p>
<blockquote><p>Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript app. This is because keyboard shortcuts where only used in JavaScript games &#8211; no serious web application used keyboard shortcuts to navigate around its interface. But Google apps like Google Reader and Gmail changed that. So, I have created a function to make adding shortcuts to your application much easier.</p></blockquote>
<h2>Changelog</h2>
<ul>
<li>The single function method was abandoned for an object with two functions</li>
<li>Shortcut Remove function added</li>
<li>New option to disable shortcuts in textarea, input fields.</li>
</ul>
<p>If you are using this script in any of your projects, please switch to the latest version.</p>
<p><a href="http://www.openjs.com/scripts/events/keyboard_shortcuts/v1.php">Previous Version Documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/07/keyboard-shortcuts-javascript-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Application Installer</title>
		<link>http://www.bin-co.com/blog/2007/07/web-application-installer/</link>
		<comments>http://www.bin-co.com/blog/2007/07/web-application-installer/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 18:07:17 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[nexty]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/07/web-application-installer/</guid>
		<description><![CDATA[Almost all distributed web applications has an installer &#8211; it makes installation process easier for the end user. I will try to outline some of the most important things to look out for when creating an installer. Examples of Web Installers WordPress Joomla Nexty I have created an installer for Nexty &#8211; I used the [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">Almost all distributed web applications has an installer &#8211; it makes installation process easier for the end user. I will try to outline some of the most important things to look out for when creating an installer.</p>
<h2>Examples of Web Installers</h2>
<h3><a href="http://wordpress.org/">WordPress</a></h3>
<p><a href='http://www.bin-co.com/blog/wp-content/uploads/2007/07/wordpress.png' title='WordPress Installer Screenshot'><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/07/wordpress.thumbnail.png' alt='WordPress Installer Screenshot' /></a></p>
<h3><a href="http://www.joomla.com/">Joomla</a></h3>
<p><a href='http://www.bin-co.com/blog/wp-content/uploads/2007/07/joomla.png' title='Joomla Installer Screenshot'><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/07/joomla.thumbnail.png' alt='Joomla Installer Screenshot' /></a></p>
<h3>Nexty</h3>
<p>I have created an installer for Nexty &#8211; I used the same installer for <a href="http://www.bin-co.com/blog/2007/05/jus5-light-weight-cms/">Jus5</a> as well. Here&#8217;s a screenshot&#8230;</p>
<p><a href='http://www.bin-co.com/blog/wp-content/uploads/2007/07/nexty.png' title='Nexty Installer Screenshot'><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/07/nexty.thumbnail.png' alt='Nexty Installer Screenshot' /></a></p>
<h2>Functions of an Installer</h2>
<h3>Check Requirements</h3>
<p>If you software needs the GD PHP extension, check for it &#8211; it it is not present, show an error. If any folder must be writable, check for that. Make sure that the user cannot go to the next page without solving all the problems.</p>
<p>Make sure you have provided clear instructions on how to solve the problems &#8211; changing the permission might be easy for you and me &#8211; but the average user will find it very hard.</p>
<h3>Database Connection Details</h3>
<p>The user have to provide this data if our system uses a database.</p>
<ul>
<li>Host</li>
<li>User</li>
<li>Password</li>
<li>Database</li>
</ul>
<p>In some applications, the user must manually enter these data into the config file(for eg. WordPress). In other software, the user have to enter it at the time of installation. For example, Joomla uses this method &#8211; as does my application, <a href="http://nexty.sourceforge.net/">Nexty</a>.</p>
<h3>Create tables and insert initial data</h3>
<p>Check for existing data first &#8211; you don&#8217;t want to delete the existing data when reinstalling the software. This step is necessary only if you are using a Database in your application.</p>
<h3>Save the inputted data</h3>
<p>The user inputted data must be saved &#8211; in my application I just write it to the config file. But for that to work, the config file must have write permission. I also give the user an option to copy the code and place it in the config file themself.</p>
<p>Joomla also writes the values to a config file. However, WordPress inserts the data into the database. The only thing in the config file in wordpress is the database connection details &#8211; which the user must enter manually.</p>
<h3>Disable the Installer</h3>
<p>Make sure that the installer cannot be run after the installation is successfully compleated. This is important for the security of the application. You really don&#8217;t want any Yahoos opening up the install URL of your application and resetting all the data!</p>
<p>The easiest way of doing this is just deleting the installation script/folder. Joomla insists that you remove the installation folder before letting you use the application. In Nexty, removing the installation directory is recommended &#8211; but not enforced.</p>
<p>More on Web Installers in the next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/07/web-application-installer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS Templating System</title>
		<link>http://www.bin-co.com/blog/2007/06/css-templating-system/</link>
		<comments>http://www.bin-co.com/blog/2007/06/css-templating-system/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 09:18:21 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Sites]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[nexty]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/06/css-templating-system/</guid>
		<description><![CDATA[In Nexty I used CSS to create a inexpensive templating system. You can see it in action in the settings page of Nexty. Currently I use it only for changing the icon sets. But you can change the colors and the layout using this system. Before starting, I must say that CSS is not the [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">In <a href="http://nexty.sourceforge.net/">Nexty</a> I used CSS to create a inexpensive templating system. You can see it in action in the settings page of Nexty. Currently I use it only for changing the icon sets. But you can change the colors and the layout using this system.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/06/icons1.png' alt='CSS Templating for Icons' /></p>
<p>Before starting, I must say that CSS is not the most powerful solution for templating. Using a server side solution is much more recommended. But for my purposes, CSS was good enough.</p>
<h2>(X)HTML Code</h2>
<p>If you want to use CSS templating, your app must be semantically valid. In other words, there is no way you can theme a tag soup.</p>
<p>Make sure that the stylesheet used for templating appears at the last. This will make sure that all the rules in the above stylesheets can be overwritten easily. In Nexty, I have a base stylesheet, then the theme stylesheet and at the end the hacks stylesheet&#8230;</p>
<pre><code class="css">&lt;link href="<a href="http://www.bin-co.com/php/programs/apps/nexty/demo/css/style.css">css/style.css</a>" rel="stylesheet" type="text/css" /&gt;
&lt;link href="<a href="http://www.bin-co.com/php/programs/apps/nexty/demo/images/themes/crystal/theme.css">images/themes/crystal/theme.css</a>" rel="stylesheet" type="text/css" /&gt;
&lt;!--[if IE]&gt;
&lt;link rel="stylesheet" href="css/style_ie.css" type="text/css" media="all" /&gt;
&lt;![endif]--&gt;</code></pre>
<h2>PHP Code</h2>
<p>Very little PHP is involved to creating this system &#8211; I depend on it just to change the path of the CSS Stylesheet. The code used is&#8230;</p>
<pre><code class="php">&lt;link href="images/themes/&lt;?=$theme?&gt;/theme.css" rel="stylesheet" type="text/css" /&gt;</code></pre>
<p>The <code>$theme</code> variable will change if the user changes the theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/06/css-templating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iconify Links with CSS</title>
		<link>http://www.bin-co.com/blog/2007/06/iconify-links-with-css/</link>
		<comments>http://www.bin-co.com/blog/2007/06/iconify-links-with-css/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 18:12:49 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[nexty]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/06/iconify-links-with-css/</guid>
		<description><![CDATA[Using icons is a must for all Web 2.0 apps. I have used this principle liberally in Nexty. When I was creating Nexty, I learned a simple trick that made using icons with CSS much easier. Go to Nexty to see the icons 3 Types of Icons I used 3 different classes for showing icons. [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">Using icons is a must for all Web 2.0 apps. I have used this principle liberally in <a href="http://nexty.sourceforge.net/">Nexty</a>. <a href="http://www.bin-co.com/blog/2007/05/what-i-learned-from-nexty/">When I was creating Nexty, I learned</a> a simple trick that made using icons with CSS much easier.</p>
<p>Go to <a href="http://www.bin-co.com/php/programs/apps/nexty/demo/">Nexty</a> to see the icons</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/06/icons.png' alt='Iconification of Links in Nexty' /></p>
<h2>3 Types of Icons</h2>
<p>I used 3 different classes for showing icons. They are..</p>
<h3>icon</h3>
<p>This class removes the text of the link and put the icon in its place. The icon is clickable.</p>
<p>You can see this technique used in the <a href="http://www.bin-co.com/php/programs/apps/nexty/demo/projects/">Projects page</a>. See that &#8216;Edit&#8217;(Pencil) and &#8216;Delete&#8217; icons? They use this class.</p>
<h4>XHTML code</h4>
<pre><code class="html">&lt;a class="icon edit" href="edit.php?project=6"&gt;Rename&lt;a&gt;</code></pre>
<h4>CSS Code</h4>
<pre><code class="css">.icon {
	font-size:0px; /*Hides the text*/
	padding:6px 8px;
}
.edit {
	background:url(edit.png) no-repeat left center;
}</code></pre>
<h3>with-icon</h3>
<p>This class shows the icon left of the link text. Both the icon and the text are clickable.</p>
<p>The &#8216;Create new task&#8217; link in the <a href="http://www.bin-co.com/php/programs/apps/nexty/demo/">home page</a> is an example of this.</p>
<h4>XHTML code</h4>
<pre><code class="html">&lt;a class="with-icon tasks" href="tasks/new.php"&gt;Create New Task...&lt;/a&gt;</code></pre>
<h4>CSS Code</h4>
<pre><code class="css">
.with-icon {
	padding-left:18px;
}
.tasks {
	background:url(tasks.png) no-repeat left center;
}
</code></pre>
<h3>list-with-icon</h3>
<p>This will insert the icon in every item for the given list.</p>
<p>The drop down menus &#8211; Sections, Projects and Contexts are created using this technique.</p>
<h4>XHTML code</h4>
<pre><code class="html">&lt;ul class="menu-with-icon projects"&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;</code></pre>
<h4>CSS Code</h4>
<pre><code class="css">
.list-with-icon li,.list-with-icon dt {
	padding-left:18px;
}
.projects li {
	background:url(projects.png) no-repeat left center;
}
</code></pre>
<h2>Icon Size</h2>
<p>My icons were 16&#215;16 pixels &#8211; if you are using icons with a different size, you will have to change the amount accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/06/iconify-links-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

