atom_feed do |feed|
  feed.title "Sunset works tagged '#{@tag.name}'"
  feed.updated @works.first.created_at if @works.respond_to?(:first) && @works.first.present?

  @works.each do |work|
    unless work.unrevealed?
      feed.entry work do |entry|
        entry.title work.title 
        entry.summary feed_summary(work), :type => 'html'

        entry.author do |author|
          author.name text_byline(work, :visibility => 'public')
        end
      end
    end
  end
end
