github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jamiew / wikiswarm

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 13
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

generate code_swarm data from Wikipedia page histories & user contributions — Read more

  cancel

http://jamiedubs.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

weights 
jamiew (author)
Tue Nov 18 20:49:54 -0800 2008
commit  21bc3788fc3c4323a8ee7407d30a50b6f2c79432
tree    9e533f48f26e3da45414e459ff44133c013674f2
parent  72a7b2b80ff7676caae6b9415888e35d879460f2
wikiswarm /
name age
history
message
file README Fri Nov 07 07:27:57 -0800 2008 add a README for the github crew [jamiew]
file code_swarm.wikipedia.config Fri Nov 07 09:09:23 -0800 2008 added desc to config [jamiew]
file wikipedia.rb Tue Nov 18 20:49:54 -0800 2008 weights [jamiew]
README
Wikiswarm
===

Generates code_swarm event logs from the Wikipedia API.

Written to visualize edits to the Barack Obama page:
http://vimeo.com/2177573


Usage
===

Get the code_swarm Processing app installed and working:
http://code.google.com/p/codeswarm/
http://github.com/rictic/code_swarm/

Generate an activity.xml using wikipedia.rb -- can accept multiple args:

$ ruby wikipedia.rb "Barack Obama" > activity.xml

It will also generate a merged log from multiple arguments:

$ ruby wikipedia.rb "Barack Obama" "John McCain" "Ron Paul" > activity.xml

And can produce a log of a users' contributions, which fits the few-authors-many-files paradigm better:

$ ruby wikipdia.rb "User:Jamiew" > activity.xml


Config
===

The code_swarm.wikipedia.config file is the config I used to generate the Obama video. It has edges turned on (which 
turns the histogram off) and lower TTL for authors.

In a code_swarm install you can do something like:

$ ruby wikiswarm/wikipedia.rb "Barack Obama" > data/activity.xml
$ ./run.sh wikiswarm/code_swarm.wikipedia.config

See the code_swarm docs for how to save frames and use ffmpeg to generate a video. Then add rap music and enjoy!



Written by Jamie Wilkinson
http://jamiedubs.com
Nov. 6th 2008

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server