object @item => :items

attributes :id, :guid, :title, :description, :content, :link
node(:href) { |i| item_url(i) }

child :assets do
  attributes :id, :mime, :url
end





cache @item
object @item => :items

attributes :id, :guid, :title, :description, :content, :link
node(:href) { |i| item_url(i) }
node(:excerpt) { |i| i.to_s }
node(:links) { |i| i.links.map(&:url) }

child :assets do
  attributes :id, :mime, :url
end

Add caching and a few elements to items
Add caching and a few elements to items
