Dec 29

What Links Here

We’re trying something new around here. Since we have so many posts, there’s a lot of internal linking between posts. This linking has value because it can point you to other things you may be interested in.

You see, you can only link to something in the past — it needs to exist when you’re writing or editing the page. But what about something you write and then link to multiple times? Knowing what has been written after the item that you’re looking at, that links back to it, is something you may want to know.

To this end, we’ve created a script that runs every night and parses the text of every entry on this site, extracts all the internal hyperlinks, and traces them back to the posts they link to. (Yes, I thought about using referrers. That would probably work too. But that requires someone to click on the link, and that struck me as a fuzzy way of doing things.)

So, in a lot of posts, right under the text and before the comments, you’ll see something like this:

Take a look around and see if you like it. We will have some issues with Markdown appearing in the previews, but it’s largely in place. It seems to have value — it’s very good at pointing you at something related to what you’re looking at which you might be interested in reading. And that’s really the trick to get visitors deeper into the site.

As an added bonus, here are the top five posts on this site by number of internal links pointing to them. The winner is no surprise, if you’ve been around here for a while. Click on any of these things to see lots of “What Links Here” results, if you want examples.

  1. Open and Closed Content Management
  2. Adding User-Defined Fields in Movable Type
  3. Problems No Platform Will Fix
  4. Keyword Categorization: Thinking Out Loud
  5. Bayesian Spam Filter for Outlook

Comments

by Biscuit,   December 30, 2005 6:57 AM  

Cool! Nice simple solution to a fairly universal problem. No idea if you got the idea from a comment I left on one of your other posts (Automatically changing tense), but it's always good to see techniques like this being tried out (actually I'm pretty sure you guys already had this idea in your heads given the way you've been developing gadgetopia).

As a question though, any ideas on how to differentiate between something that is just a related post/article, versus an update on a current issue (more useful on news sites, for example getting the history of the Sony DRM debacle)...

I wonder would it be useful (beyond an academic exercise) to actually automatically create a timeline map of posts? Don't know, are there any products/services out there that are looking into this kind thing? (other than search engines that is)


by Deane,   December 30, 2005 9:57 AM  

Sadly, there's a bug, it looks like. The "This Post Links To" section on this entry should have five entries. It only has three. Bummer.


by Darren Chamberlain,   December 30, 2005 10:33 AM  

It would be cool if you took all of this information and graphed it. You could build an interesting map of the site this way.

Also, is the script available anywhere? I'd like to see how it works


by josh,   December 30, 2005 12:36 PM  

Why not create the list when you publish the entry? As the event gets stored into the database parse it there and update the DB.

Theres a lot of latency in the system right now.


by Deane,   December 30, 2005 1:15 PM  

Why not create the list when you publish the entry?

That's not logically possible. "What Links Here" -- by definition -- refers to things that have been published after the subject entry. They don't exist when the entry is published.


by Biscuit,   January 2, 2006 3:58 PM  

@Deane, I think what Josh was refering to is that when you do a post, add it and it's links to a db (and then the links to section is just a query against the db) rather than scanning all existing posts (that that would of needed to be done to fill in the db)...

More of an aid to how to work out the links, and then you can do all sorts of funky stuff like graphing the posts and looking at common threads... Cool! :-)



Add Comment


Want to advertise on this site? Contact FM.
Web Hosting Web hosting, dedicated servers and Web design services
Laser Toner Cartridges UK laser toner, toner cartridges, hp toner, lexmark toner, samsung toner, canon, toner, epson toner, oki toner, kyocera toner, xerox toner, remanufactured toner, compatible toner
Direct TV Deals Free 4 room direct tv deals. no equipment to buy. free fast professional direct tv installation. this is the best direct tv deal available anywhere.
SEO Article Learn from the experts with our SEO article.
rope light Shopping with birddog distributing, inc., gives you access to the lowest prices, the best customer service and the quickest delivery times possible.
Laptop AC Adapter We offer genuine factory direct replacement AC adapters.
Direct TV Best satellite TV deals.
Direct TV Deals Direct TV programming deals are varied and include packages containing from 50 channels up to over 250 channels.
8mm film to DVD Retain family memories with the only frame by frame digital restoration service in the United States for your 8mm film to DVD today
Rubber Stamp Shop for custom self-inking stamps, hand stamps, address stamps, label stamps, check endorsement stamps, check deposit stamps, date stamps, pre inks, pocket stamps, ink and much more!