iCalendar [.ics file] Open Source Lib for LiveCode
alex at tweedly.net
Sat Aug 15 03:55:44 EDT 2015
Yes, vObjectLib is great, has many functions that help with reading and
correctly writing .ics files.
I wish I had remembered vObjectLib and based my library on top of it :-(
(btw - it is still publicly available at http://fon.nu/vobjectlib
<http://www.super-resume.com/Index$SetST.jtp?p=1>unless there was a
later version anywhere else)
However, vObjectLib has very little to help with correctly interpreting
.ics files - so if you need to deal with
- multiple time zones
- the variety of ways that time zone settings or time zone info can be
- recurring events
- multi-day events (even from 11pm until 2am counts as multi-day)
- lots of other oddities
then you have to do that yourself.
On 15/08/2015 03:36, Brahmanathaswami wrote:
> Andre had some amazing libs for this
> it was not iCal specific but broader "vObjectLib" he called it...
> with that you could roll your own functions easily for iCal..
> I use to use it a lot and plan to use it again in a future mobile app.
> snippets from my old code
> # Create a new entry
> put tDate into tEntrydate
> put GetvObjectPropertyValue(tEvent, "Summary") into tSummary
> put GetvObjectPropertyValue(tEvent, "Description") into
> put crunchDescription(tRawDescription) into tDescription
> # date has not changed so we just pile up the events we want
> put ", " & GetvObjectPropertyValue(tEvent, "Summary")
> after tExtraEvents
> next repeat
> If anyone is interested I can ask him if I can release it...
> it was really robust and pretty bug free...the stack script has over
> 250 vCard functions, including a lot of iCal stuff.
> still works... .ics format has not changed much for years.
> Swasti Astu, Be Well!
> Kauai's Hindu Monastery
> Scott Rossi wrote:
>> Hi Todd:
>> There have been projects involving ICS on the mail list before. Here's
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> On 8/14/15, 10:45 AM, "Todd Fabacher"<tfabacher at gmail.com> wrote:
>>> Over in the Create It with LiveCode Class we are working on the
>>> App for the iPad, and we have a request to create an open source
>>> read and write to the iCalendar universal calendar file format
>>> [.ics]. It
>>> is used by several email and calendar programs, including Microsoft
>>> Outlook, Google Calendar, and Apple iCalendar; enabling users to
>>> and share calendar information on the Web and over email; often used
>>> sending meeting requests to other users, who can import the events into
>>> their own calendars. Here are the specs:
>>> If you are interested and/or if you are wish in getting involved please
>>> me know on the forum topic:
>>> Todd Fabacher
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode