display short url for blogger post

bit.ly short url
If you visit this blog, you'll have to see the short url of bit.ly of each post. This can be done by the following steps:

  • login to your blogger account
  • click design --.> html
  • find tag </head>
  • add the following javascript above it 
<script charset='utf-8' src='http://bit.ly/javascript-api.js?version=latest&amp;login=tweettrackjs&amp;apiKey=R_7e9987b2fd13d7e4e881f9cbb168f523' type='text/javascript'/>
<script src='http://blogger-plugins.googlecode.com/files/bloggerplugins.org.bit.ly.short.url.generator.js' type='text/javascript'/>
  • find these codes:
<p class='post-footer-line post-footer-line-3'>
or
<div class='post-footer-line post-footer-line-3'>
or
<data:post.body/> 
  • place these codes below whatever the above codes you found
<div id='bp_shorturl'>
<form expr:id='"bp_short_holder_" + data:post.id'/></div>
<script type='text/javascript'>
Bloggerplugins_shortener.init(&quot;bp_short_holder_<data:post.id/>&quot;,&quot;<data:post.url/>&quot;)
</script>

  • save changes 

creditted to: bloggerplugin.com

0 Response to "display short url for blogger post"

Post a Comment

Let's Join the discussion

Powered by Blogger