Skip to content
PageOneX. Analyzing front pages
Ruby HTML JavaScript CSS CoffeeScript
Latest commit 3cfbdfc Mar 13, 2016 @numeroteca Fixes host for email in production environment.
Partially fixes #200.
Failed to load latest commit information.
app Adding slides link to last presentation in home page Nov 13, 2014
config Fixes host for email in production environment. Mar 13, 2016
db Run migration to add bio column to users table May 22, 2014
doc mostly unchanged files Jun 28, 2012
lib Fixe crash when making thumbnails for long threads. Sep 30, 2013
log mostly unchanged files Jun 27, 2012
public Adds missing "nothing to code" label image to /public Feb 19, 2014
script mostly unchanged files Jun 27, 2012
spec adds scaffolded UI for manually managing media, also new admin menu Jul 31, 2013
vendor mostly unchanged files Jun 27, 2012
.env Use thin via procfile Jul 21, 2012
.gitignore ignore generated thumb files Aug 19, 2013
.project for aptana-based debugging Apr 29, 2013
.ruby-gemset integrating to rvm best practices May 30, 2014
.ruby-version integrating to rvm best practices May 30, 2014
Gemfile add a ruby version dependency (more application of best practices) May 30, 2014
Gemfile.lock Updates Gemfile.lock Oct 30, 2013 more setup instructions May 30, 2014
LICENSE changes license from MIT license to GNU AGPL v3 Sep 20, 2013
LICENSE-RAILS updating about + adding licenses Aug 17, 2012
Procfile Use thin via procfile Jul 21, 2012 puts message to inform that the media update from the .csv file is wo… Mar 29, 2013
Rakefile mostly unchanged files Jun 27, 2012 mostly unchanged files Jun 27, 2012
favicon.ico changes license to MIT License May 1, 2013

PageOneX in Ruby on Rails

PageOneX is an open source tool to code, analyze and visualize the evolution of stories on newspaper front pages. PageOneX is an free software/open source software tool designed to aid the coding, analysis, and visualization of front page newspaper coverage of major stories and media events. Newsrooms spend massive time and effort deciding what stories make it to the front page. In the past, this approach involved obtaining copies of newspapers, measurement by hand (with a physical ruler), and manual input of measurements into a spreadsheet or database, followed by calculation and analysis. Some of these steps can now be automated, while others can be simplified; some can be easily shared by distributed teams of investigators working with a common dataset hosted online.

How is your project different from what already exists? Communication scholars have long used column-inches of print newspaper coverage as an important indicator of mass media attention. PageOneX simplifies, digitizes, and distributes the process across the net.

More Info

You can find more information and examples at or at the blog


The project has many collaborators. The coders have been/are Ahmd Refat, Edward L Platt, Rahul Bhargava, Rafael Porres and Pablo Rey Mazón. Sasha Costanza-Chock is giving advice and support from the Center for Civic Media; Alfonso Sánchez Uzábal is providing tecnical support and Montera34 the server. Thanks to Jeff Warren for his advice and Rogelio López for his testing.

Join the project

Join the mailing list for developers, for users or subscribe to the newsletter to get the last updates.


The project has gone through different phases. Initially, this type of data visualization was made through a ‘manual’ process: images of newspaper front pages were downloaded from the web and reorganized in a vector graphics program to draw rectangles on top of them to highlight certain stories.

The first version of an automated tool was a script written in Processing, that downloaded newspapers front pages and generated an organized array of images ordered by date.

The second version is this tool written in Ruby on Rails that you are using. It is developed to be a web platform to provide a ready to use front page analysis tool for anyone with a connection to the Internet. The platform automates the process of newspaper selection, download, thread coding, and data visualization. The alpha version was developed by Pablo Rey Mazón with Ahmd Refat, thanks to Google Summer of Code program 2012 (GSOC) and the Berkman Center as host institution in Summer 2012. You can test the alpha version at PageOneXtester at Heroku.

In Winter-Spring 2013, at the MIT Center for Civic Media at MIT Media Lab, we are developing the first beta version and preparing a stable deployment.


Use keyboard shortcuts to make some actions while coding:

  • ← = previous image
  • → = next image
  • n = nothing to code
Something went wrong with that request. Please try again.