Need a short URL service? Try Wordpress!

Twitter logo courtesy of <a href=http://www.hongkiat.com" />
Although I’m still not ‘tweetin’ I do see it’s potential for promoting the fan-tas-tic project, once it’s finished.
And in my search to do this I stumbled across this article: 10 Exceptional WordPress Hacks. And I noticed a remark in the comments section (#12) about using the built-in default WordPress URL-structure instead of TinyUrl or any other third party service.
I was triggered immediately (comment #25) because I am considering to implement a ‘(re)tweet this’ feature and my options until now were automated TinyUrl’s or a ShortUrl plugin.

As stated above why not try the default URL of WordPress itself? As long as your own domain is not too long, why not give it a try? After having looked around in codex, the solution seemed very simple:

<?php echo get_bloginfo('url')."/?p=".$post->ID; ?>

For example http://www.fan-tas-tic.com/?p=200 is short enough without the disadvantages of a third party services and your own domain is indexed/searched in twitter and other tools. And you still keep your fancy permalinks. Win, win, win!

So looking for a short Url service for your Wordpress blog; why not use Wordpress itself?
Now isn’t this something to tweet about!?