You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

14 lines
326 B

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
}