Building Unbreakable Links

I was reading through some of the DataGrid Girl’s oh-so-cute article links, and I encountered a few dead ones. It’s not really Marcie’s fault; dead links are inevitable on any page as it ages. Such is the nature of absolute links. For example, this one:

http://msdn.microsoft.com/msdnmag/issues/02/03/cutting/cutting0203.asp

A few years ago, I had this thought: why do we use traditional absolute URLs any more? Why not build all of our links using relative Google search terms? For the above broken link, we can restate it like so:

http://www.google.com/search?q=msdnmag+asp.net+data+shaping&btnI=1

All you need to do is run a quick function to determine three or four of the most unique words on the page, then feed them to Google as query terms with the “I'm feeling lucky” parameter. Now you have a permanent, unbreakable link to that content. Well, permanent unless Google goes out of business, or the content disappears from the internet completely.

Of course, it’s unlikely everyone will adopt this approach for the most obvious reason: Google would become unbelievably powerful. They would be the “link DNS” for the entire internet. But as a practical solution to Marcie’s problem, I think it is totally workable. Whenever I link to articles in my code, I try to do so through very specific google search terms, which are likely to produce valid links many years from now – even if the content moves to a different place on the internet.

All I need is some sort of web-based tool to automatically parse a page and produce 4-5 unique words from that page. It’s sort of like Googlewhacking, but with a more practical bent.

Jeff Atwood

Written by Jeff Atwood

Indoor enthusiast. Co-founder of Stack Overflow, Discourse, and RGMII. Disclaimer: I have no idea what I'm talking about. Let's be kind to each other. Find me https://infosec.exchange/@codinghorror

⏲️ Busy signing you up.

❗ Something's gone wrong. Please try again.

✅ Success! Check your inbox (and your spam folder, just in case).

Recent Posts

An interactive TWiT Series You're the hero of the story! Choose from 1,024 possible endings. OFF by ONE with Jeff Atwood Hosted by Leo Laporte "every choice changes everything!"

Every Choice Changes Everything: The Show

About 3 weeks ago, Leo Laporte and I recorded the first episode of what will be a new monthly show on the TWiT network. Naming things is hard, and we almost voted on the name, like we did for Stack Overflow, but we quickly landed on Off By One with

By Jeff Atwood ·
Comments
Thank You For Being a Friend

Thank You For Being a Friend

It's been one of those months, and by that, I mean one of the 663 months since I was born. This won't be a long post, because I only have two things to say. First, I'm really glad we re-ordered the GMI (Guaranteed

By Jeff Atwood ·
Comments
map of the United States via rgmii.org showing all 3,143 counties by rural (gold) / metro (grey) and population

Launching The Rural Guaranteed Minimum Income Initiative

It's been a year since I invited Americans to join us in a pledge to Share the American Dream: 1. Support organizations you feel are effectively helping those most in need across America right now. 2. Within the next five years, also contribute public dedications of time or

By Jeff Atwood ·
Comments
I’m feeling unlucky... 🎲   See All Posts