omoroi
Forum Replies Created
-
Thanks! I will give it a go. It sort of looks as if the built-in deny/grant should be able to do this but haven’t got my head round it all yet.
G’luck.And yes I think I had actually subscribed to the iCloud initially which clouded the issue (get it;) ). All good, lots learnt!
SUCCESS!!
on my test site, setup a calendar, added the modification code and on Mac and iOS it has indeed refreshed/updated.
It looks as though Google will not / may! not but this is a very valuable update.
Thank you so much for your patient help and of course the mod code!!All the best.
Thanks for the .htaccess caution, unfortunately I don’t have access to the root, I am working entirely in WP admin (just helping my son’s team manager). But it all looks ok, I can recreate this situation….
OK – without modification code, curl reports correct feed. You can try to subscribe if you like to check I understand that bit = it shows a bunch of calendar events.
When I do add the code, and overwrite the quotes, it does something to upset the permalinks. Curl gives an error message, strange re-directs which I think might be because the plug-in is now deactivated if it gets a fatal error.After removing the mod code, I then refresh the permalinks and all works again.
It really looks like it is me not being able to put the quotes in correctly since it works at your end…I have tried overwriting using my keyboard and overwriting by copying and pasting the single and double quotes directly from the editor in the browser frame.
Leaving it in the ‘working but not updating state for now’ – will try it on my testsite where I have root access and update files directly…OK, reset the permalinks (changed saved, changed back) and the cal feed is now accepted. So, I am back at square one.
I will now try your code, watching for quotes and…let’s see!Just to confirm, you were right about the quotations, I had just copied from browser and it had curly quotes…
Hi
I removed the modification code but still get an error and still getting odd redirects…will have to refresh permalinks I think….Make sense, I use TextWrangler too, have just gone to BBEdit….
Have removed the code and still get issues (even though yesterday I didn’t and the link was the same
BUT I think you are on to something as I am getting very odd re-directs now…will investigate the permalinks…I have changed them from the default but not for a week or so…ho hum.update
looks like the system didn’t like the : in your modificationheader(‘Etag:’ . ‘”‘.$etag.’”‘);
“unexpected : ” error message.
Sorry, this means nowt to me but thought it might help ??
Cheers.Excellent response thank you!!!!
1 – OK I didn’t know about the web timing but had set my mac to refresh every 5 minutes.
2 – finding this tricky…so..first time I made the WP page, it generated the cal URL, I subscribed to this on the mac OS Calendar and same mac into google cal. I also sent the link to a friend who said they were also able to subscribe all good. Except for the not-updating. So…unsubscribed, cleared everything out, checked the CURL you advised and although not sure what this means, the set cookie time before the Max-Age=1800 appears to update (might just be the curl request time though??) Here’s what terminal pushed back at me..HTTP/1.1 301 Moved Permanently
Date: Fri, 20 Oct 2017 11:18:34 GMT
Server: Apache
X-Powered-By: PHP/5.6.29
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=1b22e98178f97a30b98d37fb5059de00; path=/
Set-Cookie: wfvt_1751289587=59e9db8da9c87; expires=Fri, 20-Oct-2017 11:48:37 GMT; Max-Age=1800; path=/; httponly
Location: https://www.surreyrams.net/spcalendar/u16-rams-i/
Vary: User-Agent,Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8–
–
So, I then made a change to the calendar, and tried to subscribe again but…this time an error is pushed back…it won’t let me subscribe at all!!
This could be your 3) but it is in Mac OS Calendar. ANd iOS too…just not recognising the URL.‘Tis always the way, something is sooooo close to being a great solution
If you have any more ideas, I would appreciate it but thanks anyway, I really do appreciate your response and the time you took….I have the same issue , feeds not updating after a change on Mac OS X calendar, google calendar and iOS calendar.
I have tried the above code and still no luck.
Question though. How I would find this most useful is being able to quickly add a comment ‘venue changed’ etc which appears in a ‘description’ field in the ical feed.
Would such a change be enough of a change to trigger an update? Or would it have to be a time/date change???
Thanks in advance.Interesting,
switching to Rookie gives me a properly filled out single player page but only some of the calendars show fixtures even though looking at the admin side, there are fixtures there…
I think I need to learn a bit more…