initial commit
This commit is contained in:
commit
7c7ea7f914
4 changed files with 176 additions and 0 deletions
39
tmpl/schedule.xml
Normal file
39
tmpl/schedule.xml
Normal file
|
@ -0,0 +1,39 @@
|
|||
<schedule>
|
||||
{{with .Conf}}<conference>
|
||||
<title>{{.Title}}</title>
|
||||
<start>{{.Start}}</start>
|
||||
<end>{{.End}}</end>
|
||||
<days>{{.Days}}</days>
|
||||
<timeslot_duration>0:05</timeslot_duration>
|
||||
<acronym></acronym>
|
||||
</conference>{{end}}
|
||||
|
||||
{{range .Days}}
|
||||
<day index="{{.Index}}" date="{{.Date}}" start="{{.Start}}" end="{{.End}}">
|
||||
{{range .Rooms}}
|
||||
<room name="{{.Name}}">
|
||||
{{range .Events}}
|
||||
<event id="{{.ID}}" guid="{{.GUID}}">
|
||||
<room>{{.Room}}</room>
|
||||
<title>{{.Title}}</title>
|
||||
<date>{{.Date}}</date>
|
||||
<start>{{.Start}}</start>
|
||||
<duration>{{.Duration}}</duration>
|
||||
|
||||
<persons>{{range .Persons}}<person id="{{.ID}}">{{.Name}}</person>{{end}}</persons>
|
||||
<abstract></abstract>
|
||||
<description></description>
|
||||
<slug></slug>
|
||||
<type></type>
|
||||
<language></language>
|
||||
<recording><license></license><optout>false</optout></recording>
|
||||
<subtitle></subtitle>
|
||||
<track></track>
|
||||
<links></links>
|
||||
</event>
|
||||
{{end}}
|
||||
</room>
|
||||
{{end}}
|
||||
</day>
|
||||
{{end}}
|
||||
</schedule>
|
Loading…
Add table
Add a link
Reference in a new issue