!!! XML
= xml_stylesheet 'main'
= xml_stylesheet 'coderay'
%feed{:xmlns => "http://www.w3.org/2005/Atom"}
  %title
    - if @post
      == #{h @post.title} : 
    Comments : Nex3
  %id= objects_url
  - unless @comments.empty? && @post.nil?
    %updated= (@comments[-1] || @post).created_at.xmlschema
  %icon= image_path('favicon.png')
  %link{:rel => 'self', :href => objects_path + '.atom'}/
  - for comment in current_objects
    %entry
      %id= comment.uid
      %title= h truncate(comment.content.gsub(/\s+/, ' '), 50)
      %updated= comment.updated_at.xmlschema
      %published= comment.created_at.xmlschema
      %author
        %name= h comment.user.name
        %uri= h comment.user.href
      %content{:type => 'xhtml'}
        .model{:xmlns => "http://www.w3.org/1999/xhtml"}[comment]
          = stylesheet_link_tag 'main'
          = stylesheet_link_tag 'coderay'
          .content= find_and_preserve(comment.render)
      %link{:rel => 'alternate', :href => object_path(comment)}/

!!! XML
= xml_stylesheet 'main'
= xml_stylesheet 'coderay'
%feed{:xmlns => "http://www.w3.org/2005/Atom"}
  %title
    - if @post
      == #{h @post.title} : 
    Comments : Nex3
  %id= objects_url
  - unless @comments.empty? && @post.nil?
    %updated= (@comments[-1] || @post).created_at.xmlschema
  %icon= image_path('favicon.png')
  %link{:rel => 'self', :href => objects_path + '.atom'}/
  - for comment in current_objects
    %entry
      %id= comment.uid
      %title= h truncate(comment.content.gsub(/\s+/, ' '), 50)
      %updated= comment.updated_at.xmlschema
      %published= comment.created_at.xmlschema
      %author
        %name= h comment.user.name
        %uri= h comment.user.href
      %content{:type => 'xhtml'}
        .model{:xmlns => "http://www.w3.org/1999/xhtml"}[comment]
          = stylesheet_link_tag 'main'
          = stylesheet_link_tag 'coderay'
          .content= find_and_preserve(comment.render)
      %link{:rel => 'alternate', :href => comment_path(comment.post_id, comment)}/

Fix links on /comments.atom entries.
Fix links on /comments.atom entries.
