« Bolton Battle II: A Quick Primer | Home | Back to Basics »

"Pop-Up Politician" Debuts from Sunlight Labs

user-pic

Thomas Jefferson memorably said, "Whenever the people are well-informed, they can be trusted with their own government," but these days a big part of the problem with that admirable notion is that we're glutted with information and it's hard to take it all in, let alone stay focused. And it's clear that lots of bad and dumb stuff gets done by people in power because they think--or know--that the rest of us aren't paying attention.

Along with my partner-in-crime Andrew Rasiej, I've been spending a lot of time lately helping the newly-created Sunlight Foundation figure out how we might be able to harness the internet and the social web to tackle this problem, with the goal of shining more light on Congress and Washington. One answer we've come up with is to create tools to help civicly-minded bloggers steer readers toward rich sources of information, precisely when those readers are actually thinking about a specific Member of Congress or bill. And the first iteration of that idea is now live. It's called the "Pop-Up Politician".

The Pop-Up Politician is a widget (an AJAX-based bit of code) that adds mini-profiles of Members of Congress to a web page that appear when you run your mouse over the link. The tool actually creates a small "sun" symbol next to the Member's name, and the Pop-Up doesn't appear unless you mouse over it. It looks like this:

Picture 8
The links inside the Pop-Up go to the Member's page in Congresspedia (which is a wiki that Sunlight helped create that includes a great deal of factual and critical information on each Member), to their career campaign finance profile page on OpenSecrets.org, and to their current voting record as tracked by the Washington Post's Votes Database. To see an example of the Pop-Ups in action, go here.

It's actually quite easy to add a Pop-Up to any blog post if you want to do it by hand. First, you need to add a line of script to your site's header template, that reads: "<script src="http://sunlightlabs.com/popuppoliticians/sunlightpopups.js"></script>". Then, if say you wanted the link to work on something you had written about Senator Edward Kennedy, you'd wrap this bit of html around his name in your blog post: "<a href="http://sunlightlabs.com/tag/Sen.+Edward+M.+Kennedy" rel="tag">Sen. Edward M. Kennedy</a>".

If you want more details on how this works, go to the Sunlight Labs or send an email to my colleague Greg Elin, the Labs co-director. (gelin-at-sunglightfoundation-dot-com). The Labs is working on additional features, including local server-side PHP code to automatically search and replace Members of Congress's names with the necessary links. Sunlight has built a Drupal plugin that does this its own site, and also built a WordPress 2.0 plugin as well. Plugins for the major blogging and CMS platforms are planned and SunlightLabs is eager to find open source developers to help accomplish this and extend the the plugin. And we're happy to help individual bloggers and news sites figure out how to install Pop-Up Politician on their own sites. (We're talking with TPM Cafe's techies about doing that here, in fact.)

Imagine reading about a politician on the web, and being offered real-time pointers to who is their prime backers, or to the latest investigative story about them. That's the power of the Pop-up Politician tool. Or so we hope. What do you think?


9 Comments

| Leave a comment

by far -- and that is THOUSANDS OF MILES -- my favorite information source for any politician or candidate is "Project Vote Smart" (see www.vote-smart.org).

Project Vote Smart is a non-partisan, non-profit project dedicated to empowering the public toward making informed and intelligent choices at election time. I find myself using their data ALL the time when sifting through the ever shifting sands political issues, statements and opinion.

Of great value is their searchable database of politican/candidate public statements that goes back years in many cases.
I first came across them in 1994, (they started in '84 I think). I've used them extensively in formulating my candidate choices in '96 and thereafter.
It's a treasure trove of facts - voting records, public speeches, official biographies, ratings by special interest groups and the like. They accept NO money from PACs or other interest groups. Their staff is almost entirely volunteer and unpaid interns. Their board is made up of influential and experienced public officials but no member is chosen without a balancing member (e.g. Jimmy Carter was balanced by Barry Goldwater).
Be sure to check it out.

Thanks for your work on this. I'm sure it will get a work out.

My pet peeve is reading about a bill or amendment that was voted on in congress with no reference to the bill number. Sometimes it is impossible to find on Thomas. This is what most newspapers and other media do. Then bloggers pick up the story and still no bill number. Can this problem be addressed? Thanks.

xhref?? What the hell is xhref?

Oops. That "x" somehow got inserted as I was cutting and pasting. Sorry! Thanks for catching it!

A great idea!

Is this something  that Management is thinking about adding here?

Is there any reason you couldn't add this to a Blogger.com template? (i.e., something a user can do, and not something blogger has to add for the site overall)

Have questions about the Cafe? Try here.

I think a "How To Work Thomas" post would be useful for a lot of people. 

Have questions about the Cafe? Try here.

Thomas is so hard to navigate we're actually looking at building a site that pulls all the information off of it (votes, bills, amendments, speeches, etc) and makes it very easy for anyone to track any of those...stay tuned for details.

Nice.

This is very cool, especially given that you have picked such a fine name for the new foundation :)

-- Fred Heutte, Sunlight Data Systems, Portland, OR
phred@sunlightdata.com
formerly phred@sunlight.portland.or.us circa 1991

Leave a comment

Recent Reader Posts

All Reader Posts »

Inside Cafe



Cafe Features


January 5-9

Book Cover

January 12-16

Book Cover

January 19-23

Book Cover

January 26-30

Book Cover

February 2-6

Book Cover

February 9-13

The Great Depression

February 16-20

Tear Down This Myth

February 23-27

Demagogue

March 16-20

Engaging The Muslim World




Book Club Archive



Masthead

Editor-in-Chief
Josh Marshall

Site Editor
Lila Shapiro

Intern
Claire Wilcox



Subscribe to TPMCafe's feed.
Subscribe to TPMCafe's reader blog feed.

Advertise Liberally
Share
Close Social Web Email

"To" Email Address

Your Name

Your Email Address