This repository has been archived on 2022-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
wikiufc/app/views/user/rss.xml.builder
2008-03-02 16:04:34 -03:00

14 lines
326 B
Ruby

xml.instruct! :xml, :version=>"1.0"
xml.instruct! :rss, :version=>"2.0"
xml.channel{
for course in @courses
for event in course.events
xml.item do
xml.title("[" + course.short_name + "] " + event.title)
xml.pubDate(Time.parse(event.date.to_s).rfc822)
xml.description(event.description)
end
end
end
}