Why not just use Google Calendar API service, its free anyway
all you need is Google account and enabled GCal API
It is currently April 23rd, 2024, 7:56 am
Google calendar XML replacement
-
- Posts: 48
- Joined: March 24th, 2015, 4:03 am
Re: Google calendar XML replacement
Last edited by LittleOne on December 22nd, 2017, 6:33 am, edited 1 time in total.
-
- Posts: 26
- Joined: February 15th, 2014, 9:53 am
Re: Google calendar XML replacement
re: ics files
I am far from fluent in lua, but it was interesting going through the reader.lua (going by memory here) file and seeing how the script would figure out what kind of file it was handling (rss / atom / ics / forgetmilk), and then act accordingly.
I did some modifications to the date/time formatting that the lua file delivered to make it easier to accomplish the final output that the Full Screen Calendar puts on the screen.
A few other tidbits to know:
WEATHER: The weather info can be configured on the options.inc page that is found in the folder "@Resources/User".
Scroll down to line 189 (or thereabouts) for instructions on setting up weather for your location.
TWO MINUTE TURNAROUND: An event update 'saved' on the Google calendar page will adjust the Full Screen Calendar display within 2 minutes.
REPEATING TASKS DO NOT WORK: I might have mentioned this before, but it is important to note that for an item to make it to the screen, it must be its own single calendar entry. REPEATING TASKS do not work with this interface. If you must repeat things .. and repeat them a lot ... you can visit zapier.com to set up an easy script to add repeating items as far into the future as you desire.
Holler if any questions.
RICK
I am far from fluent in lua, but it was interesting going through the reader.lua (going by memory here) file and seeing how the script would figure out what kind of file it was handling (rss / atom / ics / forgetmilk), and then act accordingly.
I did some modifications to the date/time formatting that the lua file delivered to make it easier to accomplish the final output that the Full Screen Calendar puts on the screen.
A few other tidbits to know:
WEATHER: The weather info can be configured on the options.inc page that is found in the folder "@Resources/User".
Scroll down to line 189 (or thereabouts) for instructions on setting up weather for your location.
TWO MINUTE TURNAROUND: An event update 'saved' on the Google calendar page will adjust the Full Screen Calendar display within 2 minutes.
REPEATING TASKS DO NOT WORK: I might have mentioned this before, but it is important to note that for an item to make it to the screen, it must be its own single calendar entry. REPEATING TASKS do not work with this interface. If you must repeat things .. and repeat them a lot ... you can visit zapier.com to set up an easy script to add repeating items as far into the future as you desire.
Holler if any questions.
RICK
-
- Rainmeter Sage
- Posts: 16162
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Google calendar XML replacement
If it requires log in (and I think it does), can't be used in Rainmeter. Second paragraph here: https://docs.rainmeter.net/manual/plugins/webparser/#URLLittleOne wrote:Why not just use Google Calendar API service, its free anyway
all you need is Google account and enabled GCal API
-
- Posts: 48
- Joined: March 24th, 2015, 4:03 am
Re: Google calendar XML replacement
Yes i`m aware of it, but if you use the API keys there is no need for log inbalala wrote:If it requires log in (and I think it does), can't be used in Rainmeter. Second paragraph here: https://docs.rainmeter.net/manual/plugins/webparser/#URL
Here the code i work (90% done) based on the GCal API`s (key), the calendar is a some site public Google calendar
https://calendar.google.com/calendar/embed?src=pso2emgquest@gmail.com&mode=agenda&ctz=Asia/Tokyo Please test it for me to see if this work on your place as well
note: the time zone is convert to my country time zone
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16162
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Google calendar XML replacement
Yep, the skin works, but it uses your email address. I don't use currently the Google Calendar, so for my address the skin is empty, but it definitely works.LittleOne wrote:Please test it for me to see if this work on your place as well
-
- Posts: 48
- Joined: March 24th, 2015, 4:03 am
Re: Google calendar XML replacement
the pso2emgquest@gmail.com(main GCal target) or v5stvi0k8102q1aiiti7ioctig@group.calendar.google.com(just some dummy GCal) is not my email address its the public GCal ID, but yes you need to use your Google Calendar account enabling the GCal API and get your own API Key for it to working, and in case to use someone Public GCal you need to add their GCal to your own Gcal.balala wrote:Yep, the skin works, but it uses your email address. I don't use currently the Google Calendar, so for my address the skin is empty, but it definitely works.
its pretty tricky to setup and Google not really clear to explain things there, but in case you interested you can see the documentation here https://developers.google.com/google-apps/calendar/overview
note: use the APIs Explorer one https://developers.google.com/apis-explorer/#s/calendar/v3/calendar.events.list and "Execute without OAuth"
one important thing : Set the singleEvents to true
-
- Rainmeter Sage
- Posts: 16162
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Google calendar XML replacement
Thanks for the info, probably I'll give it a try these days. Now I have more free time for all this kind of tries.LittleOne wrote:the pso2emgquest@gmail.com(main GCal target) or v5stvi0k8102q1aiiti7ioctig@group.calendar.google.com(just some dummy GCal) is not my email address its the public GCal ID, but yes you need to use your Google Calendar account enabling the GCal API and get your own API Key for it to working, and in case to use someone Public GCal you need to add their GCal to your own Gcal.
its pretty tricky to setup and Google not really clear to explain things there, but in case you interested you can see the documentation here https://developers.google.com/google-apps/calendar/overview
note: use the APIs Explorer one https://developers.google.com/apis-explorer/#s/calendar/v3/calendar.events.list and "Execute without OAuth"
one important thing : Set the singleEvents to true