]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/googlecalendar.mdwn
testing
[ikiwiki.git] / doc / plugins / googlecalendar.mdwn
1 [[template id=plugin name=linkmap included=1 author="Joey Hess"]]
2 [[tag type/special-purpose]]
3
4 This plugin allows embedding a google calendar iframe in the wiki.
5 Normally, if the [[htmlscrubber]] is enabled, such iframes are scrubbed out
6 of the wiki content since they're not very safe if created by malicious
7 users. But some iframes are legitimate, and safe, if you trust the embedded
8 content. This plugin is an example of how to deal with this in ikiwiki.
9
10 Example use:
11
12         \[[googlecalendar html="""
13         <iframe src="http://www.google.com/calendar/embed?src=adkrdken8mupngh13jshlbenoc%40group.calendar.google.com&title=OSEL%20Calendar&chrome=NAVIGATION&bgcolor=%2371d873&height=588" style=" border-width:0 " width="480" frameborder="0" height="588"></iframe>
14         """]]
15
16 The iframe should be the one provided by google. Note that it's used in a
17 way that avoids cross-site scripting attacks, assuming you trust google's
18 content.