[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793325: summit.debconf.org: Please add a child date tag for events



Package: summit.debconf.org
Severity: normal

Dear Maintainer,

Videoteam is testing the CCC software stack for reviewing and
post-processing videos. There's a chance of using it for DebConf15.

We've already deployed their system, however it receives as input a
schedule (XML) which is differs a bit from the one generated by summit.
For testing purposes we just need one extra tag, which is a "date" in
iso8601 for each event.

Details in this chat with cate at #videoteam:

<tvaz> cate, actually the only thing needed is a tag "date" inside an
event, where the date is formatted as iso8601
<tvaz> cate, for instance <date>2015-07-15T09:00:00+02:00</date>
<tvaz> as we have already day date and event start, we just need to add
a new date tag which is = date + start + "T" + timezone ...
<tvaz> something like
<tvaz> et.SubElement(event, 'date').text = str(date) + 'T' +
pytz.utc.localize(slot.start_utc).astimezone(pytz.timezone(self.summit.timezone)).strftime('%H:%M:%S')
+ '+00:00'
<tvaz> the above works if timezone is UTC, otherwise the '+00:00' should
be replaced by the correct timezone
<tvaz> i can file a bug report if you prefer, i'd love to not bother you
on this, but i've just spent 2h now trying to deploy summit and it just
does not work (tm). Too many broken dependencies.

An example of a valid schedule is:
http://programm.froscon.de/2015/schedule.xml

This is generated by Frab conference manangement system:
https://github.com/frab/frab/blob/master/app/views/public/schedule/index.xml.haml

But again, for actual testing we just need the date tag above mentioned.

Thanks!


Reply to: