Skip to content

Commit

Permalink
Add url attribute to frab events.
Browse files Browse the repository at this point in the history
This should(?) maybe(?) make media.ccc.de point back to the event page on the
Fahrplan link for each video.
  • Loading branch information
lukegb authored and russss committed Jan 14, 2024
1 parent 6ba0c2a commit 043a837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/schedule/schedule_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 043a837

Please sign in to comment.