DISQUS

bit.ly Blog: Bit.ly Sidebar Chicklet for Site Publishers

  • seanabrady · 6 months ago
    This is cool! Unfortunatley it shows how very little I know about Blogger templates because i have no idea where to put it. Gives me a little something to research this weekend.
  • robreed · 6 months ago
    Done and done. Great tool and just seconds to add to my site (even though I don't use any of the listed platforms). Always thrilled to see services like bit.ly geared for weblogs and other small sites. After all, the beauty of the web is it's distributed, interconnected diversity. Anyway, seems to work great. I've been super happy with bit.ly and this is a nice addition.
  • Allan · 4 months ago
    Which one did you use to get it on your page?
  • SocialBlogr · 6 months ago
    Nice! But my sidebar is full.. :D
  • Pleasureden · 6 months ago
    This is great, always new things to learn and understand but getting there :-)
  • Steve Newman · 6 months ago
    I agree with seanabrady... there's nothing to show where you put the code into the template for Blogger. I tried inserting it between the <style> and </style> tags, since that's where Blogger Help tells you to put some other "if cond=" code. But when I tried it out, nothing happened. So, I don't know where to put the code. Anyone figured this out yet?
  • kortina · 6 months ago
    Make sure you have this inside the tag.

    Specifically, here is where I have this code in my template, right near the
    author and timestamp info for each post:
    ...
    <div class='post-footer'>
    <div class='post-footer-line post-footer-line-1'>
    <span class='post-author vcard'>
    <b:if cond='data:top.showAuthor'>
    <data:top.authorLabel/>
    <span class='fn'><data:post.author/></span>

    </span>

    <span class='post-timestamp'>
    <b:if cond='data:top.showTimestamp'>
    <data:top.timestampLabel/>
    <b:if cond='data:post.url'>
    <a class='timestamp-link' expr:href='data:post.url' rel='bookmark'
    title='permanent link'><abbr class='published'
    expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr>



    <b:if cond='data:post.url'>
    <a expr:href='"javascript:var
    e=document.createElement(\"script\");e.setAttribute(\"language\",\"javascript\");e.setAttribute(\"src\",\"
    http://bit.ly/bookmarklet/load.js?utm_source=pu...
    + data:post.url + "\"));document.body.appendChild(e);void(0);"'>Share with
    Bit.ly Sidebar

    </span>
    .....
  • Steve Newman · 6 months ago
    Thanks, kortina. It worked like a charm! As you can see (http://www.nylongene.com/2009/06/test-post-twee...), I got the Bit.Ly sidebar thing working on my blog, after following your suggestion.
  • jonconnelly · 6 months ago
    Very sweet indeed, gotta love this feature.
  • David · 6 months ago
    OK, at risk of looking a complete idiot (actually I really don't care how idiotic I look) I read the post and the comments and still have not the faintest idea where to put the code in my self hosted Wordpress template.

    If anyone could give me a gentle nudge in the right direction, it would be much appreciated.

    Cheers!
    David
  • Jas Dhaliwal · 6 months ago
    Hi,

    I'm still having problems adding this to my self hosted Wordpress site. Any ideas, here is the code I am using

    <span class="separator">| </span><a href="javascript:var%20Bitly={url:'<?php the_permalink(); ?>&title=<?php the_title(); ?>'},e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0);">bit.ly info

  • lawmacs · 5 months ago
    interesting stuff this is real internet
  • DeathWish · 4 months ago
    Download Firefox A Easier Way To Get Around the Internet
  • nimblebooks · 3 months ago
    I'd like to be able to *display* the bit.ly link for the current page so I can copy and paste it without having to click to build the link. any ideas?