WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] Subscribe feeds for iCal & Google Not Working (14 posts)

  1. jwhitesides
    Member
    Posted 2 years ago #

    I'm attempting to get this plugin to work again. I've had to let it go for a while. Now I'm back at it today and still frustrated.

    In an attempt to use the Facebook integration, I decided I'd try to use a1ec to create an event. When I publish the event, I get an error from Facebook saying: "Something went wrong while creating the event on Facebook.
    This is the error message: (#100) Invalid parameter"

    With the iCal/ICS & Google feeds, they don't work either. Google tells me the feed does not contain proper ICS or Google formatting. iCal tells me: "The data downloaded from webcal://jodywhitesides.com/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&cb=1007397306 isn’t valid."

    So none of these three things work.

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. jwhitesides
    Member
    Posted 2 years ago #

    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.

  3. jwhitesides
    Member
    Posted 2 years ago #

    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.

  4. jwhitesides
    Member
    Posted 2 years ago #

    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

  5. Richard
    Member
    Posted 2 years ago #

    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.

  6. jwhitesides
    Member
    Posted 2 years ago #

    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.

  7. jwhitesides
    Member
    Posted 2 years ago #

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

  8. Richard
    Member
    Posted 2 years ago #

    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.

  9. jwhitesides
    Member
    Posted 2 years ago #

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

  10. Richard
    Member
    Posted 2 years ago #

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

    Thanks

  11. jwhitesides
    Member
    Posted 2 years ago #

    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

  12. Richard
    Member
    Posted 2 years ago #

    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

  13. jwhitesides
    Member
    Posted 2 years ago #

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

  14. Richard
    Member
    Posted 2 years ago #

    Ok thanks for letting us know jwhitesides!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.