iCalendar Open Source Lib for LiveCode
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 280
- Joined: Fri Jan 09, 2015 6:15 pm
iCalendar Open Source Lib for LiveCode
Over in the Create It with LiveCode Class, we have a request to create an open source project to 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 Calendar; enabling users to publish and share calendar information on the Web and over email; often used for sending meeting requests to other users, who can import the events into their own calendars. Here are the specs:
https://en.wikipedia.org/wiki/ICalendar
https://www.ietf.org/rfc/rfc2445.txt
If you are interested and/or if you are interested in getting involved please let me know in this forum topic.
Thanks,
Todd
https://en.wikipedia.org/wiki/ICalendar
https://www.ietf.org/rfc/rfc2445.txt
If you are interested and/or if you are interested in getting involved please let me know in this forum topic.
Thanks,
Todd
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: iCalendar Open Source Lib for LiveCode
This project may help with some of that:
http://forums.livecode.com/viewtopic.php?f=108&t=25046
http://forums.livecode.com/viewtopic.php?f=108&t=25046
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: iCalendar Open Source Lib for LiveCode
There have been a few ICS-related projects done by LC developers. Here's one:
http://runtime-revolution.278305.n4.nab ... 71551.html
http://runtime-revolution.278305.n4.nab ... 71551.html
Re: iCalendar Open Source Lib for LiveCode
I might be interested, but I heard there might also be an external coming, sometime, too.
-
- Posts: 280
- Joined: Fri Jan 09, 2015 6:15 pm
Re: iCalendar Open Source Lib for LiveCode
Well the future of LiveCode is widgets, and if we code it now there should not be an issue in converting it. Many people have emailed me, some with code and other with advice, so I will put everything together this week and report back.
Thanks,
Todd
Thanks,
Todd
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: iCalendar Open Source Lib for LiveCode
Hi Todd,
Is this going to incorporate the iOS calendar as well? I'm looking for a way to add an event to the iSO calendar.
Is this going to incorporate the iOS calendar as well? I'm looking for a way to add an event to the iSO calendar.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- Posts: 280
- Joined: Fri Jan 09, 2015 6:15 pm
Re: iCalendar Open Source Lib for LiveCode
it should because it also reads the .ics files. The file should update you cloud account, which in turn will update the iOS calendar.
--Todd
--Todd
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: iCalendar Open Source Lib for LiveCode
Thanks, Todd.
I'm not sure how much help I can but I'll watch for further updates.
I'm not sure how much help I can but I'll watch for further updates.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- Posts: 77
- Joined: Thu Jan 15, 2015 6:51 pm
- Location: Warsaw
Re: iCalendar Open Source Lib for LiveCode
Dear Todd, dear all
I'm the one who initially asked about a calendar connection (in thread http://forums.livecode.com/viewtopic.php?f=94&t=24976)
Sorry for my late response, but I was on vacation.
I'm interested in participating, have some free time for this and some LiveCode knowledge as well ( due to the great course, of course )
1) Todd, what could be my next steps?
2) I also would like to clarify whether this is what I initially asked for: I would like to achieve the following (I give here a simplest version)
a) Assume the user is running my (future) LiveCode app which somehow became aware of his/her calendar and its settings
b) My app gets the data about the calendar events and displays them (only read - in the simplest version), for instance for a particular day (set in my app)
c) When the calendar entries change, they change in my app as well (for instance - after pressing a "refresh" button in my app)
d) The connection between the calendar and the LiveCode app should be easy to set up by the user. In an ideal situation, this should be done automatically after the app gets calendar rights in the OS or after explicitely asking the user for calendar access permission
e) All this should run on multiple platforms (mobile, desktop, in the future - Web browser)
Is this achievable by ICS?
Best,
greg falda
I'm the one who initially asked about a calendar connection (in thread http://forums.livecode.com/viewtopic.php?f=94&t=24976)
Sorry for my late response, but I was on vacation.
I'm interested in participating, have some free time for this and some LiveCode knowledge as well ( due to the great course, of course )
1) Todd, what could be my next steps?
2) I also would like to clarify whether this is what I initially asked for: I would like to achieve the following (I give here a simplest version)
a) Assume the user is running my (future) LiveCode app which somehow became aware of his/her calendar and its settings
b) My app gets the data about the calendar events and displays them (only read - in the simplest version), for instance for a particular day (set in my app)
c) When the calendar entries change, they change in my app as well (for instance - after pressing a "refresh" button in my app)
d) The connection between the calendar and the LiveCode app should be easy to set up by the user. In an ideal situation, this should be done automatically after the app gets calendar rights in the OS or after explicitely asking the user for calendar access permission
e) All this should run on multiple platforms (mobile, desktop, in the future - Web browser)
Is this achievable by ICS?
Best,
greg falda
Re: iCalendar Open Source Lib for LiveCode
Is this topic dead?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: iCalendar Open Source Lib for LiveCode
Hi team, anybody know what happened with this project?
Was it accomplished? Where can I find the documentation?
I´m desperate to find a way to add events to the mobile calendar (both iOS and Android) and this would definitely help.
Any other suggestions are also welcomed.
Thanks
Was it accomplished? Where can I find the documentation?
I´m desperate to find a way to add events to the mobile calendar (both iOS and Android) and this would definitely help.
Any other suggestions are also welcomed.
Thanks
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: iCalendar Open Source Lib for LiveCode
Some time ago (5 years) I was trying to accomplish this and I was pretty sure that the best method would have been to sync to google calendar.
Once able to read and write to google calendar, using its API (https://developers.google.com/google-ap ... r/overview), i could then sync to any other (iCal,Outlook, etc).
At the time, in order to login, this was working:
It does not work anymore and have no time to go back to the API and see what has changed.
May be you will?
Once able to read and write to google calendar, using its API (https://developers.google.com/google-ap ... r/overview), i could then sync to any other (iCal,Outlook, etc).
At the time, in order to login, this was working:
Code: Select all
on mouseUp pMouseBtnNo
libUrlSetSSLVerification true
set the sslcertificates to "/usr/share/curl/curl-ca-bundle.crt"
put "https://www.google.com/accounts/ClientLogin" into theURL
put libUrlFormData("accountType", "GOOGLE", \
"Email", MyEmail, \
"Passwd", MyPassword, \
"service", "xapi", \
"source", "Blue Mango Learning Systems-ScreenSteps-2.1") into theData
post theData to URL theURL
put the result & cr & it
end mouseUp
May be you will?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: iCalendar Open Source Lib for LiveCode
Trevix, many thanks for your answer / suggestion.
Yours is a smart approach but wouldn't work in my case because I'm developing a commercial App and I can't enforce the user to have a Google account.
I'm having a hard time to digest the fact that Livecode does not have this basic functionality...Too bad that I discovered it too late
Yours is a smart approach but wouldn't work in my case because I'm developing a commercial App and I can't enforce the user to have a Google account.
I'm having a hard time to digest the fact that Livecode does not have this basic functionality...Too bad that I discovered it too late
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: iCalendar Open Source Lib for LiveCode
It appears that, in LiveCode, sync with Apple calendar, Google calendar, etc is going no where, on desktop and on mobile.
I discovered this service:
https://www.cronofy.com/google-calendar-api/
Problem is that works with cURL,Ruby,C#,JS,PHP but I would not know how to integrate it in a Livecode standalone that has it own home made calendar.
Maybe "revBrowserCallScript" with javascript?
Other easy options?
Trevix
I discovered this service:
https://www.cronofy.com/google-calendar-api/
Problem is that works with cURL,Ruby,C#,JS,PHP but I would not know how to integrate it in a Livecode standalone that has it own home made calendar.
Maybe "revBrowserCallScript" with javascript?
Other easy options?
Trevix
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
Re: iCalendar Open Source Lib for LiveCode
If it works with cURL, it should work with livecode PUT and GET.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w