Reputation: 147
I'm trying to pull events from my google calendar into a list view (most likely). I'm able to access .ics file but when I open the file in a text editor I see tags like UID CREATED LASTMODIFIED
and many others. The description of the events is not really visible and the info corresponding to tags like DTSTART
is not readable. I'm wondering what I've to read/do further to make the information on it so that I can make sense of it? Also is there a link or something where I can understand what these tags mean - right now its pretty much guess work?
Upvotes: 3
Views: 3288
Reputation: 1380
You can use the ICal4j library to read/write ics file. The page also has usage examples.
The UID is basically an unique identifier. An example use case for UID is as follows:
Suppose A sent out an invite to B. Later on wants A wants to modify the same invite. When the modified invite reaches B the iCal application knows which local iCal to change based on the UID. The RFC for iCalender defines UID in section 4.8.4.7.
Wikipedia has a page which has some helpful examples which can help you to understand the various tags
Upvotes: 8