This commit is contained in:
lesion 2022-07-18 21:39:27 +02:00
parent a0c5f22835
commit 20489549cd
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -9,7 +9,7 @@ rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom")
item item
if (event.media && event.media.length) if (event.media && event.media.length)
<enclosure url="#{settings.baseurl}/media/#{event.media[0].url}" type='image/jpeg' length="#{event.media[0].size||1}"></enclosure> <enclosure url="#{settings.baseurl}/media/#{event.media[0].url}" type='image/jpeg' length="#{event.media[0].size||1}"></enclosure>
title [#{moment.unix(event.start_datetime).format("YY-MM-DD")}] #{event.title} @#{event.place.name} title [#{moment.unix(event.start_datetime).format("YY-MM-DD")}] #{event.title} @ #{event.place.name}
link #{settings.baseurl}/event/#{event.slug || event.id} link #{settings.baseurl}/event/#{event.slug || event.id}
each tag in event.tags each tag in event.tags
category #{tag} category #{tag}