Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 476 Bytes
atom_feed do |feed|
feed.title "AO3 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