Does the SGAPI parser now treat these msplinks.com URLs as their real
URL? Is it safe for me to put my rel="me" link back on my MySpace page?
MySpace obfuscates the URLs of all outgoing links in user-supplied
content on profile pages, by rewriting them to opaque nonsense in the
domain msplinks.com. It seems that they do this so that they can quickly
disable links to phishing sites or somesuch. However, this means that
when I do this:
<a href="http://martin.atkins.me.uk/" rel="me">
it actually becomes something like:
<a
href="http://www.msplinks.com/MDFodHRwOi8vbWFydGluLmF0a2lucy5tZS51ay8="
rel="me">
I guess there's already some cleverness going on with collapsing of
permanent redirects into a single node, but rather than an HTTP redirect
msplinks.com serves an intermediate page saying "You're leaving
MySpace!" or somesuch, with a link to the target URL that looks like this:
<a id="link" href="http://martin.atkins.me.uk/"></a>
There seems to be more about this here:
http://mashable.com/2007/04/24/msplinks/
This long string is simply a base64 encoding of the link in question.
MDFodHRwOi8vbWFydGluLmF0a2lucy5tZS51ay8=
is base64 for
01http://martin.atkins.me.uk/
I was able to verify this by generating a valid msplinks.com page
including a new link I encoded (after adding "01" to the beginning).
> I guess there's already some cleverness going on with collapsing of
> permanent redirects into a single node
Since base64 encoding is stable, all links to the same address will
encode to the same msplinks link.
-Dale
Aha! I should've tried that. Thanks.
Should be easy for the SGAPI parser to process these, then, right Brad?