Adding Tweetmeme button to Posterous blogs

About 20 mins ago I realised that my post on adding the Tweetmeme button to Tumblr blogs had been added to the Related Articles section of Tweetmeme's Help section. How cool! For those that have been living under a rock - Tweetmeme is a fantastic service for tracking what's hot on Twitter and provides some great stats for content publishers to show how far word-of-mouth pushes each blog post. Tweetmeme is performing extremely well - check out this Chart of the Day from Silicon Alley Insider.

Having participated in the Posterous Custom Theme Alpha (many thanks Garry), I thought I should have a quick play with this blog to see if I could get the Tweetmeme button added to my theme. Looking around, I knew this must be possible as Guy's Holykaw! Alltop/Posterous blog is already using it.

It turns out that the process is even easier than on Tumblr because there's no javascript or iframe allowed in a Posterous theme (yet), so the only route left is to use the image based Tweetmeme button designed for RSS and email.

Go to http://posterous.com/main/account Click on the down arrow to the right of the "Post by email" button and click on "Theme my site". Once that has loaded, there's a tab in the top left labeled "Advanced" which will show you all the code.

Here's the code I am using:
<a href="http://api.tweetmeme.com/share?url={Permalink}&service=bit.ly&source=mled"><img src="http://api.tweetmeme.com/imagebutton.gif?url={Permalink}" height="61" width="51" /></a>

You should change the following parts:

&service=Your Preferred URL Shortener
&source=Your Twitter Username


To use this on your Posterous blog, insert it somewhere between {block:Posts} and {/block:Posts}
so that the ?url={Permalink} actually picks up the individual post's URL. I cheated a little by using the CSS that was designed to keep the date to the top left of each post's title as a way to hold the Tweetmeme button in place - <div class="date"></div> - and I then put the post's date stamp at the bottom of each post before the Comments.

If you need more info on including API keys for URL shorteners then check this help page on Tweetmeme, otherwise this should 'just work'.

UPDATE

I've recently changed the theme here on blog.mled.me. The new theme is Posterous' Paramaibo plus some CSS tweaks of my own. The Tweetmeme button is no longer included on my main page, simply on a permalink page for each post.

I'm no longer using the image based button, instead I've included the iframe version. Here's the code, but I've added two % before the words iframe in the hope that this Posterous doesn't embed it:

<%iframe src="http://api.tweetmeme.com/widget.js?url={Permalink}&source=mled" frameborder="0" height="62" width="52"></%iframe>

If you want to use the compact version of the iframe, the code should look like this:

<%iframe src="http://api.tweetmeme.com/widget.js?url={Permalink}&source=mled&style=compact" frameborder="0" height="62" width="52"></%iframe>

Hope this helps!

Audio books: Audible (sort of) works on Ubuntu with Wine

I'm not finding time to read books at the moment. To try and maintain the amount of literature I used to read, I'm giving audio books a try. All my spare time (snippets of 5 or 10 minutes) is spent trying to keep up with blog posts and podcasts (video and audio) - last night I watched the latest episode on thisweekinstartups.com

As proof that (occasionally) podcast sponsorship works, I decided to check out Audible.co.uk

I had a small panic just after signup when the process took me to a page that requires the download of the AudibleManager, which is for Windows as an .exe or iTunes. Wine came to the rescue and seems to run the software perfectly.

Wine allows AudibleManager to see my Music directory as Z:\home\dan\Music. I had to search through the Ubuntu forums to figure out how to launch the perl script that triggers the Audible Download Manager. I saved the .pl file to my desktop, right clicked, "Open with Other Application", and used Browse to navigate to /home/dan/.wine/drive_c/Program Files/Audible/Bin/AudibleDownloadHelper.exe

Now I've hit a snag because AudibleManager won't let me play my new audio book without authenticating. I try to sign in but it fails to connect to the server. I know Wine is able to access the internet because Spotify runs that way and streams music perfectly.

Any ideas?

Some thoughts on all this talk of "augmented reality"

"There's an app for that too."

Have you seen this interview that Scoble did?

The app is no where near as cool as the one Hermione has shot a twitvid of:

http://www.twitvid.com/CA5B4

These are amazing. I don't think I'm alone on feeling this, but I really like this technology because I see it as completing the journey from sci-fi to reality. I've always wanted to have that digital overlay on my vision - like a Terminator, or Robocop, the Borg, a Transformer... whatever.

At the same time, I'm slightly fearful. I really think this technology will push the All-seeing Eye / Big Brother status that Google has to the next level. Just think about it for a minute - Google already has:
  • Android
  • Maps with StreetView
  • Latitude
Surely these position Google in an ideal position to dominate in this augmented reality space? At the moment developers seem to be focused on developing for the iPhone, but if Google push for convergence on their current lineup then we could be looking at an extremely powerful platform for augmented reality technology. I think it reaches the peak of all-powerful if Google is then able to take the data from all user views of this augmented reality and update StreetView in real-time.