Thinking of Changing my Template  

Posted by Jaideep Walia in

Aspire is a great template and is a popular one at that. I have been using it for quite sometime.

Thinking of changing to something else. Have no idea what I would be looking for.

But The Search Begins.

Please give your suggestions.

Continue Reading >>
This post was:

How to change Favicon in Blogger  

Posted by Jaideep Walia in ,

So you have got a blog. You have tweaked it’s appearance the way you wanted it. Now your blog has that stamp of your individuality all over it. Right? Think again.

Your blog stands out in all respect, yet it has the most common Favicon you could lay your hands on. Let’s change this.

What is Favicon?

In simple words… This

 Default Blogger Favicon

And we want to change it to this (at least in my case)  :)

My Favicon


Now lets get down to change this. A favicon is a 16X16 px ico file. You need to have an ico file(*.ico) which will become your favicon. It can be any image file. Open any image file in IrfanView and then resize the image and save it as ico file. If you are short of ideas, you can head over to huge number of favicon collection. 

Now a place to save your favicon online. You can use any online image hosting service or use the Google Sites. Create a site in google sites and then Click on Home as shown.

Click on Home

Then you can upload your ico file to your site

Upload your file

Once uploaded, note down its path. It should be something like this =>

Now go to your blog’s Layout => Edit HTML.

Backup your blog’s template before making any changes.

Now find


and just below it paste the following code

<link href='' rel='shortcut icon'/>
<link href='' rel='icon'/>


Change YOURSITENAME and FAVICON.ico as per your “Site Name” and your favicon file name respectively.

Save the page and view your blog.  Site showing same old Blogger Favicon. Try to reload a few times or Clear the cache of your browser and then reload the page.


Continue Reading >>
This post was:

Tweak Your Aspire – Numbering Comments  

Posted by Jaideep Walia in , , ,

Your Blog is popular, unlike mine :) , and a lot of visitors leave comments on your posts, again unlike mine, do you wish you could number the comments. Numbering comments have lots of advantages.

First “It looks Cool” and that’s hot.

It gives you permalink to your comment, which can be given in other posts.

So lets start the project……

Go to Layout => Edit HTML and then click “Expand Widget Templates”.

Now search for




and  just above this copy and paste the following code

