TweetThis for Tumblr
This is based and inspired by the TweetThis plugin for Wordpress. Not to be outdone by WP, I put together a javascript version for Tumblr. It’s “alpha” and only works with bit.ly. It’s currently being used in this blog.
To use insert the following lines with the HTML header.
<!-- start tweetthis -->
<link type="text/css" rel="stylesheet" href="http://mr.ruiz.googlepages.com/tweet-this.css"/>
<script type="text/javascript" src="http://mr.ruiz.googlepages.com/tweet-this.js"/></script>
<!-- start tweetthis -->
… and insert the following within the HTML body, preferably within {block:Posts}
<!-- start tweetthis -->
<p class="tweetthis">
<script language="javascript" type="text/javascript">
TWEETTHIS.addButton({
message:'{Title}',
longUrl:'{Permalink}',
}, {button:true} );
</script>
</p>
<!-- end tweetthis -->
The HTML tag can be a <div> or any other tag. But you should use the “tweetthis” class.
Like I said, it’s early stage. Let me know if you use it, so I can keep you in the loop for changes.
posted 3 years ago | Permatime