iCal Events Plugin

I also uploaded a plugin which displays events from an iCal source: iCal Events. It uses import_ical.php from the WebCalendar project. Many thanks to them for writing a parser.

Update (2006-04-17): Version 1.5 released, with support for some types of repeating events and support for event URLs. If you were previously using version 1.4 of the plugin, please note the following API change: the display_events takes a single argument, formatted as a query string. For example, if you are invoking the function as follows:

ICalEvents::display_events('http://www.ufl.edu/calendar/ufCalendar.ics', time(), NULL, 3);

you’ll need to change this to:

ICalEvents::display_events('url=http://www.ufl.edu/calendar/ufCalendar.ics&limit=3&gmt_start=' . time());

This change was made to make the plugin more flexible. You now have much more control over the output; for more information, please see the readme for version 1.5.

Update (2007-04-09): Version 1.12 is out; download it from the WordPress plugin repository.

Update (2008-04-15): Adam Wolfe Gordon has another plugin of same name that might fit your needs if mine doesn’t.

167 Responses to “iCal Events Plugin”

  1. DeezJee says:

    I think I solved the problem. Thanks for your help!

  2. Jawker says:

    hello,

    i can’t seem to delete the cache folder from my server.. any help?

    Cheers,
    Joseph

  3. Software says:

    hello,

    i can’t seem to delete the cache folder from my server.. any help?

    Cheers,
    Joseph

  4. Teresa says:

    Hi - I am sorry but I seem to be a bit less experienced than most users. I am having trouble figuring out how to bring the Google calendar into the settings. The only option I saw was to download the calendar as zipped folder ICS folder, which I did :o) I also sucessfully installed the plugin (thanks!) I see it on my site, but just a warning that I have no calendar set - so my question is how do I make the two halves meet? :o)

    Thank you!

  5. dwc says:

    Teresa,

    In Google Calendar, you can get the address for a calendar by going to Calendar Settings. The URL you want is under “Private Address” and should be the green “iCal” button.

  6. Peter says:

    I’ve got a small problem with my blog that shoots out to my google cal. It reads the calendar just fine unless the day has more then one event. In that case it only reads the first one. Is the problem here or KB Countdown Widget or Google? Thanks

  7. dwc says:

    Peter,

    Could you provide the code you’re using the display the calendar?

  8. Peter says:

    One problem with that: I didn’t write any code. I’m using the KB Countdown Widget within wordpress which looks at the calendar using iCal Events Plugin. I’ll post the code if you know where the code would be.

  9. dwc says:

    Peter,

    Can you tell me the URL of your Google Calendar then? I’ll test it out with the iCal Events plugin.

  10. dwc says:

    Peter,

    I plugged that URL into the iCal Events plugin and got two events on November 25. Does that sound correct?

  11. Peter says:

    Yes, their are two on that day. So the error isn’t here, but with Countdown Widget. Thanks for the help trouble shooting.

  12. compmania15 says:

    “In Google Calendar, you can get the address for a calendar by going to Calendar Settings. The URL you want is under “Private Address” and should be the green “iCal” button.”

    I can’t seem to locate this. Any Help?

    • dwc says:

      There should be a list of your calendars on the left. Click the arrow to bring up a menu, and choose “Calendar settings”.

  13. Daysha says:

    (please delete comment after solution?)

    I am trying to format the results, particular by only showing the start date (no end date, no times) as well as separate the entries into two lines.

    Line 1: Date & Title
    Line 2: City and Location with URL

    http://feeds.artistdata.com/ical.shows/artist/AR-2GO6RRTWW95VW0F7/ical

    thanks so much for your help.

Leave a Reply