OLD Media Moves

How Quartz uses coding to update posted stories

David Yanofsky, the things editor at financial news site Quartz, told Talking Biz News about how it puts coding into stories so that they automatically update.

He writes:

We write little snippets of code that download data from known locations, calculate some key values, then save the results to a file. When a reader comes to the page, their browser loads the file and inserts the numbers into the corresponding spots. As cool as it seems, and as useful as it can be, it’s not the most complicated or technically difficult thing to do.

Not all of these are examples of the process above, but here are a few other examples of things we published where content dynamically updates based on calculations or information we know about a reader.

As far as news automation goes, it’s a pretty basic system. We’re not algorithmically writing full sentences, paragraphs, or stories, based on the data, like say BloombergThe Los Angeles Times, or Narrative Science do. We’re just replacing a digital “TK” with a number.

That simplicity is a big part of the allure. First, and most importantly, it’s easy to explain to our readers what’s going on. Second, there’s almost no cost for us to operate it. Amazon Web Services has humorously high free-usage limits.

Chris Roush

Chris Roush was the dean of the School of Communications at Quinnipiac University in Hamden, Connecticut. He was previously Walter E. Hussman Sr. Distinguished Professor in business journalism at UNC-Chapel Hill. He is a former business journalist for Bloomberg News, Businessweek, The Atlanta Journal-Constitution, The Tampa Tribune and the Sarasota Herald-Tribune. He is the author of the leading business reporting textbook "Show me the Money: Writing Business and Economics Stories for Mass Communication" and "Thinking Things Over," a biography of former Wall Street Journal editor Vermont Royster.

Recent Posts

Wirecutter hires Builder as deputy editorial director

Wirecutter editorial director Lauren Sullivan sent out the following: I’m elated to announce that Maxine Builder, a…

13 hours ago

Morning Brew, Yahoo Finance strike partnership

"Morning Brew" and Yahoo Finance are partnering to include Yahoo’s market data in the “Markets”…

15 hours ago

Modern Healthcare hires Early to cover regulators

Modern Healthcare has hired Bridget Early to cover health care regulators. She is currently a health care reporter…

15 hours ago

Bloomberg Industry seeks a reporter to cover environmental litigation

Bloomberg Industry Group seeks a junior reporter to cover environmental litigation. Performs general assignment and…

15 hours ago

Star Tribune seeks a business editor

The Star Tribune is seeking an accomplished, motivated and versatile journalist and leader to shape…

3 days ago

Newsday seeks a deputy AME for biz coverage

The Deputy AME-Business is responsible for the development and planning of coverage on all Newsday…

3 days ago