-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
72 lines (53 loc) · 2.22 KB
/
config.php
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/*
Configuration file for Calendar Syncer.
I put as many comments as I could to explain how to configure this script.
*/
// LOGGING -- No logging occurs by default
// uncomment to turn on light logging
//ZLogger::$threshold = 5;
// uncomment to turn on heavy logging
//ZLogger::$threshold = 0;
// You can change the maximum connection attempts here
$maxConnectAttempts=5;
// Sync is initiated with a call to syncMeetupWithGoogle()
// Fill out the parameter values as shown below.
syncMeetupWithGoogle(
// MEETUP API KEY
// Put your Meetup.com API key here. You can look up what your API is here:
// http://www.meetup.com/meetup_api/key/
'meetup API key',
// GROUP URL NAME
// Fill in the group name you want to sync with, as shown in the meetup URL
// Example: if your meetup group url is http://www.meetup.com/my-fave-group
// then my-fave-group is your group url name
'group url name',
// GOOGLE CALENDAR USERNAME
// Fill in your google calendar username.
// GOOGLE CALENDAR PASSWORD
// Fill in the password for your google account
'password',
// GOOGLE CALENDAR NAME
// The name of the specific calendar you want to sync with.
// If you are using your default google calendar this is probably your
// email address or simply 'default'
// LOCATION (WHERE) FILTER
// Putting a value here will overwrite the location of your private meetup,
// allowing the private location to remain hidden from your potentially
// public google calendar.
// Leave FALSE here if you do not want to hide the meetup location from your
// google calendar.
// Examples: "see meetup.com for location", "TBA", "Springfield, USA", etc.
// If you use an empty string ("") the location will be left blank in
// google calendar.
false,
// DESCRIPTION FILTER
// Similar to location filter, but for the meetup description.
false
);
/*
You can duplicate the function call above as many times as you need to if you
have multiple meetup calendars you want to sync.
*/