Viewing Bit.ly metadata on a post

I just added a way to autmatically add url shortening to each post. It uses the bit.ly service and their nice widget which opens a small box into the page with the shortened url ready to be posted on twitter or other services, and shows a nice set of metadata for the post itself. Here is how it looks like:

Bit.ly metadata for a post

Bit.ly metadata for a post

To add it I modified the template adding this:

at the bottom of each post single-page template (single.php) and at the bottom of each post in the main index template (index.php)

Backup to S3

Here is a small script I’m using to backup files to S3. Actually it implements all the basic operations you need for S3 (bucket creation, listing, file upload and download).

It’s rather trivial but I was able to keep it so simple, thanks to it’s use of the Boto python library to do all of the AWS heavywork. Anyhow I think it may be useful.

A few examples:

Here is the code:

Den Rest lesen…

A new start

It’s the first day of the year and I’m going to do try (perhaphs for the last time) to resurrect this blog, or better I’ll try to start writing for real; let’s see if I’ll be able to do it at least weekly (I was going to say daily, but that would have been a wishful thinking…).

In the meantime I’ve started to use a bit twitter ( @lmea )and that seems to offer a lot less friction to express quick ideas leaving the blog for longer and hopefully deeper topics.

Web2.0 Expo Presentation

Last week I was at the Web2.0 Expo in Berlin, It’s been quite interesting and I’ve been able to do a talk about OAuth.

I struggled more than a bit to get my presentation on slideshare, probably there was something bad with the fonts or the images used, I succeeded only doing a print from windows to a PDF printer of the PDF exported from Keynote…. and still i have the slides with the images that were printed with the wrong orientation. So here it is the original PDF for you to download:


“Integrating Services with OAuth”

P.S. It seems that I’m blogging more or less yearly :)