Can Google Calendar be One-Boxed?

I’ve read the Google-Calendar plugin post, but it is now not working anymore.

I’ve seen the Google Maps One-Box, it works perfectly now.

I really wander if Google Calendar can work with One-Box ??

1 Like

Yes it works, but the embed only appears if you take the plain URL from the “Embed This Calendar” box in Gcal settings

If you click on “Customize etc.” and paste the long URL with all the parameters separated with “&” then the important bit (src=6hnjp743blahblahblah) doesn’t make it through.

1 Like

Interesting, I found that in a discourse that has installed the plugin “Google Calendar Onebox” like mine, it does not work. But in a discourse that hasn’t installed plugin “Google Calendar Onebox”, it works.

Seems, google calendar has been integrated in the discourse system.

Why, Even in this Discourse website, it doesn’t work.

while in the Chinese Discourse forum meta.discoursecn.org it works.

Why is it?

And this is all the plugin that I have installed in the forum

Anything wrong?

And I’ve tried discourse 1.6( It works ), discourse 1.7.0 (it works), discourse 1.8(doesn’t work)
And this discourse(meta.discourse.org, doesn’t work)

Well, actually, I don’t know what’s wrong. Maybe because the discourse version? maybe because some plugin conflict.

hmm. I must admit my own discourse installation is not up to date, so this could have broken in the last few months.

I have tested it also in 1.7.2 stable and doesnt work on there anymore. If it was put in there prior to what has changed it will still show but if you edit it or put in a new one it doesnt.

I wonder if this is anything to do with the changes to the gdocs onebox that took place.

literally 5 seconds after updating to 1.8, another moderator edited our calendar page, resulting in a re-cook and now a broken calendar >_<

Haven’t seen a post from @team on this topic, so have an @

Tell me how to insert Google Calendar into a publication?

Apologies for the necro, but it’s still impossible to embed a google calendar. eg:

And use the iframe instead since there is a setting for embedding (allowed iframes)?

<iframe src="https://calendar.google.com/calendar/embed?height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=it.italian%23holiday%40group.v.calendar.google.com&amp;color=%23125A12&amp;ctz=Europe%2FRome" style="border-width:0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

5 Likes

Sorry about the delay, just pushed a fix (in 2 parts)

https://github.com/discourse/onebox/commit/fd1b0bd93481dc51e6da86202065b664a7705b71

https://github.com/discourse/discourse/commit/e3f8182125fbf853ff04288bb0dbb9972627f184

9 Likes

Rebuilt the HTML on your post - looks good.

4 Likes

This topic was automatically closed after 46 hours. New replies are no longer allowed.