Tuesday, July 8, 2008

Worked Upon 2 Columns, 3 Columns Minima Blogger Template

In a blogger convocation I recently attended, this template at playfullive.com, that's actually a little improvement over standard Minima Blogger template, got hearty appreciation.

I received queries on author comment highlight, smoothened edges, etc..well, if you liked it I would more than love to share it with you.

Notes:

1) Smoothened border lines.

2) Soft colors

3) Author comment highlight

4) Search Box Placeholder (remove/replace it with your own Google Custom Search Box)

Search for this comment in the template

<!-- Google CSE Search Box Begins  -->

5) To add your favicon (a small icon you see in address bar), search for this comment

<!--Fevicon Code

6) Label Cloud Implemented

7) Google Translation added

8) Search for this comment and implement AddThis book marking option or specific book marking  options

<!-- Bookmark Code Here -->

9) Navbar Removed

10) Post data right under the Post title.

 

Download 'em (right click->select Save Link As...)

2 Column Improved Minima Template Download

3 Column Improved Minima Template Download

Wednesday, December 5, 2007

Missing Navbar becuse of that Next Blog» link?

If you are using Firefox, press Ctrl, keep it pressed, and click Navbar's Next Blog» a few times and you would have those many tabs opened with all sorts of interesting blogs waiting for you.

Don't know about you, but I do miss at times Navbar's Next Blog» link and the unpredictability associated with the outcome of clicking it. I got rid of Navbar (not a hidden trick, find out how to do that quickly) when I put my blog on this domain, and Next Blog» brilliance notwithstanding, my blog stays the way it is.

But there is a way to enjoy Next Blog»'s show without having to put up with Navbar. When you click Next Blog», blogger.com takes you to a link, which arbitrarily opens up a blog for you.

So if you ever miss Next Blog», just type this

http://www.blogger.com/next-blog?navBar=true

in the address bar and it will yield the same results. If you miss it too much add this link to the toolbar as a bookmark.

Try it here.
Next Blog»

Tuesday, December 4, 2007

How to show HTML code in your blogger post

While I was writing Starting a blog : Adding social bookmarking options to post footer, I came across this peculiar problem. Whatever HTML code I would write in my post would get rendered and wont show as is. I can tell you two ways around this problem

Method 1
Download Windows Live Writer and the problem is solved!
Apart from making your life as a blogger easy in many other ways it takes care of the formating when you put HTML code in it.

Method 2
For those who edit their post online in blogger.com only, on Technova I came across this rather simple solution.

Let say you wanna show this code in your post

<a expr:href='"http://digg.com/submit?phase=3&url=" + data:post.url' target='_blank'><img alt='Digg!' src='http://home.planet.nl/~hansoosting/images/icon_sb_dig.gif' title='Add to Digg'/></a>


If you put it this way it will get rendered and wont show as is.

To avoid that, open Notepad and paste the code their first.

*Go to Edit->Replace (or Ctrl+H) and in the Find what: box write < and in the Replace with: box write



and click Replace All (or Alt+A).

*Now go to Edit->Replace (or Ctrl+H) again and in the Find what: box write > and in the Replace with: box write



and click Replace All (or Alt+A) again.

*Paste the resultant code in the post editing box and preview it to make sure its showing fine.

Update:28 Jan 2008

If this sounds like too much work, this utility developed by a reader of this blog François will do the above work for you.


View the full screen version of this utility on François's site.

Disclaimer: This code is not a property of this blog, its not written by the writer of this blog. Support or issues of any kind concerning this utility must only be addressed to François.

I've embedded this utility here after this discussion with François

Hi Bhaanu,

I tried the utility you mentioned in the comment you left on my blog. http://francois.schnell.free.fr/tools/BloggerPaste/BloggerPaste.html. It works like a charm. This utility of yours shows that you have more regards for fellow bloggers than slow pokes like me.

Well, when I encountered the problem I googled it and here you came! Thanks for your great blog and clear explanations :)

Such a utility was always probable but remained on the horizon but you did it. I'll update my post about it :)
How do you think I should do it.
1 Mention your site in my post. or
2 Embed this html page in my post with proper references to your site.

As you prefer, I don't mind.
I'll try to improve it with other options (I'll try syntax highlighting).
Don't hesitate to tell me if you have ideas for additional options.
thanks!
francois

Starting a blog : Adding social bookmarking options to post footer - Method 1

Updated on December 24th :)

Important: This method adds social bookmarking option to your blogger post footer that will look like this

If you would instead add social bookmarking options like the ones you see in the post footers on this blog click here

This is how you do it

1. Log on to your blogger account

2. Select Layout from Dasboard

3. Select Edit HTML

4. As a precautionary measure download your template clicking Download Full Template and save it on your computer.

5. Make sure Expand Widgets Templates is checked

6. Now search for <p class='post-footer-line post-footer-line-3'/>
*You can easily do this using the Find (Ctrl+F) bar if you are using Firefox as shown in the figure.

7. Right above <p class='post-footer-line post-footer-line-3'/> add the following code


<!-- For Facebook -->

<a expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&amp;t=" + data:post.title' target='_blank' title='Add to Facebook'><img border='0' src="http://static.ak.facebook.com/images/icons/favicon.gif" width="16" height="16" alt="Facebook" /></a>

<!-- you can add more from ** here -->

 

