NATHAN ASHBY-KUHLMAN > Blog Entry

Article URLs week: Day 5

Throughout Article URLs week, I’ve tried to examine a good mix of news sites, although the ones I chose are hardly any kind of random sample. For the last set of reviews today, I’ve picked a few sites that I’m fairly fond of, either from having worked there or just for liking the way they’re designed.

That’s it for my week of capsule reviews. I started out with a few ideas about the “best” way for news sites to implement principles for good URLs. I’ve thought it through more over the past few days, and tomorrow I’ll conclude the week with those recommendations.

In the meantime, there are a lot more news sites out there than the 26 I covered. If you have some favorite awful or outstanding article URLs of your own, follow Jason’s lead and post them here.

Comment by Mike Thompson, posted August 2, 2003, 2:16 am

Nathan, as the man who wrote seattlepi.com's CMS, I can answer your question about the ID and slug. The slug has always come to the web site that way from the newsroom, in this case runway01. When we used to run Pantheon Builder (and who doesn't remember program), we always had problems with files overwriting each other. When I wrote our new CMS, I simply attached an ID to it to ensure each file had a unique name. The ID is actually handy to have when you need quick access to editing a file. Every article has a date published in it, so I really didn't see a need to attach that onto the URL.

Comment by Simon Willison, posted August 2, 2003, 9:17 am

I think the BBC deserve a mention for good hackable URLs:

http://news.bbc.co.uk/1/hi/world/middle_east/3118737.stm

Although the ID number isn't very informative (no slug or date) you can hack up to middle_east/ and then again up to world/. The 1/hi bit is unnecessary though.

Incidentally, is TCPalm.com running Vignette? The commas give it away.

Comment by Nathan Ashby-Kuhlman, posted August 2, 2003, 8:10 pm

Mike: Yes, I, too remember Pantheon Builder. Those were the days. I presume when you mention files overwriting each other you mean files from different days would overwrite each other, but that slug coming from the newsroom would at least be unique within each day? My thinking vis-a-vis dates was just that if you’re already adding six digits to the URL to guarantee uniqueness, as long as you can guarantee the slug’s uniqueness within each day, why not make those six digits a year and month? That could add some meaning to the URL without sacrificing length or uniqueness.

Simon: I shouldn’t have been entirely American-centric in my series; the BBC definitely has pretty nice URLs. And yes, we run Vignette at work. In addition to the commas, the other dead giveaway is the HTML comment (“<!-- Vignette V/5 Sat Aug 02 20:00:23 2003 -->”) it inserts all over the place.

Comment by Mike Thompson, posted August 5, 2003, 3:36 pm

Unfortunately, there is no absolute guarentee that the newsroom will have unique slugs. It is extremely minimal, but there is a chance (especially across departments) so I decided against it.

The problem with Pantheon if I remember correctly was mostly when you had the same slug more than once. It would attach a 1, then a 2, then a 3, etc. each time a new story came through. This was okay until you deleted a story somewhere in the middle. Pantheon then got confused on where it should number from and I remember having stories overwrite other stories (or publishing to URLs that used to belong to something else).

Comment by Michael Alderete, posted August 15, 2003, 7:03 pm

I would have to recommend Salon.com as having one of the best systems of URLs of any news site in the world:

http://www.salon.com/news/feature/2003/08/15/dust/index.html
http://www.salon.com/ent/feature/2003/08/15/open_range/index.html
http://www.salon.com/opinion/conason/2003/08/14/arnold/index.html
http://www.salon.com/news/sports/col/kaufman/2003/08/15/friday/index.html

The URLs are certainly are descriptive, and beautifully hierarchical. And you can drop the "index.html" from the main story page, and they still work. If they were hackable, I would nominate Salon.com for an A or A+.

POST A COMMENT on “Article URLs week: Day 5”

Your name: (optional)

Your site: (optional)

Comment: (only <a>, <em> and <strong> allowed)

This page last modified on Tuesday, November 15, 2005 at 11:54 pm