Overview

ssurl is a software that generates short URLs from long URLs. With short URLs, you can access to to original long URLs.

For example, long URL like below is given.

http://maps.google.co.jp/maps?q=%E6%9D%B1%E4%BA%AC%E9%83%BD%E5%8D%83%E4%BB%A3%E7%94%B0%E5%8C%BA%E7%8C%BF%E6%A5%BD%E7%94%BA2%E4%B8%81%E7%9B%AE6%E7%95%AA5%E5%8F%B7&ie=UTF8&om=1&ll=35.704426,139.760084&spn=0.024394,0.036478&z=14

ssrul generates a short URL like below.

http://ssurl.net/bqic

In this URL, you'll find a link to the original URL. ssurl never redirect automatically. So, people can click the URL at ease. It will be useful when you embed URLs to emails or mini-blogs (e.g. twitter.com).

REST interfaces

ssurl has two REST interfaces.

'http://ssurl.net/rest/compress' is a interface to order ssurl compress URLs. To use this interface, call this with the desired URL as a parameter 'url'.

http://ssurl.net/rest/compress?url=http://example.com/

XML document like below will be output.

<response>
  <has_error>false</has_error>
  <key>kjjs</key>
</response>

The value of 'key' element is for the compressed URL. In this case, compressed URL will be 'http://ssurl/kjjs'.

On the other hand, 'http://ssurl.net/rest/compress' is a interface to get original URL from keys. To use this interface, call this with the key as a parameter 'key'.

http://ssurl.net/rest/url?key=kjjs

XML document like below will be output.

<response>
  <has_error>false</has_error>
  <url>http://example.com/</url>
</response>

The value of 'url' element is the original URL.

Frequently Asked Question (FAQ)

How long a generated URL is available?

Generated short URL will be deleted when it have not been accessed for 1 years.

Disclaimer

ssurl is a beta software providing no warranty. Use ssurl at your own risk.