# File lib/nanoc/helpers/blogging.rb, line 151
      def build_for_article(a, xml)
        # Get URL
        url = url_for(a)
        return if url.nil?

        xml.entry do
          # Add primary attributes
          xml.id        atom_tag_for(a)
          xml.title     a[:title], :type => 'html'

          # Add dates
          xml.published attribute_to_time(a[:created_at]).to_iso8601_time
          xml.updated   attribute_to_time(a[:updated_at] || a[:created_at]).to_iso8601_time

          # Add specific author information
          if a[:author_name] || a[:author_uri]
            xml.author do
              xml.name  a[:author_name] || author_name
              xml.uri   a[:author_uri]  || author_uri
            end
          end

          # Add link
          xml.link(:rel => 'alternate', :href => url)

          # Add content
          summary = excerpt_proc.call(a)
          xml.content   content_proc.call(a), :type => 'html'
          xml.summary   summary, :type => 'html' unless summary.nil?
        end
      end