MemberFullList

Version 8 (Mike Gunderloy, 05/21/2009 08:07 pm)

1 1
h1. Members Full List
2 1
3 8 Mike Gunderloy
If you're going to add your info here, you probably want to add your name to the [[Short List|MemberShortList]] too.
4 8 Mike Gunderloy
5 1
We're going to try to scrape this data at some point, so it's important to keep the format consistent.
6 1
7 1
Do something like this (figure we can make it look like "YAML":http://www.yaml.org and just parse it):
8 1
<pre>
9 1
<pre>
10 1
unique_id:
11 1
  key: value
12 1
</pre>
13 1
</pre>
14 1
15 1
Where key is one of the following fields (feel free to add to this list, but we need to keep consistent)
16 1
<pre>
17 1
 name, email, blog, www, irc, aim, msn, gtalk, yahoo, twitter, friendfeed, company, projects
18 1
</pre>
19 1
20 1
Here's a base template to get you started:
21 1
<pre>
22 1
your_identifier:
23 1
  name: 
24 1
  email: 
25 1
  blog: 
26 1
  twitter: 
27 1
  company: 
28 1
  projects:
29 1
   - project 1
30 1
   - project 2
31 1
</pre>
32 1
33 7 Mike Gunderloy
Let's keep entries alphabetized by last name to make it easier to find people manually.
34 5 Jeff Schoolcraft
35 3 Jeff Schoolcraft
[[Full List|FullList]]
36 4 Jeff Schoolcraft
37 5 Jeff Schoolcraft
38 5 Jeff Schoolcraft
39 4 Jeff Schoolcraft
Then, all we have to do to scrape it is:
40 5 Jeff Schoolcraft
41 4 Jeff Schoolcraft
42 6 Jeff Schoolcraft
<pre><code class="ruby">
43 4 Jeff Schoolcraft
require 'rubygems'
44 4 Jeff Schoolcraft
require 'open-uri'
45 4 Jeff Schoolcraft
require 'pp'
46 4 Jeff Schoolcraft
47 4 Jeff Schoolcraft
pp YAML::load(open('http://wiki.railsbridge.org/projects/railsbridge/wiki/Full_List?format=txt'))
48 4 Jeff Schoolcraft
</code></pre>