Monday, June 15, 2009

Adding Categories to Blogs

In case you are wondering how I have got categories on my blog plage, just read this one. I was dying to write on different topics but the thought of putting technical things juxtaposed to travel ones or others made me think of starting another blog for a different topic. But I thought of googling...and bang...some guru has done it already..http://makemoneywithkassper.blogspot.com/2007/06/how-to-add-categories-to-blogger.html

To explain the process in brief, I will tell you how I did it. First make this html script ready in any text editor. For me the script is:

<h2 class="sidebar-title">Categories</h2>
<u1>
<li><a href="http://e-nertia.blogspot.com/search/label/Introduction">Introduction</a></li>
<li><a href="http://e-nertia.blogspot.com/search/label/Technical">Technical</a></li>
<li><a href="http://e-nertia.blogspot.com/search/label/Travel">Travel</a></li>
</u1>

Replace the "http://........blogspot.com" with your blog homepage link and change the names of the topics as you wish(for me they are Introduction, Technical..). Make sure that the term in the link and the actual label are the same.
Now go to the Layout Page. It must be showing a skeleton of your blog page. The part of it that shows your blog archive and profile must also be having a link "Add a Gadget". Click on the link . In the new window that opens, click on the HTML/Java script option. Paste the HTML script that you have written in the text editor into the content box. No title is required. Save the changes. Done.
Now whenever you are writing a post that belongs to a particular topic, write in the box for the label the exact category that you have made for it. So for this post i wrote the label as Technical.
Happy Organisation!!
The challenge I faced during writing of this blog was printing the HTML script as text to show you the script. I hardly have any idea of HTML scripts. I saw the page sources of sites that have showed examples of HTML scripts. So, as a piece of information, i have replaced all the > with &gt; and < with &lt;

1 comment:

mysterytryst said...

nice...especially the things done to print the script ! Way to go !