From 91b31ede61bf6585e52a9023d3ebbeec40307705 Mon Sep 17 00:00:00 2001 From: Jarek Lipski Date: Sun, 1 Dec 2024 19:46:39 +0100 Subject: [PATCH] Add speaker info to xml export --- content/schedule/pentabarf.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/schedule/pentabarf.xml b/content/schedule/pentabarf.xml index 96c3b0cc..b9363309 100644 --- a/content/schedule/pentabarf.xml +++ b/content/schedule/pentabarf.xml @@ -40,6 +40,16 @@ xml.schedule do xml.track track[:name], {:online_qa=>track[:online_qa]} end end + xml.persons do + speakers.each do | speaker | + xml.person({:id=>speaker[:person_id]}) do + xml.name speaker[:name] + xml.slug speaker[:slug] + xml.biography speaker[:abstract] + xml.extended_biography speaker[:description] + end + end + end days.each_with_index do | day, index | start_time = Time.iso8601("#{day[:conference_day]}T#{conf[:day_change]}") end_time = start_time + (((23 * 60) + 59) * 60)