Workaround to fix calendar sync problems

Discussions about the Calendar Tool at lds.org. Questions about the calendar on the classic site should be posted in the LUWS forum.
russellhltn
Community Administrator
Posts: 29312
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Postby russellhltn » Sun Feb 06, 2011 11:58 am

EarloftheWest wrote:However, I'm noticing that with either the liddicot link or the one above, some stake events didn't show up on my google calendar but they are showing up on by buddies iPad.


You may want to look at the calender those events are placed and which ones you are subscribed to. It may be that you are not subscribed to that calendar.
Have you searched the Help Center? Try doing a Google search and adding "site:churchofjesuschrist.org/help" to the search criteria.

So we can better help you, please edit your Profile to include your general location.

User avatar
chrissv
New Member
Posts: 34
Joined: Fri Mar 02, 2007 9:17 am
Location: Dudley, MA
Contact:

Postby chrissv » Sun Feb 06, 2011 12:08 pm

samliddicott wrote:The code as it stands uses the passthru command and so I don't get access to the character count easily. I'll take a look next time I review the script.

As a followup, I too got the "new.lds.org" URL to work, and I am seeing the same problem where a couple times per day it tells me all of my entries are deleted, then minutes later all of them are now new entries. Sounds like something either with Google or with lds.org.

-- Steven

User avatar
samliddicott
Member
Posts: 77
Joined: Wed May 20, 2009 8:48 am
Location: England

Postby samliddicott » Mon Feb 07, 2011 1:36 am

chrissv wrote:As a followup, I too got the "new.lds.org" URL to work, and I am seeing the same problem where a couple times per day it tells me all of my entries are deleted, then minutes later all of them are now new entries. Sounds like something either with Google or with lds.org.

-- Steven


it looks like the UID field and the DSTAMP fields of the ical are not constant.
Try downloading your ical - wait a couple of minutes and download it again and compare the two side-by-side.

Note that DSTAMP changes is the current time, and that UID is based on DSTAMP for many (but not all) events. I think UID is DSTAMP based for repeating events.

chrissv, if you can confirm that only the repeat events are added/deleted a couple of times per day, then I will fixup my script at liddicott.com so it replaces the UID that are based on DTSAMP with a UID based on something more fixed, like a hash of DESCRIPTION or DSTART or the calendar ID or a fixed constant.

User avatar
samliddicott
Member
Posts: 77
Joined: Wed May 20, 2009 8:48 am
Location: England

Postby samliddicott » Mon Feb 07, 2011 2:29 am

Chrissv, try https://mail.liddicott.com/ldscalendar-test.php

As all the calendar UID seem to have an element of serial number in them and seem likely to change if a new appointment is inserted near the beginning, this test fix re-generates the UID based on the start time, summary and description, and so should be constant as long as the event doesn't change.

This should stop your problem of events being all deleted and all re-recreated.

BUGS: Two mostly-similar events will have the same UID. Perhaps if a ward diary and stake diary have the same event with same start time and same summary and same description, then they will be given the same UID. If this becomes a problem, I'll add a serial number to be used in the case that a UID would be re-used.

If it works for you, I'll update the normal script to match. As usual, the script shows it's own source.

elvidgeps
New Member
Posts: 4
Joined: Mon Feb 07, 2011 4:42 am

Postby elvidgeps » Mon Feb 07, 2011 4:50 am

Just to say thank you - worked for me.
I use two LDS calendar accounts (mine & my wife's) so we can see Ward & Stake activities as separate calendars in Google calendars. Has worked for a while using direct links (new.lds). These stopped updating some time ago, so I tried switching to lds.org and https (as per other thread) with no success.
Using your link (http://) and my calendar numbers, it worked immediately.
TY
Paul

accampbell
New Member
Posts: 26
Joined: Mon Feb 07, 2011 6:45 am

Worked for Me

Postby accampbell » Mon Feb 07, 2011 6:46 am

I entered the URL with https and the new.LDS.org and the sync to Google calendar is now working for me.

mjmartindale
New Member
Posts: 2
Joined: Mon Feb 07, 2011 7:17 am

Apparently, Google just doesn't like me

Postby mjmartindale » Mon Feb 07, 2011 7:25 am

I tried all combinations of http/https and www/new, each time letting Google calendar stay on "importing calendar..." until it popped up an error and deleted the calendar. Finally I tried https://mail.liddicott.com/ldscalendar-test.php/<myid> and had no luck there either. So I put the id into the calendar tester manually and it came back ok, with plenty of events listed, but no Google requests. The only conclusion I can come to at this point is that Google just doesn't like me :confused:

kcushing
New Member
Posts: 15
Joined: Sat Jan 08, 2011 11:06 pm

me either

Postby kcushing » Mon Feb 07, 2011 7:37 am

That's ok, it doesn't like me either. I keep trying every week though in hopes that something will change. But so for no change. I've tried every combination I can think of too. The tester comes back with plenty of events for me too.

kcushing
New Member
Posts: 15
Joined: Sat Jan 08, 2011 11:06 pm

google bots

Postby kcushing » Mon Feb 07, 2011 7:58 am

On the tester, all the google bots say blocked' => true, but I don't know if that means anything.

User avatar
chrissv
New Member
Posts: 34
Joined: Fri Mar 02, 2007 9:17 am
Location: Dudley, MA
Contact:

Postby chrissv » Mon Feb 07, 2011 8:49 am

samliddicott wrote:Chrissv, try https://mail.liddicott.com/ldscalendar-test.php


OK, I added a calendar with this -test URL. I'll monitor it and see if/when the cancellation/new event notifications occur.

Thanks - Steven


Return to “Calendar”

Who is online

Users browsing this forum: No registered users and 3 guests