# Can Google Calendar be One-Boxed?

**URL:** https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043
**Category:** Feature
**Created:** [7 Febbraio 2017, 7:40am UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043 "2017-02-07T07:40:51Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)
#### Post date: [7 Febbraio 2017, 7:40am UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/1 "2017-02-07T07:40:52Z")

</div>

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 ??

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [7 Febbraio 2017, 1:46pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/2 "2017-02-07T13:46:31Z")

</div>

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

[![](https://global.discourse-cdn.com/meta/optimized/3X/e/e/eeb26d5f52e32957d36924746ebc0b7b5c59b11c_1_690x142.png) ](https://global.discourse-cdn.com/meta/optimized/3X/e/e/eeb26d5f52e32957d36924746ebc0b7b5c59b11c_1_690x142.png)

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.

[![](https://global.discourse-cdn.com/meta/optimized/3X/2/3/2332a7f270318f644333f42374d42596ff7568e2_1_690x107.png) ](https://global.discourse-cdn.com/meta/optimized/3X/2/3/2332a7f270318f644333f42374d42596ff7568e2_1_690x107.png)

---

<div class="post-metadata">

### Author: ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)
#### Post date: [7 Febbraio 2017, 3:11pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/3 "2017-02-07T15:11:13Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)
#### Post date: [7 Febbraio 2017, 3:28pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/4 "2017-02-07T15:28:50Z")

</div>

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

https://calendar.google.com/calendar/embed?src=thuquanters%40gmail.com&rm=minimal

while in the Chinese Discourse forum [meta.discoursecn.org](http://meta.discoursecn.org) it works.

 ![](https://global.discourse-cdn.com/meta/original/3X/7/2/72ea9c132c3ebd743e46619c4c5fd3958511025c.png)

Why is it?

---

<div class="post-metadata">

### Author: ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)
#### Post date: [7 Febbraio 2017, 3:35pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/5 "2017-02-07T15:35:57Z")

</div>

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

 ![](https://global.discourse-cdn.com/meta/original/3X/c/a/caad6cd045503b72c947bded5c9e5812c9c4b20e.png)

# 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](http://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.

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [7 Febbraio 2017, 3:36pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/6 "2017-02-07T15:36:22Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [7 Febbraio 2017, 3:40pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/7 "2017-02-07T15:40:46Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [14 Febbraio 2017, 10:56pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/8 "2017-02-14T22:56:50Z")

</div>

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](https://meta.discourse.org/groups/team) on this topic, so have an @

---

<div class="post-metadata">

### Author: ![11145](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11145/32/119636_2.png) [@11145](https://meta.discourse.org/u/11145)
#### Post date: [6 Giugno 2017, 5:21am UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/11 "2017-06-06T05:21:59Z")

</div>

Tell me how to insert Google Calendar into a publication?

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [7 Gennaio 2018, 10:25am UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/12 "2018-01-07T10:25:33Z")

</div>

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

https://calendar.google.com/calendar/embed?src=6hnjp743rq7omi2qfr3fa873ug%40group.calendar.google.com&rm=minimal

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [7 Gennaio 2018, 3:50pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/13 "2018-01-07T15:50:47Z")

</div>

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

https://calendar.google.com/calendar/embed?height=600&wkst=1&bgcolor=%23FFFFFF&src=it.italian%23holiday%40group.v.calendar.google.com&color=%23125A12&ctz=Europe%2FRome

`<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>`

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [7 Gennaio 2018, 6:19pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/14 "2018-01-07T18:19:20Z")

</div>

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

[https://github.com/discourse/onebox/commit/fd1b0bd93481dc51e6da86202065b664a7705b71](https://github.com/discourse/onebox/commit/fd1b0bd93481dc51e6da86202065b664a7705b71)

[https://github.com/discourse/discourse/commit/e3f8182125fbf853ff04288bb0dbb9972627f184](https://github.com/discourse/discourse/commit/e3f8182125fbf853ff04288bb0dbb9972627f184)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [7 Gennaio 2018, 7:07pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/15 "2018-01-07T19:07:19Z")

</div>

Rebuilt the HTML on your post - looks good.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [9 Gennaio 2018, 5:00pm UTC](https://meta.discourse.org/t/can-google-calendar-be-one-boxed/57043/16 "2018-01-09T17:00:25Z")

</div>

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