garygomm
Forum Replies Created
-
Excellent news! If you ever figure out what the issue with Google is drop a note in here. I will do the same if I ever find it!
Thanks
understood. What you could try and do is copy and paste already existing single and double quotes from other parts of the code into the modded bit.
But, keep in mind that code only solves the issues with some software (mac 3rd party calendar software – BusyCal and some android devices/os.
As far as I know we never experienced the issue with the standard Mac calendars and IOS not updating – as long as you subscribed as Local Calendar and not Icloud location when you add the subscription. That code only solves the issue for those 3rd party Mac apps and some android apps/devices that use the tag to determine ifes there has been a change.
So i think you Mac calendar and IOS is not related to the code. Post feed link here and I will subscribe and then ask you to change an entry – I will then see if I see the change in the feed and on my mac – that would then narrow down where the problem is….maybe π
if all is working don’t bother to delete the .htaccess file.
ha ha – good to know it was that – it took me aaagggesssss to figure it out when I got caught out by that.
immediately before you change your permalink settings remember to delete the .htaccess file in your root folder so wordpress can regen this. Sometimes due to server settings this file may not get regen’d or regen’d correctly.
I would be tempted to delete the file and update the settings just to get it regen’d just in case there is something ‘out of whack’ with the file which may explain the strange results you are getting.
Apologies if you knew this already
Hi, The code is correct and works on our site. This is likely a symptom ofthe way the ‘ (single quote’ and double quote ” are being translated.) some editors change/shift the quotes to a different quote that looks the same but the software translates differently – extended ASCII character set – and does not work. The solution is to overtype using your keyboard and not copy and paste the ” and ‘ once you have pasted the code. i.e. paste that code in then overtype. What editor are you using? I use TextWrangler or the standard textedit on the mac.
For the moment though take the code out and see if the feed becomes valid. let me know once done and I can try and subscribe from my side. This would at least show it’s nothing to do with permalink changes etc if you then make a change – use Curl to see if the change is picked up in the feed – if it is at least you know the issue is on the client side and not website.
Sorry that did not help.
I tried to subscribe to your calendar as well and get an issue with an error saying the data is invalid. when I do a curl I am not getting back a ical type formatted file. I suspect this is to do with the link. The data that I see looks like it is coming from a link that is not an ical type formatted feed and it looks like it might be another page that it is pointed to?
On the calendar itself – what is the permalink that is shown when you go in and edit it? and also, have you changed your permalink type in wordpress since you created the calendar? it may have something to do with that. the permalink type is under settings on the wordpress menus.
ok, so check the following – these are some things we have found;
1) The feeds update every 2 minutes on the website if I remember correctly – BUT – you need to check that your calendars are also refreshing every X minutes. The update will only occur after the longer of the durations. By default the MAC and Google are sometimes set to only refresh 1 time per year. This is set when you subscribe and depending on the version of OS you may or may not get the option to set this when you initial subscribe but you can change it afterwards.
2) For apple devices you cannot add any of these calendars to the iCloud and use iCloud to sync across your devices. If you have for example a iPhone and a Mac you must add them to the iphone as a local calendar and then also to the Mac as a local calendar. For some reason when these calendars are added to the iCloud and not local they do not ever update. It’s a bit of a pain as you have to add to each device. This appears to be an Apple issue as the feeds were updating – we could see on the website feed the change was appearing.(See (4) below on how to do this) it was something on the apple device in the iCloud that was preventing this.
3) For google calendars we sometimes we had an intermittent issue but were not yet able to resolve – 99% of the time it works. We also had an issue with google where for some reason some people were not able to subscribe – you just get an error message – we were not yet able to resolve.
4) Any change to the calendar – including a comment such as you describe should trigger the update. Each record in the feed has a ‘date updated’ time stamp which is update when a change is made. This date is completely separate to the date/time of the event. You can see this in the ‘curl’ output – see below.
To see if the calendar feed is picking up the change you make to the fixture you can use the CURL command (Linux/Mac) and see if the new data is appearing in the feed – this means website is ok and feed is ok – it must then be the client that has some issue.
curl -i http://stockwoodparkrfc.co.uk/calendar/fixtures-u17?
the above looked at the feed from the website : stockwoodwoodparkrfc.co.uk
and at the event list called : fixtures-u17
Hope this might help!
- This reply was modified 8 years, 7 months ago by garygomm.
See this thread I just created – I suspect it is the same issue. For us the Apple Mac and iPhone worked fine – it was some android devices (OS version dependent) Google calendars and some software (e.g. BusyCal on the Mac) did not work.
https://ww.wp.xz.cn/support/topic/events-not-synchronizing-to-calendar-ical/
I have over 200+ fixtures updating ok.
hope that helps. Regards Gary
- This reply was modified 8 years, 7 months ago by garygomm. Reason: added note about number of fixtures