From 043a8370acdba84efca7439cf03485aa78f40b16 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 13 Jan 2024 17:10:33 +0000 Subject: [PATCH] Add url attribute to frab events. This should(?) maybe(?) make media.ccc.de point back to the event page on the Fahrplan link for each video. --- apps/schedule/schedule_xml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/schedule/schedule_xml.py b/apps/schedule/schedule_xml.py index 84bc5b051..b34166486 100644 --- a/apps/schedule/schedule_xml.py +++ b/apps/schedule/schedule_xml.py @@ -91,6 +91,7 @@ def add_event(room, event): _add_sub_with_text(event_node, "title", event["title"]) _add_sub_with_text(event_node, "type", event.get("type", "talk")) _add_sub_with_text(event_node, "date", event["start_date"].isoformat()) + _add_sub_with_text(event_node, "url", url) # Start time _add_sub_with_text(event_node, "start", event["start_date"].strftime("%H:%M"))