Events import into Apple Calendar, but not Event Organiser

WordPress Event Management, Calendars & Registration Forums iCal Extension Events import into Apple Calendar, but not Event Organiser

This topic contains 9 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 5 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #21725

    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
    #21763

    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
    #21924

    Hi Stephen,

    Any news on this? I got people breathing down my neck 🙂

    Jacob Perl
    #21931

    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
    #21932

    Yay…working now…thanks!

    Jacob Perl
    #22286

    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
    #22287

    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
    #22301

    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
    #22936

    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
    #22947

    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
Viewing 10 posts - 1 through 10 (of 10 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.