Page 1 of 1

[FORUM] Calendar Embed BBCode

PostPosted: Sat Jul 26, 2014 4:07 am
by Ratburntro44
A BBCode to be able to embed a google calendar.

Code: Select all
<iframe src="https://www.google.com/calendar/embed?src={TEXT}" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>


is the iframe for a google calendar embed. If you were to modify the CSS a bit to make a fit well in a post on here, then it would not be too difficult to make

Code: Select all
[calendar]{TEXT}[/calendar]


embed a Google Calendar into a post. I'm not sure exactly how to do this to get rid of any potential security risks, but I believe this could be done safely.