Events Made Easy Forums How do I … One Problem – Several Questions – ICAL

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #53944
    Anonymous
    Inactive

    Franky,

    I am trying to do something rather simple, just insert the ICAL link into of my events. I only want the ICAL to contain the information for that specific event. I’ve tried using [eme_ical_link] but cannot get the syntax right, or even close.

    1. When I read the dcomentation on [eme_ical_link] it says “see the explanation for [events_list]” but that topic does not exist. Is that supposed to read “see the explanation for [eme_events]“?

    2. I looked at various samples you have posted. They all seem to do what I want. However, none of the examples document the code/syntax/etc…only the final output. It’s nice to see what the plugin can do, but it would be even better if one see how you accomplished this.

    3. I played around with arguments documented in [eme_events] and have mixed results. Currently, I am using [eme_ical_link scope=2015-06-05 limit=1] hoping to create a ICAL for the one event I have on 2015-6-5. It is not working, I am getting all events in the ICAL…and they are using the current date/time instead of the date/time of the event. Any help?

    Thanks in advance.

    Josh

    #53948
    Franky
    Keymaster

    I updated the doc. The shortcode you’re using is for ical info on a list of events, not one. Use #_ICALLINK.

    #53950
    Anonymous
    Inactive

    Thanks for updating that. However, the ICAL links are not coming thru with the events’ date/time info, but intead with the current date/time. When I open the ICAL links from your examples, they work fine. Can you point me in the right direction?

    Thanks again…

    #53951
    Franky
    Keymaster

    #_ICALLINK only gets replaced correctly inside the “single event format” and “event list format” settings, maybe that’s what’s wrong?
    Do you have an example? And the date/time info in the backend for that event? And also: what is the EME version you’re using?

    #53952
    Anonymous
    Inactive

    Here is a single event that does this. The event date is 06/05/2015 and the event time is 05:45PM – 09:00PM.
    Here is a reoccuring event that behaves the same way for me. This event happens on the 2nd Thu of each month, from 08:00PM-09:00PM.

    I am at version 1.5.32 (updated last night before I made this post). I was having the same issue before and after the update.

    #53965
    Franky
    Keymaster

    Your theme is adding empty lines at the beginning of the output (see the html-source of your pages), it shouldn’t do that.
    Solve that and your ical will work too.

    #53966
    Anonymous
    Inactive

    Comparing the ICS file from your example to mine – mine is missing the time zone in the DTSTART and DTEND lines. If I manually edit the ICS and add a a timezone, it works fine. I don’t see how the empty line 1 is a cause here. I’m still looking for the source of the empty line, however.

    #53967
    Franky
    Keymaster

    The timezone comes from the wordpress settings. is that setting correct?
    Many ical interpreters have difficulties with empty lines (the same goes for RSS feeds btw)

    #53968
    Anonymous
    Inactive

    I was able to remove one of the blank lines, but not the other. I will have get help from the theme author to find the source of the blank line.

    So, I changed themes (temporarily). The new theme DID NOT create any blank lines. However, the ICAL links still did the same thing.

    #53969
    Anonymous
    Inactive

    OK. Problem almost solved…

    I changed the time zone setting within WP, from Manual Offset (UTC-5) to America/New York. The ICAL links are now coming in with the date/time…but they are ignoring the Daylight savings rule (all events are an hour behind).

    I’m not sure what other problems I would create if I set the WP time zone to Atlantic Time (-4) – and so I’d prefer not to do that. I couldn’t find anything in the documentation about DST. Can you point me in the right direction?

    #54061
    Franky
    Keymaster

    Read a bit here about ical problems and timezones: http://icalevents.com/2613-what-every-developer-ought-to-know-about-timezones-wrt-calendar-files/
    In your case: it seems your reading application doesn’t understand UTC-xx or UTC+xx as a timezone value, and thus ignores it (reaction different depending on the application).
    You then changed it to “America/New York”, which improved your situation but your application or your webserver doesn’t respect or know about the dst … so you should check the application you’re using.
    Also, make sure your php is always up-to-date (at least the timezonedb: https://pecl.php.net/package/timezonedb )
    Currently EME stores everything without timezone format, making it so that all times are local times.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top