!!! XML %blob{:href => bucket_url(blob.bucket) + '/' + blob.id, :id => blob.id}
%ucket=blob.bucket - blob.attributes.select{ |attr| (attr!=:id && attr!=:user_metadata) }.each do |attribute| - next if attribute == :bucket - unless attribute == :content - haml_tag(attribute, :<) do - haml_concat blob.send(attribute) %ser_metadata - if blob.user_metadata.respond_to? :each - blob.user_metadata.each do |k, v| %ntry{:key => k}=render_cdata(v) %ontent{:href => bucket_url(blob.bucket) + '/' + blob.id + '/content', :rel => 'blob_content'}