2014-07-19 09:03:08 +02:00
|
|
|
xml.instruct!
|
|
|
|
|
|
|
|
xml.events do
|
2014-08-25 17:55:14 +02:00
|
|
|
@events.find_each do |event|
|
2014-07-19 09:03:08 +02:00
|
|
|
xml.event do
|
|
|
|
xml.title event.title
|
2017-12-25 21:12:30 +01:00
|
|
|
xml.tag! 'start-time', l(event.start_time, format: 'xml')
|
|
|
|
xml.tag! 'end-time', l(event.end_time, format: 'xml')
|
2015-03-08 23:41:52 +01:00
|
|
|
xml.place_name event.place_name
|
2014-08-24 12:19:45 +02:00
|
|
|
xml.address event.address
|
2014-07-19 09:03:08 +02:00
|
|
|
xml.city event.city
|
2015-02-15 15:50:47 +01:00
|
|
|
xml.region event.region
|
2014-07-19 09:03:08 +02:00
|
|
|
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
|