tbrock
05-09-2008, 02:47 PM
Hello,
I am trying to embed 3 Google private calendars into a single webpage.
Google provides the code to embed the calendar but requires that the calendar be made public - something I cannot do. :(
Google also provides a "private" link that will allow a user to share a private calendar as an html page without making the calendar public. Yay! :)
So I made a test page (calendar.htm). Here is the page with the names changed to protect the innocent: ;)
<html><head>
<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=http://www.google.com/calendar/embed?src=calendar1ctz=America/New_York&pvttk=dsfaafgagsdfgsdg3030edcd9">
</head></html>
I have this page on an intranet and it works great. However when I try to add the other 2 calendars into the page, it stops working and gives the error message, "Events from one or more calendars could not be shown here because you do not have the permission to view them."
However if I am logged into Google, this same page does show properly with all 3 calendars, each with their own color.
The urls that Google provides for the 2nd and 3rd calendar are:
http://www.google.com/calendar/embed?src=7jtn2cjtugp11bm2nckrjo7e8o%40group.calendar.google.com&ctz=America/New_York&pvttk=asdfsadf7bcc41007fgdfgdg3372c25b
http://www.google.com/calendar/embed?src=185b1mafo0nc0mcps8et269sgc%40group.calendar.google.com&ctz=America/New_York&pvttk=dsdfsf511d93dd55373a2dejkfgc2dd3
It seems clear to me that the issue is the pvttk variable. Either I am not combining them properly or more than one pvttk may not be combined in an HTTP-Refresh.
I hope someone can give me a way to combine the 3 pvttk's. Or, though it is not the answer I want, at least give me a definite answer that it is not possible so that I stop banging my head against the wall needlessly!
Many thanks,
Tom
I am trying to embed 3 Google private calendars into a single webpage.
Google provides the code to embed the calendar but requires that the calendar be made public - something I cannot do. :(
Google also provides a "private" link that will allow a user to share a private calendar as an html page without making the calendar public. Yay! :)
So I made a test page (calendar.htm). Here is the page with the names changed to protect the innocent: ;)
<html><head>
<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=http://www.google.com/calendar/embed?src=calendar1ctz=America/New_York&pvttk=dsfaafgagsdfgsdg3030edcd9">
</head></html>
I have this page on an intranet and it works great. However when I try to add the other 2 calendars into the page, it stops working and gives the error message, "Events from one or more calendars could not be shown here because you do not have the permission to view them."
However if I am logged into Google, this same page does show properly with all 3 calendars, each with their own color.
The urls that Google provides for the 2nd and 3rd calendar are:
http://www.google.com/calendar/embed?src=7jtn2cjtugp11bm2nckrjo7e8o%40group.calendar.google.com&ctz=America/New_York&pvttk=asdfsadf7bcc41007fgdfgdg3372c25b
http://www.google.com/calendar/embed?src=185b1mafo0nc0mcps8et269sgc%40group.calendar.google.com&ctz=America/New_York&pvttk=dsdfsf511d93dd55373a2dejkfgc2dd3
It seems clear to me that the issue is the pvttk variable. Either I am not combining them properly or more than one pvttk may not be combined in an HTTP-Refresh.
I hope someone can give me a way to combine the 3 pvttk's. Or, though it is not the answer I want, at least give me a definite answer that it is not possible so that I stop banging my head against the wall needlessly!
Many thanks,
Tom