Nouvel essai pour format ical

This commit is contained in:
echarp 2014-08-25 23:57:57 +02:00
parent b229a6b508
commit 47183617be

View File

@ -12,8 +12,8 @@ DTEND:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
UID:<%= event.id %>@agendadulibre.org UID:<%= event.id %>@agendadulibre.org
SUMMARY:<%= event.title %> SUMMARY:<%= event.title %>
URL:<%= event_url event %> URL:<%= event_url event %>
DESCRIPTION:<%= strip_tags(event.description).to_crlf.gsub(/,/, '","').gsub(/;/, '";"').gsub /^/, ' ' %> DESCRIPTION:<%= strip_tags(event.description).to_crlf.gsub(/,/, '\,').gsub(/;/, '\;').gsub /^/, ' ' %>
LOCATION:<%= event.full_address %> LOCATION:<%= event.full_address.gsub(/,/, '\,') %>
END:VEVENT END:VEVENT
<% end %> <% end %>
END:VCALENDAR END:VCALENDAR