Project

General

Profile

Patch #1528 » atom_author_in_content.patch

Show author's username. - Reavis Sutphin-Gray, 2008-06-25 04:53

View differences:

app/views/common/feed.atom.rxml (working copy)
xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?
end if author
xml.content "type" => "html" do
xml.text! textilizable(item.event_description)
xml.text! author + textilizable(item.event_description) if author.is_a?(String)
xml.text! author.name(:username) + textilizable(item.event_description) if author.is_a?(User)
end
end
end
(3-3/3)