If you want to add dotnetshoutout button to all posts of your blogspot/ blogger blog
than u need to write this code in your html section of blog
First of all go to layout > edit html > check the check box of expend widget templates
now look for this line of code
<p><data:post.body/></p>
Now after <p><data:post.body/> and before </p> post the code mentioned below
<a rev='vote-for' expr:href='"http://dotnetshoutout.com/Submit?url=" + data:post.url + "&title=" + data:post.title' expr:id='data:widget.instanceId + "_kickit"' rel='nofollow'>
<img alt='Shout it'expr:src='"http://dotnetshoutout.com/image.axd?url=" + data:post.url' style='border:0px'/></a>
<img alt='Shout it'expr:src='"http://dotnetshoutout.com/image.axd?url=" + data:post.url' style='border:0px'/></a>
Your complete code should look like this
<p><data:post.body/><a rev='vote-for' expr:href='"http://dotnetshoutout.com/Submit?url=" + data:post.url + "&title=" + data:post.title' expr:id='data:widget.instanceId + "_kickit"' rel='nofollow'>
<img alt='Shout it'expr:src='"http://dotnetshoutout.com/image.axd?url=" + data:post.url' style='border:0px'/></a></p>
<img alt='Shout it'expr:src='"http://dotnetshoutout.com/image.axd?url=" + data:post.url' style='border:0px'/></a></p>
Now you will have dotnetshout button in all posts
have fun
Comments
1 comments to "blogger- add dotnetshoutout button all posts of blogspot blog autometically"
3:51 PM
hi i m getting this Error
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Element type "img" must be followed by either attribute specifications, ">" or "/>".
Post a Comment