/*Start Changes to be made to Put Comment Numbers */
.numberingcomments {
/* add the CSS properties here */
text-align:right; font-size: 25px;
/*End Changes to be made to Put Comment Numbers */

This is where you can change the font size and align your Comment Number.

Now we have to add some more code so the the functionality of adding comment numbers could be achieved.


Part One

First search for the code

<b:loop values='data:post.comments' var='comment'>

Just Above this line paste the following code

<script type='text/javascript'>var CommentsCounter=0;</script>

So that the code looks like this

<script type='text/javascript'>var CommentsCounter=0;</script>
<b:loop values='data:post.comments' var='comment'>


Part Two

Now is the tricky part. You have to be careful while following this.

Search for this code below.

<div class='message-by'>
<b:if cond='data:comment.authorUrl'>
The code around it should look like this. I have inserted comments so that it becomes easier for you to follow the code.
<div class='message-by'>
<!-- Add Code One here -->
<table border='0' width='100%'>
<td width='10%'/>
<td width='60%'>
<!-- Code One Ends here -->
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl'><></a>
<b:include data='comment' name='commentDeleteIcon'/>

<!-- Add Code Two here -->

<td width='20%'>
<span class='numberingcomments'>
<a expr:href='data:comment.url' title='Comment Link'>
<script type='text/javascript'>



<!-- Code Two Ends here -->


Save your Template and view your blog.
If you are still facing any problem then do leave a comment. Even if you are not facing any problem then also do leave a comment.

Continue Reading >>
This post was:

A Happy Earth Day  

Posted by Jaideep Walia in

Wishing you all

A Happy Earth Day


Think Green


We have got only one Home…… Save it

Continue Reading >>
This post was:

Tweak Your Aspire – Show your blog’s Description  

Posted by Jaideep Walia in , , ,

This blog post is inspired by a problem faced by one of my reader. He has a blog about Philately and has text scrolling at the end of the page. What he wanted to do is to have that text scrolling at the top. The shortest and easiest possible answer to his problem was to have his message as blog’s description. But somehow Aspire does not show Description.

Yipeeeee, another addition to my (gradually) increasing number of posts.

Before doing anything with your template Please Backup Your Template.

As I have already told you… Aspire does not show your post’s Description. So first we will tackle this problem.

First search for

<h1><a expr:href='data:blog.homepageUrl'><data:title/></a></h1>

Just below it add


So the final code should look something like

<b:includable id='main'>
<h1><a expr:href='data:blog.homepageUrl'><data:title/></a></h1>

Just one more tweak and you will see the description of your blog.

Find the code

#head {position:relative; width:990px; height:250px;


.header {width:627px; height:250px; background: url( no-repeat;}

and replace height:250px to height:265px.

That’s it… Job done. Save your template and See the description of your blog.

Now Something specifically for Mr. Prashant Pandya.

To add scrolling text, in this case Description of your blog, just change the code from




Save the template and see your message or blog’s description scroll.

Continue Reading >>
This post was:

Add Recent Comment Widget in Blogger  

Posted by Jaideep Walia in , , , , ,

Ever wanted to put a widget that shows the Recent Comments being written on your blog. My blog is to put what I learn about computers and in the process share my experience with everyone. Now continuing the purpose of this blog, I will share with you the procedure on how to add “Recent Comments” widget.

First go to layout => Edit HTML and search for

<script type='text/javascript'>
function commentDisplay(json) {
   for (var i = 0; i &lt; numcomments; i++)
       var entry = json.feed.entry[i];
       var alturl;
       if (i == json.feed.entry.length) break;
       for (var k = 0; k &lt;; k++)
           if ([k].rel == 'alternate')
               alturl =[k].href; break;
       alturl = alturl.replace("#", "#comment-");
       if (entry.content)
           comment = entry.content.$t;
       else if (entry.summary)
               comment = entry.summary.$t;
           var re = /&lt;\S[^&gt;]*&gt;/g;
           comment = comment.replace(re, "");
           document.write('&lt;a href="' + alturl + '"&gt;' +[0].name.$t + '&lt;/a&gt; commented:&lt;br/&gt;');
           if (comment.length &lt; numchars) document.write(comment + '&lt;br/&gt;&lt;br/&gt;');
           else document.write(comment.substring(0, numchars) + '...&lt;br/&gt;&lt;br/&gt;');

Now go to Layout => Page Elements and in sidebar click add a gadget and choose HTML/JavaScript and in Configure HTML/JavaScript paste the following code

<br/><script language="javascript">
var numcomments = 5;
var numchars = 50;
<script src="

Change to the address of your blog

Save the page and then view your blog. You can tweak the number of comments and number of characters in each comment as shown below.


Continue Reading >>
This post was:

Firefox Plugin for Rapidshare, MegaUpload etc.  

Posted by Jaideep Walia in , , ,

We all have at some point or other downloaded files from Rapidshare or Megaupload or from many other such sites. Many of them cap the download speed, Use Captcha or waiting period or a combination of these methods. This still makes their service attractive to all those who don’t want to register (pay) thus keeping them “in the running” and also lures people to register (pay) at these sites if they don’t want to encounter these “obstacles”.  To overcome these restrictions; sometimes partially; there are several programs, standalone as well as plugins.

One of my favorite standalone program is CryptLoad about which I have already HERE. But today I will write about an Add-in for Firefox called SkipScreen. Though out on 2 April 2009, I was able to find it about a week later.

This is what a part of their web page looks like, telling us about its feature.


I, as usual, installed it and started to test it. First I downloaded a file from Rapidshare. I simply clicked on the link and SkipScreen took over. Though it was not able to bypass the mandatory wait time limit, the rest was taken care of.

Next came Megaupload. Megaupload first presented me with a captcha. SkipScreen was not able to fill the captcha. So after manually filling the captcha, SkipScreen almost instantly started downloading the file, bypassing the wait time!!

MediaFire- Just had to click the link and download started instantly.

DepositFile- Just had to click the link and download started instantly.

zShare- Just had to click the link and download started instantly.

Sharebee- This site has links to same file but from multiple file sharing sites. SkipScreen automatically chooses the best compatible site from the list and starts the download almost instantly.

In conclusion a very good Add-on for Firefox to have if you download from multiple file sharing sites. A must have in addition to Cryptload.

Continue Reading >>
This post was:

Tweak Your Aspire – Add Comment Form below Post  

Posted by Jaideep Walia in , , , ,

Continuing my “Tweak Aspire” series is another useful addition. Placement of “Comments Form” at the end of the post so that it becomes easier for everyone to add comments our post instead of being taken to a new page for adding comments or having a popup opening up.

Let’s start the process of enabling the Comments Form below Post. But first a word of Caution.

Always backup your template…. Just in case

First go to Settings => Comments


And Select Embed Below post.


Now Save and go to Layout => Edit HTML. Here Check Expand Widgets Templates.

Here find the code

<b:include data='post' name='comments'/>
And just below this line insert the following code
<b:include data='post' name='comment-form'/>
So that the code looks like
<b:include data='post' name='comments'/>
<b:include data='post' name='comment-form'/>
Save Your template and View your blog post to see the fruits of your efforts.

Continue Reading >>
This post was:

Tweak your Aspire – Show Post Date Correctly  

Posted by Jaideep Walia in , , , ,

Though I had already written on how to Show post date Correctly HERE it actually involved more code to be added.

I am again writing it for the benefit of others and also to have some continuity in posts.

Let’s start this small tutorial….

  • Go to Layout -> Edit HTML

  • Click Expand Widget Templates.

  • Now find the following Code

    var timestamp = &quot;<data:post.timestamp/>&quot;;
  • The code around it should look like this

    <script type='text/javascript'>
      var timestamp = &quot;<data:post.timestamp/>&quot;;
      if (timestamp != &#39;&#39;) {
          var timesplit = timestamp.split(&quot;,&quot;);
          var date_yyyy = timesplit[2];
          var timesplit = timesplit[1].split(&quot; &quot;);
          var date_dd = timesplit[2];
          var date_mmm = timesplit[1].substring(0, 3);
    <script type='text/javascript'>document.write(date_dd);</script>
    <div class='month'><script type='text/javascript'>document.write(date_mmm);</script></div>

  • Now Change the line from

    var timestamp = &quot;<data:post.timestamp/>&quot;;

  • TO
    var timestamp = &quot;<data:post.dateHeader/>&quot;;

  • And the Final code should look like
    <script type='text/javascript'>
      var timestamp = &quot;<data:post.dateHeader/>&quot;;
      if (timestamp != &#39;&#39;) {
          var timesplit = timestamp.split(&quot;,&quot;);
          var date_yyyy = timesplit[2];
          var timesplit = timesplit[1].split(&quot; &quot;);
          var date_dd = timesplit[2];
          var date_mmm = timesplit[1].substring(0, 3);
    <script type='text/javascript'>document.write(date_dd);</script>
    <div class='month'><script type='text/javascript'>document.write(date_mmm);</script></div>
    Now Go to Settings and then Formatting tab and make changes as shown below.


    Of course Choose the Time Zone as per your location :)

    There is a way on Adding year to the date, but I am still working on it.

  • Continue Reading >>
    This post was:

    Tweak Your Aspire – Show NavBar and Add Calendar  

    Posted by Jaideep Walia in , , , ,

    I have been receiving a lot of mails regarding tweaking of my present theme “Aspire”. Many of you are facing problems in deploying this theme and getting desired results. So to help all those who want to help themselves……

    Go to Layout => Edit HTML

    Do not Check “Expand Widget Templates”

    Now lets start with the Navigation bar at the top.

    By Default Navigation Bar is Hidden in this theme. Some of you would want to see the NavBar. So to enable it, you have to change the code as follows:-

       1: /* === Hide the NavBar === */
       2: .Navbar {
       3: visibility:hidden;
       4: display: none;
       5: }
       6: /* === Hide the NavBar === */
    Remove */ at the end of line 1 and /* at the Start of line 6 from the code shown above. Now You have your NavBar.

    Now let’s Add the Calendar for blog archive. Search the code below in your Aspire theme.

    .up {text-transform:uppercase;}
    .center {text-align:center;}
    .l, .left {float:left;}
    .r, .right {float:right;}
    .textleft {text-align:left !important;}
    .clear {clear:both;}

    Now you will have to add the code for calendar at the place as shown below.

    <!-- Add your Calendar code here -->

    Copy and paste the code for adding calendar:-

    <!-- Blogger Archive Calendar -->
    <script type='text/javascript'>
    var bcLoadingImage = "";
    var bcLoadingMessage = " Loading....";
    var bcArchiveNavText = "View Archive";
    var bcArchiveNavPrev = '&#9668;';
    var bcArchiveNavNext = '&#9658;';
    var headDays = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
    var headInitial = ["Su","Mo","Tu","We","Th","Fr","Sa"];
    // Nothing to configure past this point ----------------------------------
    var timeOffset;
    var bcBlogID;
    var calMonth;
    var calDay = 1;
    var calYear;
    var startIndex;
    var callmth;
    var bcNav = new Array ();
    var bcList = new Array ();
    //Initialize Fill Array
    var fill = ["","31","28","31","30","31","30","31","31","30","31","30","31"];
    function openStatus(){
      document.getElementById('calLoadingStatus').style.display = 'block';
      document.getElementById('calendarDisplay').innerHTML = '';
    function closeStatus(){
      document.getElementById('calLoadingStatus').style.display = 'none';
    function bcLoadStatus(){
      cls = document.getElementById('calLoadingStatus');
      img = document.createElement('img');
      img.src = bcLoadingImage; = 'middle';
      txt = document.createTextNode(bcLoadingMessage);
    function callArchive(mth,yr,nav){
    // Check for Leap Years
     if (((yr % 4 == 0) && (yr % 100 != 0)) || (yr % 400 == 0)) {
         fill[2] = '29';
     else {
         fill[2] = '28';
      calMonth = mth;
      calYear = yr;
      if(mth.charAt(0) == 0){
         calMonth = mth.substring(1);
      callmth = mth;
      bcNavAll = document.getElementById('bcFootAll');
      bcNavPrev = document.getElementById('bcFootPrev');
      bcNavNext = document.getElementById('bcFootNext');
      bcSelect = document.getElementById('bcSelection');
      a = document.createElement('a');
      at = document.createTextNode(bcArchiveNavText);
      a.href = bcNav[nav];
      bcNavAll.innerHTML = '';
      bcNavPrev.innerHTML = '';
      bcNavNext.innerHTML = '';
      if(nav <  bcNav.length -1){
         a = document.createElement('a');
         a.innerHTML = bcArchiveNavPrev;
         bcp = parseInt(nav,10) + 1;
         a.href = bcNav[bcp];
         a.title = 'Previous Archive';
         prevSplit = bcList[bcp].split(',');
         a.onclick = function(){bcSelect.options[bcp].selected = true;openStatus();callArchive(prevSplit[0],prevSplit[1],prevSplit[2]);return false;};
      if(nav > 0){
         a = document.createElement('a');
         a.innerHTML = bcArchiveNavNext;
         bcn = parseInt(nav,10) - 1;
         a.href = bcNav[bcn];
         a.title = 'Next Archive';
         nextSplit = bcList[bcn].split(',');
         a.onclick = function(){bcSelect.options[bcn].selected = true;openStatus();callArchive(nextSplit[0],nextSplit[1],nextSplit[2]);return false;};
      script = document.createElement('script');
      script.src = ''+bcBlogId+'/posts/summary?published-max='+calYear+'-'+callmth+'-'+fill[calMonth]+'T23%3A59%3A59'+timeOffset+'&published-min='+calYear+'-'+callmth+'-01T00%3A00%3A00'+timeOffset+'&max-results=100&orderby=published&alt=json-in-script&callback=cReadArchive';
    function cReadArchive(root){
    // Check for Leap Years
     if (((calYear % 4 == 0) && (calYear % 100 != 0)) || (calYear % 400 == 0)) {
         fill[2] = '29';
     else {
         fill[2] = '28';
       document.getElementById('lastRow').style.display = 'none';
       calDis = document.getElementById('calendarDisplay');
       var feed = root.feed;
       var total = feed.openSearch$totalResults.$t;
       var entries = feed.entry || [];
       var fillDate = new Array();
       var fillTitles = new Array();
       fillTitles.length = 32;
       var ul = document.createElement('ul'); = 'calendarUl';
       for (var i = 0; i < feed.entry.length; ++i) {
         var entry = feed.entry[i];
         var link =[0].href;
         var title = entry.title.$t;
         var author =[0].name.$t;
         var date = entry.published.$t;
         var summary = entry.summary.$t;
         isPublished = date.split('T')[0].split('-')[2];
         if(isPublished.charAt(0) == '0'){
            isPublished = isPublished.substring(1);
         if (fillTitles[isPublished]){
             fillTitles[isPublished] = fillTitles[isPublished] + ' | ' + title;
         else {
             fillTitles[isPublished] = title;
         li = document.createElement('li'); = 'none';
         li.innerHTML = '<a href="'+link+'">'+title+'</a>';
      var val1 = parseInt(calDay, 10)
      var valxx = parseInt(calMonth, 10);
      var val2 = valxx - 1;
      var val3 = parseInt(calYear, 10);
      var firstCalDay = new Date(val3,val2,1);
      var val0 = firstCalDay.getDay();
      startIndex = val0 + 1;
     var dayCount = 1;
     for (x =1; x < 38; x++){
         var cell = document.getElementById('cell'+x);
         if( x < startIndex){
             cell.innerHTML = ' ';
             cell.className = 'firstCell';
         if( x >= startIndex){
             cell.innerHTML = dayCount;
             cell.className = 'filledCell';
             for(p = 0; p < fillDate.length; p++){
                 if(dayCount == fillDate[p]){
                     if(fillDate[p].length == 1){
                        fillURL = '0'+fillDate[p];
                     else {
                        fillURL = fillDate[p];
                     cell.className = 'highlightCell';
                     cell.innerHTML = '<a href="/search?updated-max='+calYear+'-'+callmth+'-'+fillURL+'T23%3A59%3A59'+timeOffset+'&updated-min='+calYear+'-'+callmth+'-'+fillURL+'T00%3A00%3A00'+timeOffset+'" title="'+fillTitles[fillDate[p]].replace(/"/g,'\'')+'">'+dayCount+'</a>';
             if( dayCount > fill[valxx]){
                cell.innerHTML = ' ';
                cell.className = 'emptyCell'; 
       visTotal = parseInt(startIndex) + parseInt(fill[valxx]) -1;
       if(visTotal >35){
           document.getElementById('lastRow').style.display = '';
    function initCal(){
      document.getElementById('blogger_calendar').style.display = 'block';
      var bcInit = document.getElementById('bloggerCalendarList').getElementsByTagName('a');
      var bcCount = document.getElementById('bloggerCalendarList').getElementsByTagName('li');
      document.getElementById('bloggerCalendarList').style.display = 'none';
      calHead = document.getElementById('bcHead');
      tr = document.createElement('tr');
      for(t = 0; t < 7; t++){
          th = document.createElement('th');
          th.abbr = headDays[t];
          scope = 'col';
          th.title = headDays[t];
          th.innerHTML = headInitial[t];
     for (x = 0; x <bcInit.length;x++){
        var stripYear= bcInit[x].href.split('_')[0].split('/')[3];
        var stripMonth = bcInit[x].href.split('_')[1];
        bcList.push(stripMonth + ','+ stripYear + ',' + x);
     var sel = document.createElement('select'); = 'bcSelection';
     sel.onchange = function(){var cSend = this.options[this.selectedIndex].value.split(',');openStatus();callArchive(cSend[0],cSend[1],cSend[2]);};
     q = 0;
     for (r = 0; r <bcList.length; r++){
          var selText = bcInit[r].innerHTML;
          var selCount = bcCount[r].innerHTML.split('> (')[1];
          var selValue = bcList[r];
          sel.options[q] = new Option(selText + ' ('+selCount,selValue);
      var m = bcList[0].split(',')[0];
      var y = bcList[0].split(',')[1];
    function timezoneSet(root){
      var feed = root.feed;
      var updated = feed.updated.$t;
      var id =$t;
      bcBlogId = id.split('blog-')[1];
      upLength = updated.length;
      if(updated.charAt(upLength-1) == "Z"){timeOffset = "+00:00";}
      else {timeOffset = updated.substring(upLength-6,upLength);}
      timeOffset = encodeURIComponent(timeOffset);
    <script src='/feeds/posts/summary?max-results=0&amp;alt=json-in-script&amp;callback=timezoneSet'/>
    <!-- End Blogger Archive Calendar -->

    We are almost there….

    Now search the code

    <b:section id='sidebarleftsection' preferred='yes'>
    <b:widget id='Profile1' locked='false' title='Contributors' type='Profile'/>

    And paste the code:-

    <b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
    So that the code looks like:-
    <b:section id='sidebarleftsection' preferred='yes'>
    <b:widget id='Profile1' locked='false' title='Contributors' type='Profile'/>
    <b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>

    Too much code :)

    Now save everything and enjoy the new look of your blog.

    Keep tuned in for more tweaks.

    Continue Reading >>
    This post was:

    Aspire theme Problems  

    Posted by Jaideep Walia in , ,

    I have been trying to help a lot of people who have been facing problems in Aspire theme.

    Now all of you can Post your problems for the blogger version of the theme and I will try to sort it out. Also I will publish first part tomorrow, 13 April 2009 (8:00 PM IST), about code to add a calendar to your blog, like the one I have.

    None of the code for the calendar is mine, I have simply copied the code from the net and used it. Thanx to the coder.

    I have seen over time that people are facing problem with this theme and as it is a beautiful theme I decided to help those who want to use it. This particular post should be used to put your suggestions and your problems so that I look into those and post the solutions.

    Continue Reading >>
    This post was:

    Too dormant...... for too long  

    Posted by Jaideep Walia

    I know that I have been not updating my posts for far too long period. This inactivity is due to me being very busy with my family and work. I have been getting a lot of mails regarding the theme, Aspire, I am currently using.

    I have tweaked it a little bit and the results have been totally satisfying.
    I will put majority of the code in a series in the next few days so that you could tweak this theme and get the desired results.

    Tll then...............

    Continue Reading >>

    This post was: