<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 require 'rubygems'; require 'hpricot'; require 'open-uri'; require 'morph'; require 'mofo'; require 'cgi'
 
-# An example of Morph playing with Hpricot &amp; Mofo using Google Search as a gateway 
+# An example of Morph playing with Hpricot &amp; Mofo using Google Search as a gateway
 #
 #==How it works
 #
@@ -13,7 +13,7 @@ class WWR
   include Morph
 
   @@content = {}
-  
+
   def initialize(name)
     begin
       url = &quot;http://www.google.co.uk/search?hl=en&amp;q=site%3Aworkingwithrails.com%2Fperson+%22#{CGI.escape(name)}%22+&amp;btnI=745&quot;
@@ -33,8 +33,8 @@ class WWR
       morph('location',hcard.adr.locality)
       morph('for_hire',(true &amp; doc.at('a[text() = &quot;Available for hire&quot;]')) )
       morph('authorities',(doc/&quot;ul.authority li.tick&quot;).collect{|d| d.inner_text} )
-      morph('popularity', doc.at('h3[text() = &quot;Authority&quot;]').next_sibling.next_sibling.inner_text.to_f)
-      morph('authority', doc.at('h3[text() = &quot;Popularity&quot;]').next_sibling.next_sibling.inner_text.to_f)
+      morph('popularity', doc.at('h3[text() = &quot;Popularity&quot;]').next_sibling.next_sibling.inner_text.to_f)
+      morph('authority', doc.at('h3[text() = &quot;Authority&quot;]').next_sibling.next_sibling.inner_text.to_f)
 
       exp =  doc.at('h3[text() = &quot;Experience&quot;]').next_sibling.inner_text.split(&quot;\t&quot;).collect{|d| d.strip.chomp}
       morph('rails_experience',  exp.collect{|d| $1 if d =~ /Using Rails for(.*)/}.to_s.strip )
@@ -49,7 +49,7 @@ end
 def WWR(name)
   WWR.new(name)
 end
-# 
+#
 #  rob = WWR &quot;Rob McKinnon&quot;
 #  rob.location
 #   =&gt; &quot;London&quot;</diff>
      <filename>examples/wwr.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>66859267ac25e69e09781bca9cdba1fb9ed0ea1e</id>
    </parent>
  </parents>
  <author>
    <name>robmckinnon</name>
    <email>rob@theyworkforyou.co.nz</email>
  </author>
  <url>http://github.com/robmckinnon/morph/commit/eacc1434c295cf947ac2d345cb3519670096a310</url>
  <id>eacc1434c295cf947ac2d345cb3519670096a310</id>
  <committed-date>2008-06-11T05:49:27-07:00</committed-date>
  <authored-date>2008-06-11T05:49:27-07:00</authored-date>
  <message>put popularity and authority around the right way</message>
  <tree>835f048bbed68515b35bd20e22af8c2ce3e5d179</tree>
  <committer>
    <name>robmckinnon</name>
    <email>rob@theyworkforyou.co.nz</email>
  </committer>
</commit>
