Skip to content

Commit f922f58

Browse files
authored
Add speaker info to xml export (#267)
1 parent f382b92 commit f922f58

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

content/schedule/pentabarf.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ xml.schedule do
4040
xml.track track[:name], {:online_qa=>track[:online_qa], :slug=>track[:slug]}
4141
end
4242
end
43+
xml.persons do
44+
speakers.each do | speaker |
45+
xml.person({:id=>speaker[:person_id]}) do
46+
xml.name speaker[:name]
47+
xml.slug speaker[:slug]
48+
xml.biography speaker[:abstract]
49+
xml.extended_biography speaker[:description]
50+
end
51+
end
52+
end
4353
days.each_with_index do | day, index |
4454
start_time = Time.iso8601("#{day[:conference_day]}T#{conf[:day_change]}")
4555
end_time = start_time + (((23 * 60) + 59) * 60)

0 commit comments

Comments
 (0)