Friday, 25 November 2011

Create Label or Tag Cloud In a New Page In Blogger

How To Create a dynamic Label or Tag Cloud In a New Page In Blogger?

 In  some of our blogs there would be too many labels that it would be difficult to show all of them in main page of the blog.To solve this issue we can add the label cloud in a new page in our blog.This post aims to serve as a tutorial for doing this.

The following screenshot shows the appearance of the  Labels page or tag cloud page for your blog:-

Step1:-
Step one is to create a new page and name it "labels" .For accomplishing that this you need to
==>Go into "Design Mode in blogger", henceforth will be referred to as "Design Mode" in rest of the post
==>Click on the "Posting" tab.
==>Under this "Posting" tab click on the "Edit Pages" tab.
==>Click on the "New page" button
==>Give a title for he page like "Labels"
==>and then click on "Publish Page" button


Step2:-
   Ensure that in the "design view" of blogger ,otherwise click on the "Pages" gadget and rearrange so that "Pages" gadget appears below the header gadget.Ensure that "Save" the design after editing.
Step3:-
Add the labels gadget. To do that you need to:-
==>Click on "Add a Gadget" link and add a new gadget "Labels" which is available under "Basics" menu.
==>Drag the "Labels" Rearrange as required so that it appears just above "Blog Posts" gadget and below "Pages" gadget

Step 4:-
Edit the code so that the label code appears only in the "Labels page and not the main page of the blog"
==>Click on "Edit HTML" link in "Design Mode"
==>Click on check box "Expand Widget Templates"
==>Search and Locate  your label widget.It should look something like this
<b:widget id='Label1' locked='false' title='Labels' type='Label'>
==>Add the following "if condition" nestle it within   your gadget/widget tags so that the xml structure is well formed and then ensure that the ending if tag is added in the right place as shown below.You can then "Save Template"
 If your xml is not well formed then the page will display an error. My advise is to exit the "Design Mode" and repeat Step 4 otherwise it will mess up your blog.
<b:widget id='Label1' locked='false' title='Labels' type='Label'>
<b:includable id='main'>
<b:if cond='data:blog.url == &quot;URLOFYOURLABLEPAGE&quot;'>
...
...
</b:if>
</b:includable>
</b:widget>
Finally you will have a beautiful tag cloud which you can use to browse your blog. Try out the label tab at the top of this blog to get a feel of it.

Wednesday, 23 November 2011

If you had two extra hours in a day, how would you spend it?



 Couple of days ago I joined indiblogger and today I was randomly browsing their site when saw an advertisement @indiblogger seeking entries for a contest titled "If you had two extra hours in a day, how would you spend it?"

I felt like giving it a try and here is my post aimed at the contest.

When i first saw the topic the whole idea of having extra hours in a day seemed ridiculous as we are always running short of time in our day to day lives .But then I realised that this is exact thing that every body needs very badly in their life,those precious costlier than surging gold prices,extra hours.

 This idea seems at first like an idea ripped off from the bonus time allotted at the end of each stage in a video/computer game.Those bonus stages are an awesome idea.You can really increase your points.I would like something similar in real life too.But that would be like asking for too much, ain't it?

   My thoughts drifted to the film 12B which featured Shyam , Jyothika and Simran.The film dealt with two hypothetical situation

one==>in which hero manages his time well and manages to catch a bus for his interview
Two==>in which hero mis - manages his time fails to catch the bus
The point is whoever makes most efficient use of the time succeeds in life,earns laurels and appreciation of the ones around him/her.The film also
talks about the unforgiving,cruel nature of fate but we will leave it at that.

 So what would all of us do  with hour extra two hours of time . Most of us would probably would doze off the extra hours thinking it as a god's gift to provide us  "quantum of relief" from the  rigours of hectic life.

 Some of us would probably be willing to spend us extra hours on personal development like hitting a gym daily for a workout (Or) going or a walk in the fast disappearing parks{which happens to be a reality in chennai as the corporation is busy destroying whatever parks it developed in the pretext of building infrastructure for metro rail} (Or) doing yoga

 Some of us ,especially the  youth(Generation Y) may be tempted  to  spending the the hard earned money at bars/pubs/discotheque etc:for utilising their share of the two extra hours

 Some may opt for spending time in doing things{which usually sits in the farthest corner of mind and keeps bugging us} that they always wanted to do but did not do it for want of adequate time

 Some may turn to visiting places of worship,especially the older generations which obviously is a big no-no for today's generation

 shopaholics would probably be delighted that they can spend more hours in the malls of the big Indian cities.

Bookworms would probably drain away the extra hours by reading more

 As for me I would probably spend my quality time writing more articles for my blog,editing existing posts and experimenting with the whole range of gadgets/themes that are available for the blogs nowadays.

Sunday, 20 November 2011

After a long wait finally onto a proper Gnome 3.X desktop openSUSE 12.1 GNOME 3.2.1

 After a long wait , i am finally onto a proper Gnome 3.X desktop which is openSUSE 12.1, GNOME 3.2.1. Man !!!!!! ,it took like ever before the 12.1 release came through. I was so exited when GOME 3.X came out through in openSUSE 11.4  . It really built up the hype for the 12.1 release which is supposed to be a full fledged GNOME 3.X desktop environment.

Gnome System Monitor showing  juicy items like openSUSE release version 12.1,Kernel version 3.1.x,GNOME version 3.2.1


Desktop with one amazing background{that too out of box}
 Application menu or Applications menu
Totem with a Nice and sleek Skin


Very Cool looking iphonesque onscreen keyboard


Cutest YaST yet,cool integration of YaST with GNOME 3.X interface






 I was itching for the first weekend to arrive after the 12.1 release,I was really raring to have a crack at the new OS . Unlike previous upgrades and installations of openSUSE this time I tried doing things a bit different.The first time I installed openSUSE which happens to be version 11.0 I installed it from a boxed DVD from which I obtained along with a computer magazine.
For the  transition from 11.0 to 11.2 I downloaded a DVD ISO and burned it and upgraded the OS.Then from 11.2==>11.3 and then from 11.3==>11.4
and from 11.4 , GNOME 2.x ==> 11.4 , GNOME 3.0.X I used YaST and zypper based upgrade.This time i tried  something different i.e. installed from a live image written on-to a flash drive.

The +ses of 12.1/GNOME 3.2 over 11.4/GNOME 3.0

==>Nasty bug in Nautilus 3.0 which did not allow users to copy paste files from one directory to another using commands ctrl+c and ctrl+v has been fixed in Nautilus 3.2
Nautilus 3.0 bug

==>Much better looking Totem media player

==>GNOME 3.2 has not even crashed once though GNOME 3.0 in early days crashed a lot of times

==>openSUSE 11.2/GNOME 3.2 has "gnome-tweak-tool" {lets you customise gnome 3.x} and "gnome-shell-extension-alt-status-menu" {which provides you a proper shutdown or Power off menu for GNOME 3.X desktops} are installed by default which is big relief as these two tool are more like "the most important tools" on GNOME 3.X desktops

==>As usual the interface is smooth and free flowing and beautiful like a river .The OS feels like a giant iphone ,special mention is required for the iphonesque ultra cool on-screen keyboard.

==>The icing on the cake is the installation was very fast unlike anything that I had experienced before.Probably the credit goes to the flash drive based installation instead of using an optical drive based installation.


==>Shutdown time/latency is vastly improved

The only minus I noticed so far is that sun/oracle jre is not included in the 12.1 repos / repositories .One can only install openJDK implementation from 12.1 repos.