1. A method comprising: identifying, by one or more processors, online content, the online content being associated with a document; calculating, by one or more processors, a first score for the online content, based on a measure of freshness of the online content, the online content including content relating to an event, and the measure of freshness being based on a first time when the event occurred and a second time when the online content was published; determining, by the one or more processors, a second score for the online content based on a quality of a source that published the online content, the source being an entity that publishes documents; ranking, by the one or more processors, the online content based on the first score and the second score; and providing, by the one or more processors, the ranked online content for display.