Friday, September 27, 2013

How to Add Pinterest button to Blogger Dynamic Views Posts

I probably just became the first man on earth to get the Pinterest's "Pin It" button on every post in the Blogger's Dynamic Views. You guys can check it out in action on my photoblog: Visioplanet Photography. Please do note that this is for Pinning individual posts and not just the blog. A similar tutorial was posted by Yoga on Southern Speakers, which was about how add Pin It button to Pin the entire blog (if you're interested).

This will be a short and concise tutorial on how I did it, and more importantly, about how you can do it. Do make a note that this tutorial is specifically for Blogger's Dynamic Views. For regular templates, there's a plethora of articles online elucidating the same.

How This works:

1. This method will look for an image on your post that is at least 400 pixels wide or high. As in the picture you're gonna pin your post with has a width or height of at least 400 pixels.

2. I can make modifications to this size thing and give one the ability to decide on a photograph chosen by the post author (lemme know in the comments if that's what you want).

Addition info about this:

Before we begin, what my "work around" (if you will) does, is that it shows the "Pin It" button beside the Google's +1 button at the top of every post. Do note, that the +1 button at the top of every post isn't shown in the "Classic", "Mosaic" and "Sidebar" views. But if you guys ask for it in the comments below, I can write a tutorial on how to get the Pin It button beside the facebook like button at the bottom of each post.

This is now available in two formats:
1. Like the +1 butto - both the top bar as well as the share section at the bottom of the post.
2. Just at the bottom of the post (like the facebook button).

The Procedure:

In the previous version of this, there were three steps. Now, only one step is required, which was earlier the Step 3.

Step 1:

In every post that you want to have the Pin It button on it, add the following line at the beginning in the HTML box of Edit Post.

<script src=""></script>

This will add the button both at the top bar (applicable only for certain dynamic templates) as well as at the bottom of the post.

EDIT: If you want the button only at the bottom of the post, beside the facebook share button, add this line at the beginning in the HTML box of Edit Post instead of the above:

<script src=""></script>

EDIT: As of 13th October 2013, this also shows the pin count beside the button.

I have no idea how to do this from the Templates -> Edit HTML (that will only need to be done once and not on a per post basis). If you know, lemme know in the comments below.

Sunday, January 20, 2013

She dumped me on valentine's day five years ago

She dumped me on valentine's day five years ago. A few months after that, I find out that it was for another guy. A year later, I'm going to NIT Suratkal to present a paper on an encryption algorithm I and Abhishek (Buddha) came up with. Of course, we didn't actually go, 'cause I said "about turn" for not having enough money and not letting myself be a drag on my sponsor for the trip on the next station. We got off the train on the station after Nagpur (We didn't have confirmed tickets).

She called me that night. When we were in Nagpur, after dinner at a dhaba near the station, she called me up, and I was surprised shitless, 'cause she didn't return my phone calls for the past year. I was calm. I had accepted the fact that we wanted different things from our lives, although I had no idea what she wanted. I asked her the one question I had meant to ask her for all that time - Why? Why not just tell me? I thought we were best friends (at least you were my best friend). She said that she'd tell me the next morning... We (me and Abhishek) reached back Raipur the next morning. She called and she told me the truth, and I swear to fucking god, I respect her for coming through because if she hadn't, it would have killed me for the rest of my life. I wasn't really furious at her. It was a long distance thing and I believe we both knew the repercussions. We haven't really been in contact since then, but she was the turning point in my life.

When she left me, is when I started seeing things differently. I started Nurvs of Steel, I started singing like there was no tomorrow. I started living like I might as well be dead tomorrow. To tell you the truth, I'm doing that right now.

The paper did get published in ICACE 2009 half an year after that Suratkal ordeal (Thanks again, to my sponsor, although I'm sorry I lost the proceedings and he never got to see what he spent all that money for).

I waited five years to muster up the courage to start looking for "The one" again. And when I finally did, all I faced was rejection, after waiting months to tell her about it. Of course, I understand that I'm a different guy, and I respect her for being upfront about it, but I'm not sure what I'm gonna do next. I'm still doing what is expected of me instead of what I really want to do...

Worst of all, I'm writing about shit I'm not supposed to disclose (supposedly), but if you really listen to what I write (in my blog or in my songs), you'd know that I ain't a storyteller. I'm not good at telling stories. I'm a truth-teller. I stand for truth, and that's the identity I have given myself in the past five years, and I believe that's what I'm gonna die preaching!

Wednesday, January 16, 2013

Life - A rather inexplicable thing

How much does your life weigh? Imagine for a second that you're carrying a backpack. I want you to pack it with all the stuff that you have in your life... you start with the little things. The shelves, the drawers, the knickknacks, then you start adding larger stuff. Clothes, tabletop appliances, lamps, your TV... the backpack should be getting pretty heavy now. You go bigger. Your couch, your car, your home... I want you to stuff it all into that backpack. Now I want you to fill it with people. Start with casual acquaintances, friends of friends, folks around the office... and then you move into the people you trust with your most intimate secrets. Your brothers, your sisters, your children, your parents and finally your husband, your wife, your boyfriend, your girlfriend. You get them into that backpack, feel the weight of that bag. Make no mistake your relationships are the heaviest components in your life. All those negotiations and arguments and secrets, the compromises. The slower we move the faster we die. Make no mistake, moving is living. Some animals were meant to carry each other to live symbiotically over a lifetime. Star crossed lovers, monogamous swans. We are not swans. We are sharks.
Ryan Bingham

Lonely by Sudipto Sarkar on Visioplanet Photography
Lonely by Sudipto Sarkar on Visioplanet photography

Sometimes I feel like disappearing. Going somewhere, leaving everything and everyone behind and starting a new "life". A life where I don't settle down, where I keep travelling from city to city, country to country. Work small part-time short-term jobs to make enough money for a motel room and dinner, and to hitchhike my way through the roads. Maybe call mom and dad sometimes, just to tell them that I'm still alive. And then, maybe go to an icy place, or a desert, or an uninhabited island and make a house out of wooden twigs and leaves, hunt for dinner maybe. And then stay there for a few months and figure out what to do next.

All that, or I could just stay where I am, with my backpack filled with stuff I don't need but love enough not to be able to empty them, with people who aren't really all that close... and then with those people who have betrayed my trust, time and again, but society has its "dos and don'ts". I could just as well stay right here, working nine hours everyday, living what I'm told, is a "normal" life, although I don't see how not doing what you'd want to do with your life by minding your moral and social obligations towards society could be "normal". Well, maybe I just speak a different language. In other words, I'm not in terms with the ways of what they call society.

But, let's not go there. I'd rather write songs to express all the society and their idea of (false) freedom.

In the end, it all boils down to what you want. I don't want my backpack to be empty. Never did. In fact, I wanted there to be a "back home". When you are growing up, you have this idea in your head, and make no mistake, the ideas always, invariably come with deadlines. For example, you'd think that by the time you're 23, you'd have someone you'd want to spend the rest of your life with, that by the time you're 29, you'd get married and settle down, maybe have a kid.

What you actually get is a lonely life, your friends settling down, and you, afraid of getting in relationships because of your last break up almost destroying your whole idea of a traditional "life", thereby sparking off another version of you, which you let define who you are in about half a decade of its existence. And you become an alcoholic. You drink to cope with pain... to forget the fact that you're a dead man and to sit back and think about what you're doing with what's left of it (life, that is).

And then, your most dreaded nightmare comes true. You fall in love again...

Monday, August 8, 2011

The height of being fucked up

And just when I thought that life can't be any more fucked up, my apartment started overflowing with water. I was busy on the computer working on something and all of a sudden, my eyes turn toward the floor and a massive pool of water is flowing from the kitchen. The kitchen's drowned completely, which made it impossible to look for the fucking source. I stepped outside only to find that everything else in the building is dry. Disappointment eh? Good thing that I spotted the shit in time to save the POD X3. A slight delay and 23k bucks would have gone down the drain.

Didn't take long to figure out I was living in a hell hole. First thing in the morning is to look for a new place. Something "hospitable".

Sunday, July 3, 2011

Life - what the fuck is it about anyway?

With insomnia, you're never really asleep and you're never really awake.

I couldn't sleep, again. This thing kicks in every now and then. Most of the times I sleep during the day when I can't sleep at night. I don't have any answers to why and how but it does happen often and it (the insomnia) and I have made our peace. There have been times when I couldn't sleep for weeks. Anxiety is supposed to be one of the reasons for insomnia, which perfectly fits in my case. Too much of anything is bad after all.

And life? It just moves on. I've been in this job that I'm in for about four months now. It's good to have a source of income. A man's gotta work. Some friends complained that I don't consider anyone as a friend. I've got my own reasons that I don't wish to disclose. But let's put it this way - I've had enough shit thrown my way by trusting people and I've had enough of that shit, so I'm bailing the fuck out. I remember the times when I thought love and friendship are "real" and worth dying for. There of course are exceptions. They know they're exceptions and that's all I need to know. I don't even call them friends. Maybe because I don't believe in the general inference of that word.

Even Vodka doesn't help. It does get the head heavy as usual, but I guess I don't drink enough of that to make me fall asleep. I don't like it. I'm a beer guy. Heavy metal and beer are my thing.

We had our site up and running after all. Now that I'm earning, I got our site registered and shit, and we're up at Never liked the WWW anyway. So I kept it away. We're working on getting it to look better. I'm too much into the coding shit to concentrate on the traditional graphics. And about the EP, we're still on the second song. The due date was 15th of this month, and I don't know how far it's gonna be stretched. I don't have much time. I don't think I can delay it much longer this time.

I feel cheated sometimes. But then I realize that patience is the key to go to where I wanna go. But I find it hard. Hard but not impossible, I keep telling myself. Honestly, I see just a glimpse of a way. But I guess that's all one needs to keep his hope from dying.

Called Madhu a few weeks back after I got her number from Facebook (after searching for five years). She was furious. Well, she should be. At the end of the conversation, she wanted us to be friends. I couldn't tell her that I just called to apologize and tell myself that her life wasn't ruined because of me. That she moved on and is fine now. Being friends was never an option. I probably shouldn't have called. I did stop returning her calls after that. I couldn't let this get any worse than it already is. Or maybe I just prefer some things to be unanswered - both for me and for others. Maybe that's the way I am. Maybe I'm a little more twisted than I realized. Maybe I'm more numb than I thought. Maybe I'm more dead than I presumed.