doctype xml rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom") channel atom:link(href=`${link}` rel="self" type="application/rss+xml") title #{title} link #{settings.baseurl} description #{settings.description} each event in events item if (event.media && event.media.length) title [#{unixFormat(event.start_datetime,"yyyy-MM-dd")}] #{event.title} @ #{event.place.name} link #{settings.baseurl}/event/#{event.slug || event.id} each tag in event.tags category #{tag.tag || tag} description | #{event.title} if (event.place.name === 'online') | online - #{event.online_locations[0]} else | #{event.place.name} - #{event.place.address} |
(#{unixFormat(event.start_datetime,"EEEE, d MMMM HH:mm")})
if (event.media && event.media.length) | #{event.media[0].name || ''} | !{event.description} | ]]> pubDate= new Date(event.updatedAt).toUTCString() guid #{settings.baseurl}/event/#{event.slug || event.id}