2014-07-19 09:03:08 +02:00
|
|
|
xml.instruct!
|
|
|
|
|
|
|
|
xml.events do
|
|
|
|
for event in @events
|
|
|
|
xml.event do
|
|
|
|
xml.title event.title
|
|
|
|
xml.start_time event.start_time.strftime '%Y/%m/%d %T'
|
|
|
|
xml.end_time event.end_time.strftime '%Y/%m/%d %T'
|
|
|
|
xml.city event.city
|
|
|
|
xml.region event.related_region
|
|
|
|
xml.locality event.locality
|
|
|
|
xml.tags event.tags
|
|
|
|
xml.contact event.contact
|
|
|
|
xml.adlurl event_url event
|
2014-07-19 09:06:11 +02:00
|
|
|
xml.description { xml.cdata! event.description }
|
2014-07-19 09:03:08 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|