forked from spen/seminar
16 lines
499 B
Ruby
16 lines
499 B
Ruby
xml.instruct! :xml, :version => "1.0"
|
|
xml.rss :version => "2.0" do
|
|
xml.channel do
|
|
xml.title @bf.title
|
|
xml.link "/xhr/custom_announcements/rssfeed/73999228.rss"
|
|
|
|
for custom_announcement in @custom_announcements
|
|
xml.item do
|
|
xml.title custom_announcement.title
|
|
xml.description custom_announcement.subtitle
|
|
xml.pubDate custom_announcement.created_at.to_s(:rfc822)
|
|
xml.link page_for_custom_bulletin(custom_announcement)
|
|
end
|
|
end
|
|
end
|
|
end |