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.
Post Reply
russellhltn
Community Administrator
Posts: 34487
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

#31

Post by russellhltn »

Just to clarify my prior message, simply by adding "www" to the link given to me by the calendar app, I'm now able to get the sync with Google working without having to use the liddicott link. Prior to this, I wasn't able to get syncing to work at all.

Has anyone else tried this? Does it work for them?
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
aebrown
Community Administrator
Posts: 15153
Joined: Tue Nov 27, 2007 8:48 pm
Location: Draper, Utah

#32

Post by aebrown »

RussellHltn wrote:Just to clarify my prior message, simply by adding "www" to the link given to me by the calendar app, I'm now able to get the sync with Google working without having to use the liddicott link. Prior to this, I wasn't able to get syncing to work at all.

Has anyone else tried this? Does it work for them?
I got the sync to work long ago, but it hasn't been updating well. So I decided to try some alternatives:
  • Sam's solution, which worked.
  • Link from the calendar (http://lds.org/church-calendar/services ... scribe/<id>) which seemed to work at first -- the calendar was added to my list and events appeared on my calendar -- but then after a couple of minutes it popped a message that said "Failed to fetch URL" and then it removed the calendar.
  • Link from the calendar with www. added (http://www.lds.org/church-calendar/serv ... scribe/<id>), which did work.
  • Then I tried the link from the calendar again with no www. -- and this time it worked. I don't know if some caching is involved, or what is making it work now.
Questions that can benefit the larger community should be asked in a public forum, not a private message.
russellhltn
Community Administrator
Posts: 34487
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

#33

Post by russellhltn »

aebrown wrote:I don't know if some caching is involved, or what is making it work now.
From what I observed in my experiments, Google does cache between the http and https, but seems to treat lds.org and http://www.lds.org as two different links.

(As does vBulletin, apparently.)
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
aebrown
Community Administrator
Posts: 15153
Joined: Tue Nov 27, 2007 8:48 pm
Location: Draper, Utah

#34

Post by aebrown »

aebrown wrote:Then I tried the link from the calendar again with no www. -- and this time it worked. I don't know if some caching is involved, or what is making it work now.

After closer examination, I see that the link that starts http://lds.org doesn't completely work. It seems to have old data (it is missing changes made in the last week or so). I don't know what the source for the data is, but it must be a cached version of data that is now stale.

But the link that starts http://www.lds.org does contain up-to-date information, so that seems to be working properly. So I can endorse RussellHltn's suggestion to take the link from the calendar sync page, insert "www." just before "lds.org" in that URL, and then paste that into Google Calendar using the Add from URL option.
Questions that can benefit the larger community should be asked in a public forum, not a private message.
HeningerRC
New Member
Posts: 1
Joined: Wed Dec 22, 2010 1:54 pm

#35

Post by HeningerRC »

I've tried the wrapper and everything else dozens of times to no avail. Any other insights to get the events to show up in google calendar?
russellhltn
Community Administrator
Posts: 34487
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

#36

Post by russellhltn »

heningerrc wrote:I've tried the wrapper and everything else dozens of times to no avail. Any other insights to get the events to show up in google calendar?

I was about to ask if you're looking at the right calendar - but you'd have to to get the URL to sync.

Are you subscribed to any of the calendars? If not, that would do it.

Failing that, what are the symptoms you are getting? Do you see Google attempting to download the events? Does it work? What happens if you paste the URL into your browser? You should end up it a iCal file that wants to download. Do you get that? What about the contents of the file? When you open it in a text editor, are there any events?
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
samliddicott
Member
Posts: 77
Joined: Wed May 20, 2009 9:48 am
Location: England

#37

Post by samliddicott »

In addition to Russell's comments, you can have a calendar loaded into google calendars but be set to not-show. Each time you click on the name of the calendar you added (in the left column) it will switch between show, and not-show, so check that you have it set to show.

Try both the official LDS URL and also the wrapper URL in your browser and see what happens. Until they work, we can't expect google to work.

Maybe I'll add a debug, that lets you enter your calendar ID. It will show you what wrapper URL you should use, but will also show you the times that google has made a request and what the result was.
User avatar
samliddicott
Member
Posts: 77
Joined: Wed May 20, 2009 9:48 am
Location: England

#38

Post by samliddicott »

The proxy-wrapper at https://mail.liddicott.com/ldscalendars.php/ now lets you type in your calendar ID, and checks to see if you got the number right or if the LDS server will provide the calendar. If so, then it will show you the calendar.

It will also show you a log of requests for that calendar. Entries marked googlebot would indicate requests from the google calendars.

I hope these additions will make things easier for the time being.
User avatar
aebrown
Community Administrator
Posts: 15153
Joined: Tue Nov 27, 2007 8:48 pm
Location: Draper, Utah

#39

Post by aebrown »

samliddicott wrote:It will also show you a log of requests for that calendar. Entries marked googlebot would indicate requests from the google calendars.

This could be a helpful addition. When I tried your new feature, I got the comforting message "Calendar works", along with a big chunk of iCal data. That's good.

But I got errors on the log section:
Log file on requests

Look for entries that mention Googlebot

Warning: file(/tmp/<MyCalendarId>.log) [function.file]: failed to open stream: No such file or directory in /var/www/ldscalendar.php on line 113

Warning: join() [function.join]: Bad arguments. in /var/www/ldscalendar.php on line 113
Questions that can benefit the larger community should be asked in a public forum, not a private message.
User avatar
samliddicott
Member
Posts: 77
Joined: Wed May 20, 2009 9:48 am
Location: England

#40

Post by samliddicott »

Thanks aebrown - that would be because nothing had asked liddicott.com for your calendar, neither you nor google. I'll cover that case now!
Post Reply

Return to “Calendar”