Apple seems to import events from this feed just fine:
http://shoreline.ccbchurch.com/group_calendar.ics?id=916&tk=EREMAMTNKPN65K55W6RJZMMHT2T5FRE2
But EO does not. When I fetch events, it seems to complete with no errors, but no new events are imported. There are only 2 events on this feed for 2016, and they are in October and November. Both of these events do show up in Apple Calendar, however.
Jacob Perl
Hi Jacob,
This appears to be an encoding issue, I’ve identified a fix, so subject to it passing testing you should expect a release sometime next week.
Apologies for any inconvenience caused.
Stephen Harris
Hi Stephen,
Any news on this? I got people breathing down my neck 🙂
Jacob Perl
Hi Jacob,
Apologies for the delay. I’ve just released 2.1.1 of the iCal extension which should address the issue you describe.
Stephen Harris
Jacob,
I’m afraid its looking likely that I’m going to have to reverse this patch as it is having adverse effects for other users.
I’ve also noticed that the headers for the iCal feed indicate it is UTF-8 encoded. Could you double check your database character set and collation? The charset is, by default, UTF-8.
Stephen Harris
I will need to skip your next update, then. Do you expect you will have it sorted in the one after that?
My db is UTF-8.
BTW – what are the specific issues others are experiencing? Something I should look out for?
Jacob Perl
Some characters would be incorrectly encoded – http://wp-event-organiser.com/forums/topic/wrong-charset/#post-22285
I suspect that the content of the events which weren’t importing were not UTF8 (despite the HTTP header saying the file is). If you passed it throught utf8_encode()
it worked fine, but doing so to already UTF8 encoded text causes problems for some characters.
Currently the plug-in makes the assumption that the content is UTF8 – an assumption which up until now has been valid. Unfortunately, if I’m right, your feed is not – although it is claiming to be. (Though I could be wrong)
Stephen Harris
Where do we stand on this?
Is there a way to add a conditional to test it before passing it through utf8_encode()? I’m no programmer so I’m guessing it’s probably not that easy…?
OR how can I test the data to ensure that it is UTF8?
Anyway, I need to come up with a solution otherwise I’ll be stuck not being able to update the plugin.
Jacob Perl
Oddly enough, using the latest versions of Event Organiser and Event Organiser iCal sync, this now works for me. (Even though this validator tells me the feed is still not valid: http://severinghaus.org/projects/icv/).
The above feed currently imports 7 events for me.
Stephen Harris