Building Cofax: A Content Management System for Newspapers

Last year I became Director of Online Technology at Philadelphia Newspapers, and one of the first things I wanted to fix was the publishing workflow. Over the years I had built individual tools to automate pieces of the work, from reading image dimensions to serving ads. Editors and producers were still spending too much of their day on mechanical tasks: reformatting stories, uploading files, checking links, fixing layouts. These are smart, capable people doing work that software should handle.

The idea behind Cofax is simple. The content management system should do the mechanical work so that journalists can focus on journalism. Cofax handles formatting, placement, indexing and publishing as a story moves through the editorial process. We are building it to separate the work of editing a story from the work of getting that story onto a website. Changing a page's design should not mean changing the story, and publishing another story should not require assembling another page by hand.

The plan is to make Cofax available to newspapers outside Knight Ridder as well. Good software should not stay locked inside one company. If Cofax can help a mid-sized newspaper publish to the web without hiring a dedicated web production staff, that is a better outcome for the industry. Newspapers are all facing the same challenge: how to publish to the web efficiently without pulling resources away from journalism. We want to share it widely.

September 2026 update: The sections below revisit the subsequent rollout and Cofax’s documented architecture.

The team and the rollout

I could not have built Cofax alone. The team that made it real is a group of people I respect and enjoy working with.

Karl Martino is one of the strongest developers I have worked with. He writes clean, thoughtful code and thinks carefully about architecture before writing a line. Sam Cohen handles the integration with our editorial systems, which is the kind of unglamorous work that makes everything else possible. Toan Dang is another senior engineer whose contributions to the core system are essential. Derek Dinh handles our systems administration and database administration, and is fast and resourceful in keeping everything running. Charles Harvey manages our site operations and makes sure Cofax runs at production scale. Hung Dao contributes solid development work across multiple components of the system. Don Henry, our senior producer and project manager for Cofax, serves as the bridge between the development team and the newsroom. He understands both sides and keeps us building the right thing. Bobby Cherian handles technology product and IT support for the team, including Cofax, and keeps everything running smoothly on the operations side.

Outside of Knight Ridder, Lee Bolding of Unix Consulting contributes to the open source side of Cofax with software development and database work. His contributions are separate from the newspaper production work but valuable to the project.

We launched Cofax on Philly.com, serving the Philadelphia Inquirer and the Philadelphia Daily News. The newsroom staff adapted quickly because the system was designed around their workflow. The Inquirer's launch account, dated May 22, 2000, describes the change from static pages to a site that editors could update throughout the day. The project's news archive places the broader newspaper rollout between June 2000 and February 2001.

I spent a good part of my time talking to editors and managers at other Knight Ridder newspapers, explaining what Cofax did and why it mattered. Convincing a newsroom to change its publishing workflow requires trust. You have to show them that the system will handle their edge cases, hold up on deadline and make their lives easier. Some of those conversations took multiple visits.

That work paid off. The Miami Herald and the San Jose Mercury News adopted Cofax. More were scheduled to follow. Each newspaper had its own quirks, workflows and technical environment. We learned from every deployment and made Cofax better as a result.

The September 2001 award announcement, reproduced on my awards page, gives a useful measure of the result: a web production task that had taken eight hours for one newspaper now took 45 minutes. That was a fundamental change in how a newsroom's web operation worked. The saved time mattered because it changed what newsroom staff could spend their day doing.

A shared engine, local publishing choices

The technical documentation describes a Java system that separates incoming content, storage and presentation. Incoming news feeds were converted to XML and loaded into a data store. A Java servlet assembled pages using templates, and the storage interface let the publishing logic work with different databases.

The content model is the part of the architecture I would still defend. Cofax stored an article's section placements separately from the article itself. A placement could specify where the story appeared, its rank on that page, and the period during which it should appear there. One story could therefore lead the home page and sit lower on a section page without becoming two independently maintained copies.

This had to work on deadline. Frequently requested content could be served from a cache, refreshed at configured intervals or when editors changed it. The editorial tool was deliberately plain: editors needed a fast, keyboard-friendly way to publish a late-breaking story.

Templates handled another kind of variation. A publication could use a general layout, override it for a section, or give an individual story its own treatment. Sharing the publishing system did not require sharing every layout. This is the boundary I would keep in mind when building such a system again: make the common work reusable, while giving editors and designers explicit places to make local decisions. Otherwise a small design request can become a reason to maintain a separate application.