forked from OSUrobotics/rss2020
-
Notifications
You must be signed in to change notification settings - Fork 1
/
quickstart.html
33 lines (32 loc) · 1.03 KB
/
quickstart.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
</head>
<body>
<ul id="events-upcoming">
</ul>
<ul id="events-past">
</ul>
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="format-google-calendar.js"></script>
<script>
formatGoogleCalendar.init({
calendarUrl: 'https://www.googleapis.com/calendar/v3/calendars/o5taggj21sn0ojs0u4323j2bt8@group.calendar.google.com/events?key=AIzaSyCulRCRR1rItvPjkuXv8AmKJapqcT3Nva0',
past: true,
upcoming: true,
pastTopN: 20,
upcomingTopN: 30,
itemsTagName: 'li',
upcomingSelector: '#events-upcoming',
pastSelector: '#events-past',
upcomingHeading: '<h2>Upcoming events</h2>',
pastHeading: '<h2>Past events</h2>',
format: ['*date*', ': ', '*summary*', ' — ', '*description*', ' at ', '*location*']
});
</script>
</body>
</html>