!!! XML %feed{:xmlns => "http://www.w3.org/2005/Atom", "xml:lang" => "en-US"} %id tag:von.fugal.net,2007:blog %title= feed_title %subtitle Happenings and enlightenments in the life of Von Fugal %author %name Von Fugal %email von@fugal.net %uri http://von.fugal.net %updated= feed_updated.xmlschema %icon http://von.fugal.net/vf.png %link{:rel => "self", :type => "application/atom+xml", :href => atom_url(:tags => tags)} %link{:rel => "alternate", :type => "text/xml", :href => rss_url(:tags => tags)} %link{:rel => "alternate", :type => "text/html", :href => list_url(:tags => tags)} - if (pg = next_page) %link{:rel => "next", :type => "application/atom+xml", :href => atom_url(:tags => tags, :page => pg, :perpage => perpage)} - Tag.popular(4).each do |tag| %category{:term => tag.name, :scheme => list_url(:tags => [tag.name])}/ - posts.each do |post| %entry = "#{post.guid}" %title= post.title %published= post.created_at.xmlschema %updated= post.updated_on.xmlschema %link{:rel => "alternate", :type => "text/html", :href => view_url(:title => post.url_title, :id => post.id)} %summary{:type => "xhtml"} %div{:xmlns => "http://www.w3.org/1999/xhtml"} = render(:partial => "post/xml", :locals => {:post => post}) - for tag in post.tags %category{:term => tag.name, :scheme => list_url(:tags => [tag.name])}