<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,13 +18,13 @@ class Render
   end
 
   def photo(p)
-    source = &quot;http://farm#{p.farm.to_i}.static.flickr.com/#{p.server}/#{p.id}_#{p.secret}&quot;
+    source = &quot;http://farm#{p.farm.to_i}.static.flickr.com/#{p.server}/#{p.photo_id}_#{p.secret}&quot;
     thumb = &quot;#{source}_s.jpg&quot;
     img = &quot;#{source}.jpg&quot;
     tag(:div, :class =&gt; 'image') do
       tag(:a, { 
         :href  =&gt; &quot;#{img}&quot;, 
-        :title =&gt; &quot;&amp;lt;a href=&amp;quot;http://www.flickr.com/photos/#{p.owner}/#{p.id}&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;#{p.title}&amp;lt;/a&amp;gt;&quot;,
+        :title =&gt; &quot;&amp;lt;a href=&amp;quot;http://www.flickr.com/photos/#{p.owner}/#{p.photo_id}&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;#{p.title}&amp;lt;/a&amp;gt;&quot;,
         :rel   =&gt; &quot;lightbox[#{@tags}]&quot;
       }) do
         tag(:img, :src =&gt; &quot;#{thumb}&quot;)</diff>
      <filename>samples/ruby/photoviewer/ruby/render.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,13 +4,15 @@ include System
 module System::Json
   class JsonValue
     def method_missing(index)
-      item = self.get_Item(index.to_s.to_clr_string)
+      index = 'id' if index.to_s == 'photo_id'
+      item = self.item(index.to_s)
       super if item.nil?
-      type = item.get_JsonType
-      return item.to_string.to_s.to_f if type == JsonType.Number
-      return item.to_string.to_s.split(&quot;\&quot;&quot;).last if type == JsonType.String
-      return System::Boolean.parse(item) if type == JsonType.Boolean
-      item
+      case item.json_type
+        when JsonType.string:  item.to_string.to_s.split(&quot;\&quot;&quot;).last
+        when JsonType.number:  item.to_string.to_s.to_f
+        when JsonType.boolean: System::Boolean.parse(item)
+        else item
+      end
     end
 
     def inspect</diff>
      <filename>samples/ruby/photoviewer/ruby/system-json.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>446d01e6ba570c7a489a4f02d1f7dc60781bc132</id>
    </parent>
  </parents>
  <author>
    <name>Jimmy Schementi</name>
    <email>jschementi@gmail.com</email>
  </author>
  <url>http://github.com/jschementi/agdlr/commit/150323308d5668a51119071fe6ed8070a0cf3e41</url>
  <id>150323308d5668a51119071fe6ed8070a0cf3e41</id>
  <committed-date>2009-03-23T13:31:15-07:00</committed-date>
  <authored-date>2009-03-23T13:31:15-07:00</authored-date>
  <message>Now photoviewer's picture's show up</message>
  <tree>b536f02b66b143433cf6abb26874695fb5e52ef5</tree>
  <committer>
    <name>Jimmy Schementi</name>
    <email>jschementi@gmail.com</email>
  </committer>
</commit>
