This article presumes you know what a URL shrinking service is and why you would use it. I will not get into that here.
For Users:
Tanin.nl allows you to create distinct tiny URL’s from virtually any site. Here’s how:
- Drag the following link to your bookmarks: Shrink This URL with Tanin.nl
- Once you’re on a page that you would like to shrink the URL of, simply click on the bookmarked link.
- You will get a message asking you to confirm your request and if you accept and all goes well, your new shrunken URL will be presented to you.
For Developers:
Tanin.nl supports an API that is similar to that of tinyURL.
The URL is:
http://tanin.nl/s/api-create.php?u=
Example:
/* Sample function */
function shrink_with_tanin($u){
return file_get_contents('http://tanin.nl/s/api-create.php?u='.$u);
}
/* function usage */
$url = 'http://0xtc.com/';
$shrunkurl= shrink_with_tanin($url);
echo('Shrunk "'.$url.'" to "'.$shrunkurl.'"');
Ta-da! That’s pretty much it. Enjoy.
PS: If you’re using Google’s Chrome, you may want to hit CTRL+b to reveal the bookmarks bar.