Wednesday, September 30, 2009

I know most of bloggers are searching for this…. If you are writing ASP.NET related posts in your blog then you should need it to publish your posts to dotnetkicks.com. So, here is a nice tip to add kick it for your blogspot blogs.
  • Go to your blog. After you sign in, in admin section you have a tab named "layout".
  • Under layout tab select "Edit HTML".
  • Before you do any changes, please download full template.
  • Then tick the checkbox "Expand Widget Templates."
  • In your browser, press Control+F and find the keyword "data:post.body".
  • Go to that line [<data:post.body/>] and hit enter and add the below code as is.
<p><a expr:href='&quot;http://www.dotnetkicks.com/kick/?url=&quot; + data:post.url'><img alt='kick it on DotNetKicks.com' border='0' expr:src='&quot;http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=&quot; + data:post.url'/></a></p>

Note: expr: is the syntax for expression and it will execute by blogger code and replace the correct values before send response to browser.
  • Now, save the template and view blog for the changes.
  • I think, you are smiling now by seeing kick it icon on your blog for each post.
  • Enjoy!!!
Love to hear comments from you. Is this helpful?

Categories:

2 comments: