From 0d1a82cd9034fc55fbf3afa0afcf5f442b2d984f Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Fri, 12 Jun 2015 14:58:41 -0700 Subject: [PATCH] Create individual ICS files and add to webpage For people who don't want to import every OpenStack meeting, allow them to import individual ICS meeting files as needed. * Generate individual ICS meeting files for each meeting * Update the template to provide a link for each ICS meeting file Change-Id: Ie8847482d2b9df95b684ce4f743aecf2dc7a7021 --- meetingindex.jinja | 4 ++++ tox.ini | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/meetingindex.jinja b/meetingindex.jinja index e1af6591..d9a60abc 100644 --- a/meetingindex.jinja +++ b/meetingindex.jinja @@ -42,6 +42,10 @@ use in your favorite calendaring app:

{{ schedule.utc }} UTC in #{{ schedule.irc }} {% endfor %} +
  • ICS file of meeting, for use in your favorite calendaring app:
  • +
  • Chair (to contact for more information): {{ meeting.chair }}
  • {{ meeting.description|urlize }}
  • {% if meeting.extras.meeting_id %} diff --git a/tox.ini b/tox.ini index 3c5ecca5..d1cd8a7a 100644 --- a/tox.ini +++ b/tox.ini @@ -14,8 +14,9 @@ commands = {posargs} [testenv:ical] commands = - mkdir -p output + mkdir -p output/meetings yaml2ical -n "OpenStack Meetings" \ -d "Meeting schedule for the OpenStack projects" \ -y meetings -o output/irc-meetings.ical \ -t meetingindex.jinja -w output/index.html -f + yaml2ical -y meetings -i output/meetings/ -f