csv2frab/tmpl/schedule.xml

40 lines
1.4 KiB
XML

<?xml version='1.0' encoding='utf-8' ?>
<!-- Made with love by csv2frab -->
<schedule>
<version>1.0</version>
{{with .Conf}}<conference>
<acronym>WH</acronym>
<title>{{.Title}}</title>
<start>{{.Start}}</start>
<end>{{.End}}</end>
<days>{{.Days}}</days>
<timeslot_duration>00:05</timeslot_duration>
</conference>{{end}}
{{range .Days}}<day index='{{.Index}}' date='{{.Date}}' start='{{.Start}}' end='{{.End}}'>
{{range .Rooms}}<room name='{{.Name}}'>
{{range .Events}}<event guid='{{.GUID}}' id='{{.ID}}'>
<date>{{.Date}}</date>
<start>{{.Start}}</start>
<duration>{{.Duration}}</duration>
<room>{{.Room}}</room>
<title>{{.Title}}</title>
<persons>{{range .Persons}}
<person id='{{.ID}}'>{{.Name}}</person>{{end}}
</persons>
<language>{{.Language}}</language>
<type>Talk</type>
<slug></slug>
<url></url>
<recording><license></license><optout>false</optout></recording>
<subtitle></subtitle>
<track></track>
<abstract></abstract>
<description></description>
<links></links>
</event>
{{end}}
</room>
{{end}}
</day>
{{end}}
</schedule>