Now that we have the database set up, we're ready to build a web interface. We will present a summary of the data we collect and provide links for getting more information.
The main page, pictured below, is where we'll start. It displays the results of two queries (highest/lowest score and most/least controversial). The items themselves are links to pages that show the reasons each voter provided for upvoting or downvoting the thing.
Let us start by creating some macros that will make writing the actual pages much easier. Every time we see a "thing", we want it to be a link to the
things page. Similarly, we always want negative scores to show up in red, and positive scores in green. Finally, we want nicknames to be ...