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

Dynamo hires former Business Insider executive editor Harrington

Former Business Insider executive editor Rebecca Harrington has been hired by Dynamo to be its…

20 hours ago

Bloomberg TV hires Kerubo as desk producer

Bloomberg Television has hired Brenda Kerubo as a desk producer in London. She will be covering Europe's…

21 hours ago

Jittery CNBC staff reassured by new boss

In a meeting at CNBC headquarters Thursday afternoon, incoming boss Mark Lazarus presented a bullish…

21 hours ago

Making business news accessible to a wider audience

Ritika Gupta, the BBC's North American business correspondent, was interviewed by Global Woman magazine about…

21 hours ago

Rest of World hires Lo as China reporter

Rest of World has hired Kinling Lo as a China reporter. Lo was previously a…

22 hours ago

Bloomberg rises to No. 7 biz news website

Bloomberg News saw strong unique visitor growth to its website in October, passing Fox Business…

22 hours ago