Skip to content

A Chrome Extension that exports .ics calendars from the MyRec recreational management software platform

License

Notifications You must be signed in to change notification settings

cosmocatalano/myrec-calendar-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyRec Calendar Export

This Chrome Extension takes data from a MyRec calendar page and exports it as an iCalendar (.ics) file.

Installation

  1. Clone or download this repo to your local machine.

  2. Go to chrome://extensions in your browser (or open up the Chrome menu by clicking the icon to the far right of the Omnibox: The menu's icon is three horizontal bars. and select Extensions under the Tools menu to get to the same place).

  3. Ensure that the Developer mode toggle in the top right-hand corner is set to on. Click the Load unpacked button to pop up a file-selection dialog: screenshot of chrome://extensions, highlighting the location of the Developer Mode toggle and the Load Unpacked button with a red circle

  4. Navigate to the directory where you cloned/downlaoded this repo in (1). Alternatively, you can drag and drop the directory where your extension files live onto chrome://extensions in your browser to load it.

You can read more about the developer Extensions process at the Chrome Developer site

Use

Log in to the MyRec account you'd like to export the calendar from, and navigate to the Calendar page. The URL should be something like "https://[yourCityName].myrec.com/info/calendar/account.aspx".

Click the Extensions icon in your Chrome Toolbar and select MyRec Calendar Export from the dropdown. An .ics file of your MyRec events should automatically download.

screenshot of a MyRec calendar page, with the Extensions icon and MyRec Calendar Exporter dropdown item highlighted with a red circle

Details / Caveats

By default, this extension exports a full year of calendar items, starting on the day the script is run. You can change this by supplying your own Date() objects for the startTime and endTime variables in my-rec.js.

Exported calendars do not sync with changes in MyRec—you will need to re-export any time you add/remove/change your schedule. Also, successive exports/imports will not overwrite/update existing event data. I would recommend creating a separate calendar for MyRec events within the calendar app of your choosing that you can fully delete before making a new import.

Finally, MyRec sandwiches the name of the event participant and event venue into its event titles. By default, this Extension attempts (in the parseTitle() function) to parse those into the ICS fields for Attendee and Location. This is based on some possibly unreliable assumptions about title text format.

The script does attempt to check for problems (in checkSafeTitle()) but if you run into issues and/or want all events formatted consistently, you can turn off this title parsing by setting isTitleParsed to false.

About

A Chrome Extension that exports .ics calendars from the MyRec recreational management software platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published