[ANN] Wikipedia page history parser

3 views
Skip to first unread message

Jamie Wilkinson

unread,
Nov 7, 2008, 10:08:40 AM11/7/08
to codeswarm
I put together a small ruby script to parse the Wikipedia API into a
code_swarm event log:

http://github.com/jamiew/wikiswarm/

I used it to generate this video of contributions to the Barack Obama
page over the last 3 years:

http://vimeo.com/2177573

It's possible to visualize multiple pages which can be interesting
(but very crowded). I've also half-finished support for visualizing a
list of users' contributions, which fits the code_swarm paradigm
better.

-jamiew
http://jamiedubs.com :: http://fffff.at

Michael Ogawa

unread,
Nov 16, 2008, 7:56:22 PM11/16/08
to codeswarm
I've added a "weight" attribute to the xml format, so you could use it
to show increases and decreases in Wikipedia content.

Michael

Jamie Wilkinson

unread,
Nov 19, 2008, 12:02:39 AM11/19/08
to codeswarm
This is great. Wikipedia's API publishes a size for edits, but only
since April 20, 2007.

I just committed support into wikiswarm and tried a few test renders:

http://fffff.at/fuckflickr/data/wikiswarm/weighted-rocketboom-03.mov
http://fffff.at/fuckflickr/data/wikiswarm/weighted-rocketboom-02.mov
http://fffff.at/fuckflickr/data/wikiswarm/weighted-meat-vs-cheese-04.mov

jamie dubs
Reply all
Reply to author
Forward
0 new messages