This is a WIP script i've been working on, it uses
cli.gs instead of
the traditional tinyurl way.
As of yet it dose not post it to your own
cli.gs account, but that
will hopefully be done when there is an API to work with :)
the file:
http://cligs-interested.googlegroups.com/web/cligs.php
you just simply make a bookmark like this:
javascript:(function(){%20window.open('
http://example.com/cligs.php?
url='+encodeURIComponent(location.href)
+'&title='+encodeURIComponent(document.title));%20})();
the script takes care of the rest.
note that it requires CURL to handle it, but can quickly be ported to
use fopen or any other library that you may think of.
ps.
It's quick and dirty. don't expect some fancy regex to handle the url
finding :p