Abraham, that's nice, though there may be one drawback when shortening
the links. A call to bit.ly or other URL shorteners could take some
time, thus slowing down your page if you do it server-side. Of course
you could cache it or do it via javascript with a PHP tunnel (AJAX)
but what's the point
Right now it makes a javascript call on each page that is not / to get
the shortened URL but they are pulling from Google so it is pretty quick.
I'm pretty sure that each request returns the same URL for each page so it
just returns it instead of creating a new one.
Abraham
On Tue, Apr 20, 2010