A smaller url
By Bobby WhitmanSo I got this idea the other day when I noticed that tinyurl.com was one character longer than dynamit.us. Sure it is no is.gd, but tinyurl.com is a legit URL shortening service. So with a shorter URL, why not make my own such service using our dynamit.us domain. It certainly cannot hurt to have our website address floating around the web more frequently.
Taking a page out of Leah Culver’s playbook, I did just that. It is not quite as efficient since I am using base 36 instead of base 56 as Leah suggests. Since I wanted to whip this up quickly (only took me about 30 minutes to get it off the ground), I used PHP’s built-in base_convert function which only accommodates bases between 2 and 36.
Anyway, you can now shorten URLs on us by visiting http://dynamit.us/url.
I am working on some basic statistics for the usage. Any thoughts on what would be cool to track?
Tags: Bases, statistics, TinyURL, URL
March 5th, 2009 at 1:02 pm
- Most popular base url being shortened.
- Most popular destination url for the day/week/all time
Those are my two suggestions.
March 5th, 2010 at 10:54 am
[...] dynamIt already has a URL shortener built into our site, all we needed was a suitable API. I was able to use the existing scripting to generate and store [...]