just IN time

Just another WordPress.com weblog

iCal for WP Calendar

Presenting:

An extension for the WordPress plugin WP Calendar, which generates iCal / RFC5545 / RFC2445 conform files to be imported in several Calendar applications like Outlook, iCal, Google Calendar.

This is my first WordPress plugin, so I researched several existing plugins like iCal for Events Calendar and Event Calendar 3. As Event Calendar 3 is outdated and I didn’t like the mixup of events and posts, as it’s done in ec3, I switched to WP Calendar, after a long research in event/calendar plugins for WordPress. Althoug the iCal support was a mandatory feature for me, I choosed WP Calendar and promissed to me, to write the iCal extension on my own – so here we are.

Features

  • generate valid iCal file with events from WP Calendar, incl. location, URL to a connected post (if available) and allDay events
  • admin page for the number of past months to include
  • debug flag for easy debugging of the resulting iCal file in the browser itself (file can also be validated using http://icalvalid.cloudapp.net/)

The Plugin was developed under WordPress 3.1.2 and WP Calendar 1.4.3 but will also work with older version of both.

Installation

  1. Unzip in your plugins directory.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress.
  3. add the link to your template or use following code to generate the URL:
    echo ical_wp_calendar_getIcalUrl();

Download

Until the plugin is submitted to the WordPress.com plugin browser you can download it at github.com:

https://github.com/barclay-reg/ical-for-wp-calendar/

Roadmap

  • add check, if WP Calendar is installed
  • add warning to settings menu, of WP Calendar is not installed
  • add option, to choose the datemode, when queried the events
  • add option, to choose the category / or add this as parameter
  • add option, to choose the time method in iCal: UTC (default now), floating or th timezome, which is specified in wordpress itself

So come and try this plugin, leave me a comment or submit an issue at github.com, if there is a problem.

Cheers,
Barclay

August 25, 2011 - Posted by | development | , , ,

Es gibt noch keine Kommentare.

Schreibe einen Kommentar

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s

%d Bloggern gefällt das: