What is an icalender or .ics file?



An icalender or ics file is a simple text file with some pre-defined format and tags saved with extension .ics.
It is usually used for inviting someone to an event via email to which user can respond to actual sender very easily or can add an event in his/her calendar i.e. Google Calendar, Apple Calendar etc.
The file format is specified in a proposed internet standard RFC 5545 .

A Simple Example ICS file
ICS file has a pre-defined format and Tags like if we talk about HTML page.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DESCRIPTION:Meeting of board members
DTSTART:20190206T090828Z
DTEND:20190206T093828Z
SUMMARY:Meeting
LOCATION:6116 Breitenberg Radial
Vanessaview\, AK 79372-4114\, West Vincenzo\, 86360-8926
URL:http://example.com
DTSTAMP:20190206T090828Z
UID:5c5aa40c3f305
ORGANIZER;CN=Joelle:MAILTO:ohackett@example.org
END:VEVENT
END:VCALENDAR

Here DESCRIPTION,DTSTART,DTEND,LOCATION  are some tags used to add information to the icalender event invitation. Whereas BEGIN:VCALENDAR, BEGIN:VEVENT and END:VEVENT END:VCALENDAR are the tags to wrap the body of icalender file like we have HTML, BODY tags for HTML file.

Comments

Popular posts from this blog

Using Virtual Columns in Laravel - Accessors and Appends

How to Show Cookie Policy Consent or GDPR Popup in Laravel using Cookie.

Postman Collection Run - How to Test File Uploading API on CircleCi or Jenkins