mmn/OrigURL — Issue #3: Support rel=canonical
Author: voxpelli
Created: 2012-01-23 17:01:37+00:00
State: open

Noticed this service because of Flattr and of course wanted to try it out on one of our short URL:s on Flattr.

At Flattr we use rel="shortlink" and rel="canonical" links in the HTML-head to make the shortened link and the full link discoverable. If I enter a shortlink like https://flattr.com/t/452856 then it would be nice if OrigURL would parse the canonical link to find out the full URL (https://flattr.com/thing/452856/loadMore-js) and return that.

I guess that parsing HTML is a bit too much work though? We currently don't include the canonical link in our HTTP-headers, but perhaps we should because then you could easily parse it even when only doing a HEAD-request - right?