Author Topic: Google Calendar sync to MM Calendar  (Read 9445 times)

atucker@wcrescue.com

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Warren County Rescue
Google Calendar sync to MM Calendar
« on: October 19, 2012, 08:40:36 AM »
I don't think this is an option, but a thought... we use google calendar on our website to keep some of our community partners informed on things going on or coming up, we also use it so other agencies around the state can see what kind of training we have coming up. is there a way we could sync our google calendar with MM Calendar? 

atucker@wcrescue.com

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Warren County Rescue
Re: Google Calendar sync to MM Calendar
« Reply #1 on: October 19, 2012, 08:42:32 AM »
we are wanting to let people see whats going on but some will not have access to MM... (if that helps understand what i'm asking)

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #2 on: October 19, 2012, 08:47:37 AM »
Try the "Export Calendar" at the bottom of the MM Calendar screen.  The file this creates can be directly imported into your Google Calendar.

atucker@wcrescue.com

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Warren County Rescue
Re: Google Calendar sync to MM Calendar
« Reply #3 on: October 19, 2012, 08:53:31 AM »
could there be a way to import from google calendar...

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #4 on: October 19, 2012, 09:03:57 AM »
Sorry, currently there is no import calendar in MM.   Most teams create their events in the MM calendar because it interfaces with your members, timekeeping, allows for training signup, etc.  There may be an import at some point, but not yet.

Mike

atucker@wcrescue.com

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Warren County Rescue
Re: Google Calendar sync to MM Calendar
« Reply #5 on: October 19, 2012, 09:08:39 AM »
Thanks Mike GREAT SUPPORT!!! you have a great system here!!!

kduncklee

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #6 on: February 10, 2013, 06:10:51 PM »
It would be very helpful to be able to request the calendar ics file using the API key. This would allow the calendar to be viewed in the Google calendar tool and on phones. It also needs to be allowed in the robots.txt file.

Thanks!

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #7 on: February 11, 2013, 08:36:00 AM »
Quote
It would be very helpful to be able to request the calendar ics file using the API key.
Done.  There is a new API request GET calICS that will return the team's calendar ICS file.  If you can use this to display a calendar to your members it would be great if you could share a "how to" with other teams, thanks.

Mike

kduncklee

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #8 on: February 11, 2013, 08:22:43 PM »
This works and I was able to get the ics file. However, I can not use it directly in Google calendar because of the robots.txt line "Disallow: /SearchManager/". Even through it is accessed through a redirect, it is still blocked. Could you please add an allow line for the api or put a copy in a different path?

I'd be happy to do a quick writeup when I have it working.

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #9 on: February 11, 2013, 10:11:15 PM »
Quote
Could you please add an allow line for the api or put a copy in a different path?
I allowed access to the api.php file.  Let me know if that works.

Mike

kduncklee

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #10 on: February 12, 2013, 11:30:39 PM »
Yes, that works, but now I get an empty calendar if I am not logged in:
BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
PRODID:-//Radishworks//Mission Manager//EN
CALSCALE:GREGORIAN
END:VCALENDAR

When logged in, the ics file has the events. It seems to be checking the cookie or something.

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #11 on: February 13, 2013, 07:42:13 AM »
Quote
I get an empty calendar if I am not logged in:
Woops, our bad.  Should be working now.  Good detective work  :D.

kduncklee

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #12 on: February 13, 2013, 08:32:15 PM »
Ok, almost there. Can you please add time zone information to the ical file or output the absolute UTC times with a Z at the end? Google doesn't let you pick the time zone of a subscribed calendar.

On a side note, entering a start time of 8000 instead of 0800 makes Google start the event a few days later. This was a typo on my part, but it might be nice to validate the times.

Radishworks

  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #13 on: February 14, 2013, 09:41:58 AM »
Quote
Can you please add time zone information to the ical file
Done.  Calendar ICS files now include a timezone.

Quote
This was a typo on my part, but it might be nice to validate the times.
Time validation code now in place.

Thanks for the reports.

Mike

kduncklee

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Google Calendar sync to MM Calendar
« Reply #14 on: February 14, 2013, 09:10:36 PM »
Thanks for the reports.

Thanks for all the quick fixes and feature additions! It's working now.

To import into Google and display on a webpage:
Be sure to rename the calendar, otherwise you are exposing your API key.

If you don't need to embed it, you can stop after step 4 and still get the calendar on your phone, etc.
« Last Edit: March 01, 2013, 06:10:46 PM by Radishworks »