Extension:GoogleCalendar

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
Google Calendar

Release status: unknown

Implementation Tag
Description This extension allows you add Google Calendar to wiki pages"
Author(s) Kasper Souren
MediaWiki 1.8.2 and up
Download svn


Contents

[edit] What's Google Calendar

Google calendar is an online calendar that allows collaboration between users.

[edit] What can this extension do?

Usage: Tag :

   <googlecalendar>docid</googlecalendar>
 Example:
   from url http://calendar.google.com/calendarplay?docid=6444586097901795775
   <googlecalendar>6444586097901795775</googlecalendar>

[edit] Installation

  1. Install the extension from svn like any other extension.
  2. insert this tag into the page you want the calendar to appear.
<googlecalendar>bob%40gmail.com</googlecalendar>

[edit] Example

See http://wiki.couchsurfing.com/en/Google_Calendar_MediaWiki_plugin#Example

[edit] Problems with this extension

[edit] Ampersand problem

Google allows extra features like custom sizing of the calendar, viewing other calendars within the same iframe and removing the google logo. Eg. Adding & chrome=NAVIGATION removes the google logo.

However the problem with this is that it requires a pure & and when the iframe is written into the page the & gets converted to an &amp; in the html page source, which is the ampersand problem. And so the iframe cannot recognize the query after the &amp; because it needs a pure &. Thus the extra google calendar features do not work correctly when viewed using this extension.

Personal tools