Fork me on GitHub
Visit the author at whomwah.com

RevCanonical generates a short url for your pages, as well as adding link shortening discovery. You can use this url on character restricted sites like Twitter, in IM, or anytime you need a short link to your webpages. The discovery part means that other sites and services can also use the short url should they need it. Oh and this short url is yours, from your website. It does not use any external service.

Here's what gets added to your pages. The link in the href is the short version you can use:

<link rev="canonical" type="text/html" href="http://my-domain.me/p12p" />

This tag can though be customised to suit your own preferences (at your own risk), for instance this:

<link rel="shortlink" href="http://my-mini.me/p12p" />

That’s it! Oh and there's a great bookmarklet that makes hunting for existing short urls on a page really simple.

Download the latest build from below:

View or fork the source via GitHub: http://github.com/whomwah/revcanonical/tree/master. The Public Clone URL is:

git clone git://github.com/whomwah/revcanonical.git

Launched: Tues, April 14th, 2009

Author: Duncan Robertson [http://whomwah.com]


back to the top