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
This commit is contained in:
John L. Villalovos 2015-06-12 14:58:41 -07:00
parent b1148ccd14
commit 0d1a82cd90
2 changed files with 6 additions and 1 deletions

View File

@ -42,6 +42,10 @@ use in your favorite calendaring app:</p>
<a href="http://www.timeanddate.com/worldclock/fixedtime.html?hour={{ schedule.utc[:2] }}&amp;min={{ schedule.utc[2:] }}&amp;sec=0">{{ schedule.utc }} UTC</a>
in #{{ schedule.irc }}</li>
{% endfor %}
<li>ICS file of meeting, for use in your favorite calendaring app:</li>
<ul>
<li><a href="meetings/{{ meeting.outfile }}">iCalendar Meeting</a><br/></li>
</ul>
<li>Chair (to contact for more information): {{ meeting.chair }}</li>
<li>{{ meeting.description|urlize }}</li>
{% if meeting.extras.meeting_id %}

View File

@ -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