(this code adds Facebook bookmarking option to the posts' footer, to add Netvouz, Digg and many other social bookmarking options also, pick the pieces of codes you want from later in this post (see**) and simply add right after the piece of code you just added above for Facebook, before proceeding to step 8)

8. Save the template by clicking SAVE TEMPLATE button.

You should now be seeing the tiny little Facebook logo in the footer of each of your blog's posts.

    -----------------------------------------------------------------------------------


    ** the following pieces of code can replace or be put in addition to the code in Step 7 to add various other social bookmarking options.


    <!-- For Digg -->

    <a expr:href='"http://digg.com/submit?phase=3&amp;url=" + data:post.url' target='_blank'><img src="http://digg.com/img/badges/16x16-digg-guy.png" width="16" height="16" alt="Digg!" /></a>


    <!-- For Del.icio.us -->

    <a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&amp;title=" + data:post.title' target='_blank'><img alt='Del.icio.us' width="16" height="16" src='http://images.del.icio.us/static/img/delicious.small.gif'/></a>


    <!-- For StumbleUpon -->

    <a expr:href='"http://www.stumbleupon.com/submit?url="+ data:post.url + "&amp;title=" + data:post.title' target='_blank'><img alt='Stumble Upon' src='http://www.stumbleupon.com/images/stumbleit.gif' width='16' height='16'/></a>


    <!-- For Furl -->

    <a expr:href='"http://www.furl.net/storeIt.jsp?u=" + data:post.url + "&amp;t=" + data:post.title' target='_blank' title='Add to Furl'><img alt='Furl' src="http://www.furl.net/sites/furl/i/favicon.gif" width='16' height='16'/></a>

     

    <!-- For Fark -->

    <a expr:href='"http://cgi.fark.com/cgi/fark/edit.pl? new_url=" + data:post.url + "&amp;new_comment=" + data:post.title' target='_blank' title='Bookmark to Fark'><img border='0' src="http://www.fark.com/favicon.ico" width="16" height="16" alt="Fark" /></a>


    <!-- For Netvouz -->

    <a expr:href='"http://www.netvouz.com/action/submitBookmark?url=" +
    data:post.url + "&amp;title=" + data:post.title' target='_blank'
    title='Bookmark to Netvouz'><img alt='Netvouz'
    src='http://www.netvouz.com/web/images/netvouz16.gif'
    width='16' height='16' /></a>

     

    <!-- For SlashDot -->

    <a expr:href='"http://slashdot.org/slashdot-it.pl?op=basic&amp;url=" + data:post.url' target='_blank' title='Slashdot It!'><img src="http://images.slashdot.org/favicon.ico" alt="Slashdot" border="0" height="16" width="16" /></a>



    -----------------------------------------------------------------------------------


    Wanna know what just happened ?

    this is the code that you enter in your blog's XML template to add Netvouz bookmarking option to posts' footer.


    <!-- For Netvouz -->

    <a expr:href=

    '"http://www.netvouz.com/action/submitBookmark?url=" +

    data:post.url + "&amp;title=" + data:post.title' target='_blank'

    title='Bookmark to Netvouz'><img alt='Netvouz'

    src='http://www.netvouz.com/web/images/netvouz16.gif'

    width='16' height='16' /></a>


    Important components of this code

    • data:post.url variable stores the url of the post the footer of which contains the bookmarking sit's code
    • data:post.title variable stores the title of the post the footer of which contains the bookmarking sit's code
    • url parameter is used here to pass the value of data:post.url (i.e. is the url of the post) to the bookmarking site
    • title parameter is used here to pass the value of data:post.title (i.e. is the title of the post) to the bookmarking site
    • <img tag is fetching the favicon (16x16 pixels) icon of the bookmarking site to be displayed in the post footer

    When you click Netvouz's icon in the post footer, the code enclosed in <a tag calls a certain page at www.Netvouz.com and passes the post's url and title to it for bookmarking the post. Code for other social bookmarking sites works more or less in the same.



    If you wanna add a particular bookmarking option but cant figure out how to, do write to me.



    Starting a blog : Adding social bookmarking options to post footer - Method 2

    Important: This method will help you add social bookmarking option like the ones you see on this blog's post footers. If you would instead add social bookmarking options that look as shown in the figure below, click here.


    This is how you do it

    Go to AddThis.com's social bookmarking widget button selection page and make sure you've selected on a Blog and Blogger in the lists following the button list and the page looks like this.

    Click Get Your Free Button >> button.
    On the page that appears, click the code in the first code box (as shown in the figure below) and copy it ( Ctrl+C ) .

    Now go to blogger.com

    1. Log on to your blogger account

    2. Select Layout from Dasboard

    3. Select Edit HTML

    4. As a precautionary measure download your template clicking Download Full Template and save it on your computer.

    5. Make sure Expand Widgets Templates is checked

    6. Now search for <div class='post-footer'>
    *You can easily do this using the Find (Ctrl+F) bar if you are using Firefox as shown in the figure.



    7. Right after <div class='post-footer'> paste the code that you copied earlier from AddThis.com, as shown in the figure below.

    8. Save the template by clicking SAVE TEMPLATE button.


    You should now be seeing book marking options on your blog like the ones you see on this blog's post footers :)

    Monday, December 3, 2007

    Staring a blog : I got rid of blogger navbar

    Some bloggers and blogger.com itseld says its useful in many ways but Navbar loads really slow, so I'm getting rid of it.

    Looks like a simple trick in the end

    * Log on to your blogger account
    * Select Layout from Dasboard
    * Select Edit HTML
    * As a precautionary measure download your template clicking Download Full Template and save it on your computer.
    * Check Expand Widgets Templates
    * Find body section in the code and insert the following code just after it

    #navbar {
    height:0px;
    visibility:hidden;
    display:none

    }


    as shown in the figure below

    * Save the changes by clicking the SAVE TEMPLATE button.

    Happy riddance Navbar !!

    Now that Navbar is gone, are you missing the
    Next Blog» link on it already? Well, worry not, click here and find out how you can still use it.


     

    All Rights Reserved. © playfullive.com.