Skip to content

Instantly share code, notes, and snippets.

@Biromain
Forked from DeMarko/sample.ics
Created July 19, 2019 16:02
Show Gist options
  • Save Biromain/7d9f3dc73ccbc1e19ff1fb54d93b35bb to your computer and use it in GitHub Desktop.
Save Biromain/7d9f3dc73ccbc1e19ff1fb54d93b35bb to your computer and use it in GitHub Desktop.

Revisions

  1. @DeMarko DeMarko revised this gist Aug 2, 2013. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -37,4 +37,6 @@ END:VEVENT
    END:VCALENDAR
    ```

    That way, Access-A-Ride customers on their smartphones or who use email + calendaring applications can include their pickups in their calendars and never be late for them!
    That way, Access-A-Ride customers on their smartphones or who use email + calendaring applications can include their pickups in their calendars and never be late for them!

    The ics file described is in compliance with [RFC 2445](http://www.ietf.org/rfc/rfc2445.txt) although you can probably add the alarms in a more reliable way, I used the default VALARM but it doesn't seem to work everywhere.
  2. @DeMarko DeMarko revised this gist Aug 2, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Would it be possible to include an iCal file attachment to the Access-A-Ride advance notification emails with a 30 minute window from the specified pickup time (that is the window in which Access-A-Ride drivers need to arrive).
    Would it be possible to include an iCal file attachment to the Access-A-Ride advance notification emails with a 30 minute window from the specified pickup time (that is the window in which Access-A-Ride drivers need to arrive)?

    For example: if my Access-A-Ride is supposed to pick me up at 10:34 am from 1000 Broadway Ave and then again at 8:00 pm from 900 Jay St., include a calendar event (a .ics file) that would look similar to the following, attached to the advance trip notification:

  3. @DeMarko DeMarko renamed this gist Aug 2, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt → gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ Would it be possible to include an iCal file attachment to the Access-A-Ride adv

    For example: if my Access-A-Ride is supposed to pick me up at 10:34 am from 1000 Broadway Ave and then again at 8:00 pm from 900 Jay St., include a calendar event (a .ics file) that would look similar to the following, attached to the advance trip notification:


    ```
    BEGIN:VCALENDAR
    VERSION:2.0
    CALSCALE:GREGORIAN
    @@ -35,6 +35,6 @@ ACTION:DISPLAY
    END:VALARM
    END:VEVENT
    END:VCALENDAR

    ```

    That way, Access-A-Ride customers on their smartphones or who use email + calendaring applications can include their pickups in their calendars and never be late for them!
  4. @DeMarko DeMarko created this gist Aug 2, 2013.
    40 changes: 40 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    Would it be possible to include an iCal file attachment to the Access-A-Ride advance notification emails with a 30 minute window from the specified pickup time (that is the window in which Access-A-Ride drivers need to arrive).

    For example: if my Access-A-Ride is supposed to pick me up at 10:34 am from 1000 Broadway Ave and then again at 8:00 pm from 900 Jay St., include a calendar event (a .ics file) that would look similar to the following, attached to the advance trip notification:


    BEGIN:VCALENDAR
    VERSION:2.0
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    SUMMARY:Access-A-Ride Pickup
    DTSTART;TZID=America/New_York:20130802T103400
    DTEND;TZID=America/New_York:20130802T110400
    LOCATION:1000 Broadway Ave.\, Brooklyn
    DESCRIPTION: Access-A-Ride trip to 900 Jay St.\, Brooklyn
    STATUS:CONFIRMED
    SEQUENCE:3
    BEGIN:VALARM
    TRIGGER:-PT10M
    DESCRIPTION:Pickup Reminder
    ACTION:DISPLAY
    END:VALARM
    END:VEVENT
    BEGIN:VEVENT
    SUMMARY:Access-A-Ride Pickup
    DTSTART;TZID=America/New_York:20130802T200000
    DTEND;TZID=America/New_York:20130802T203000
    LOCATION:900 Jay St.\, Brooklyn
    DESCRIPTION: Access-A-Ride trip to 1000 Broadway Ave.\, Brooklyn
    STATUS:CONFIRMED
    SEQUENCE:3
    BEGIN:VALARM
    TRIGGER:-PT10M
    DESCRIPTION:Pickup Reminder
    ACTION:DISPLAY
    END:VALARM
    END:VEVENT
    END:VCALENDAR


    That way, Access-A-Ride customers on their smartphones or who use email + calendaring applications can include their pickups in their calendars and never be late for them!
    32 changes: 32 additions & 0 deletions sample.ics
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    BEGIN:VCALENDAR
    VERSION:2.0
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    SUMMARY:Access-A-Ride Pickup
    DTSTART;TZID=America/New_York:20130802T103400
    DTEND;TZID=America/New_York:20130802T110400
    LOCATION:1000 Broadway Ave.\, Brooklyn
    DESCRIPTION: Access-A-Ride to 900 Jay St.\, Brooklyn
    STATUS:CONFIRMED
    SEQUENCE:3
    BEGIN:VALARM
    TRIGGER:-PT10M
    DESCRIPTION:Pickup Reminder
    ACTION:DISPLAY
    END:VALARM
    END:VEVENT
    BEGIN:VEVENT
    SUMMARY:Access-A-Ride Pickup
    DTSTART;TZID=America/New_York:20130802T200000
    DTEND;TZID=America/New_York:20130802T203000
    LOCATION:900 Jay St.\, Brooklyn
    DESCRIPTION: Access-A-Ride to 1000 Broadway Ave.\, Brooklyn
    STATUS:CONFIRMED
    SEQUENCE:3
    BEGIN:VALARM
    TRIGGER:-PT10M
    DESCRIPTION:Pickup Reminder
    ACTION:DISPLAY
    END:VALARM
    END:VEVENT
    END:VCALENDAR