WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: All-in-One Event Calendar] Subscribe feeds for iCal & Google Not Working

[Resolved] [Plugin: All-in-One Event Calendar] Subscribe feeds for iCal & Google Not Working

Viewing 13 replies - 1 through 13 (of 13 total)
  • jwhitesides

    @jwhitesides

    Hey richard.girling I’m curious to know why it is I can’t get these feeds to work when I create an event via the plugin.

    I’ve gone Time.ly’s site and I’m able to subscribe to the calendar there. Is there a PHP issue?

    I’ve tried disabling all other plugins – still results in the same issue. The feed sends invalid data.

    I’d like to get to the bottom of this issue so I can use the plugin to spread my events to all my devices, rather than using it to import them. What steps do you suggest I try so that what it is exporting is valid and can be used by iCal, Google, Facebook, etc.

    Thanks.

    jwhitesides

    @jwhitesides

    Here’s the info from the Time.ly events calendar:

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//127.0.0.1//NONSGML kigkonsult.se iCalcreator 2.12//
    CALSCALE:GREGORIAN
    METHOD:PUBLISH
    X-WR-CALNAME:Timely
    X-WR-CALDESC:The World’s Event Calendar
    X-WR-TIMEZONE:America/Vancouver
    BEGIN:VTIMEZONE
    TZID:America/Vancouver
    X-LIC-LOCATION:America/Vancouver
    BEGIN:STANDARD
    DTSTART:20121104T020000
    TZOFFSETFROM:-0700
    TZOFFSETTO:-0800
    TZNAME:PST
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20130310T020000
    TZOFFSETFROM:-0800
    TZOFFSETTO:-0700
    TZNAME:PDT
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    UID:88A3C1CD-551E-478D-A70F-39F0BCE6E1CB
    DTSTAMP:20120913T070641Z

    Here’s the same bit from my feed:

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//67.139.134.215//NONSGML kigkonsult.se iCalcreator 2.10//
    CALSCALE:GREGORIAN
    METHOD:PUBLISH
    X-WR-CALNAME:Jody Whitesides
    X-WR-CALDESC:Music That Makes Your Soul Happy!
    X-WR-TIMEZONE:America/Los_Angeles
    BEGIN:VTIMEZONE
    TZID:America/Los_Angeles
    X-LIC-LOCATION:America/Los_Angeles
    BEGIN:STANDARD
    DTSTART:20111106T100000
    TZOFFSETFROM:-0700
    TZOFFSETTO:-0800
    RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
    TZNAME:PST
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20110313T110000
    TZOFFSETFROM:-0800
    TZOFFSETTO:-0700
    RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
    TZNAME:PDT
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    UID:http://jodywhitesides.com/?post_type=ai1ec_event&p=27994&inst
    ance_id=
    DTSTAMP:20120913T070949Z

    I’m seeing something called ‘RRule’ in mine – what’s creating that? Is this an issue?

    I also notice that the ‘UID’ string for yours is substantially different than the ‘UID’ from mine. Could this be it? If so, why is my making a URL as the ‘UID’ while yours looks like a Hex string.

    jwhitesides

    @jwhitesides

    Maybe it has something to do with this part?

    DESCRIPTION:<p><img class=’ wp-image-27953 alignleft’ style=’margin-left: 5
    px\; margin-right: 5px\;’ title=’amrRadioLogo’ src=’http://jodywhitesides.
    com/wp-content/uploads/2012/09/amrRadioLogo.jpg’ alt=” width=’108′ height
    =’108′ /></p>\n<p>@ 8 pm MST I’m going to be in studio [the Cat’s Den] on
    American Musicians Radio. Johnny Cat and I will be talking up music past\,
    present and future. I’ll also be performing a few songs acoustically. As
    well as talking about a secret subject. Only way to find out what it is is
    to join us by listening.</p>\n<p>Johnny Cat also has the ability to allow
    people to chime in live to ask questions. Head over to <a title=’American
    Musician’s Radio’ href=’http://americanmusiciansradio.com’ target=’_blank
    ‘>AMR’s website and find out how.</p>\n<p>You. Don’t. Want. To. Miss.
    This!</p>
    DTSTART;TZID=America/Los_Angeles:20120912T200000
    DTEND;TZID=America/Los_Angeles:20120912T220000
    LOCATION:facebook.com/americanmusiciansradio
    SUMMARY:In The Cat’s Den
    URL:http://jodywhitesides.com/blog/ai1ec_event/in-the-cats-den/?instance_id
    =
    END:VEVENT

    Richard

    @richardgirling

    Hi jwhitesides,

    RE: Facebook, we are working on a permanent fix for this problem however other users have had success using this:

    In the file, on line 377 (right after the if-else block) add/insert these lines:

    $this->start_time = date(‘Y-m-d\TH:i:sP’,$this->start_time);
    $this->end_time = date(‘Y-m-d\TH:i:sP’,$this->end_time);

    Regarding the feeds issue. Could you please send me the feeds so that I can validate them.

    jwhitesides

    @jwhitesides

    richard.girling – I’m attempting to switch to using the plugin to create events now, mostly because of the FB and feed feature. Thus the feed is on the website.

    iCal Link: webcal://jodywhitesides.com/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&cb=154347938

    Google Link: http://www.google.com/calendar/render?cid=http%3A%2F%2Fjodywhitesides.com%2F%3Fplugin%3Dall-in-one-event-calendar%26controller%3Dai1ec_exporter_controller%26action%3Dexport_events%26cb%3D154347938

    Both iCal & Google claim the data is invalid.

    I will try the FB hack.

    jwhitesides

    @jwhitesides

    richard.girling – can you tell me which file I’m supposed to look up line 377 and add that code?

    Richard

    @richardgirling

    Hi jwhitesides,

    We have looked at your feeds and can confirm that they do not import, despite testing as 99/100 on an ics feed validator. The feed validator did say that the feed could be improved by removing blank lines (the first line on your calendar is blank for some reason.)

    After removing this blank line, and changing the name of the ics file to remove “.part”, the feed does import events.

    I am going to escalate this to our Technical Support Specialist to look into why the ics feed is adding “.part” and why the first line is blank. If we can solve that, then your feeds should work.

    jwhitesides

    @jwhitesides

    That’s great. Hopefully it can be fixed soon for that error.

    Richard

    @richardgirling

    Please reply to any posts with [For Ula] in the title.

    Thanks

    I’m not sure what you mean by reply to post with [For Ula] in the title.

    Wondering if there has been any inkling on how to solve the blank line(s)?

    Thanks

    Hi jwhitesides,

    Apologies,I meant in any further posts this will just direct any comment at our technical support specialist who is now dealing with this ticket.

    Regards

    Yup. Figured that out. Finally got this issue resolved. Turns out it was an issue with my config file.

    Ok thanks for letting us know jwhitesides!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] [Plugin: All-in-One Event Calendar] Subscribe feeds for iCal & Google Not Working’ is closed to new replies.