<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,13 +1,14 @@
 function githubActivity() {
 
-	var username = &quot;lachlanhardy&quot;;
-  var url = &quot;&quot;;
+    var username = &quot;lachlanhardy&quot;;
+    var url = &quot;&quot;;
 
- $.getJSON(&quot;http://pipes.yahoo.com/pipes/pipe.run?_id=VARThu_f3RGx59sz1b3fcQ&amp;_render=json&amp;username=&quot; + username + &quot;&amp;_callback=?&quot;,
+ $.getJSON(&quot;http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20atom%20where%20url%3D%22http%3A%2F%2Fgithub.com%2F&quot; + username + &quot;.atom%22&amp;format=json&amp;callback=?&quot;,
     function(feed){
       
-      $(feed.value.items).each(function(i){
-        var v = feed.value.items[i]['y:id'].value;
+      var item = feed.query.results.entry; 
+      $(item).each(function(i){
+        var v = item[i].id;
         var idValue = v.match(/([^\/]*):([^\/]*)\/([^\/]*)$/);
         var eventType = idValue[2];
         
@@ -15,7 +16,7 @@ function githubActivity() {
         switch(eventType) {
           case 'CommitEvent':
             if (url == &quot;&quot;) {
-              url = feed.value.items[i].link;
+              url = item[i].link.href;
               titleText = &quot; committed to &quot;;
               return url;
               return titleText;</diff>
      <filename>inc/js/github-activity.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>456de8344aaf8ed7a237d7b7dc9ab98a5a07090f</id>
    </parent>
  </parents>
  <author>
    <name>Lachlan Hardy</name>
    <email>lachlan@lachstock.com.au</email>
  </author>
  <url>http://github.com/lachlanhardy/github-activity-badge/commit/570b2f15cba13458420c632318abe55bc9513fe4</url>
  <id>570b2f15cba13458420c632318abe55bc9513fe4</id>
  <committed-date>2009-02-10T20:32:35-08:00</committed-date>
  <authored-date>2009-02-10T20:32:35-08:00</authored-date>
  <message>converting to use YQL instead of Pipes</message>
  <tree>8c16f931d43a155a73d0ce9773873ea1957ac7ef</tree>
  <committer>
    <name>Lachlan Hardy</name>
    <email>lachlan@lachstock.com.au</email>
  </committer>
</commit>
