Hi Ray,
To answer your point #3 below, I never said that I was using my
'[email protected]' account to log in, so this doesn't apply at all
here.
 
My web page is CORRECTLY using the www.google.com domain, since that is
where the calendar is hosted, and Google Apps for my domain
(testfacultyu.northwestern.edu) is ALSO hosted at www.google.com, so it is
not a problem with cookies of any sort. Google Apps domains are generally
at: www.google.com/a/<google-app-domain-name>.
Also, please note, that with my login, I can definitely see ALL the
calendars THROUGH the Google GUI, but not through the embedded page. This is
where the problem is.
 
So there must be some other kind of explanation here... 
 
-Patricia
 



  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Ray
Baxter
Sent: Friday, June 19, 2009 1:45 PM
To: [email protected]
Subject: Re: How do I embed a private google-calendar to a private
google-site?


Patricia, 

I said in that other thread, "If you want user B to see _only_ user A's
calendar at a particular url, you could embed user A's calendar in a page
that you control and assuming that user B had authenticated themselves to
Google Calendar in the recent past, then user B would see user A's private
events. "


Why it works for me and not for you? I don't know. I suspect that you are
properly authenticating to Google in some way that is related to your use of
Google Apps.


What I do?


1) Go to the page that I mentioned http://warmroom.com/calendar  when I
haven't logged into Google Calendar. I don't see all calendars and do see
free/busy notifications from the others.


2) Go to Google Calendar, http://www.google.com/calendar and log in with my
username and password.


3) Return to http://warmroom.com/calendar . Now I can see full descriptions
of all events from all three calendars.


The problem with what you are doing looks to be that you are authenticating
to  <http://somedomain.northwestern.edu> somedomain.northwestern.edu but
your embedded calendar is using the domain  <http://www.google.com>
www.google.com. Cookies aren't shared between those two domains. 
 
 
 
 


You might try to see if you can authenticate your [email protected]
username to www.google.com or not, or if you can change the domain in the
embedded link to somedomain (testfacultyu?) northwestern.edu


Hope that helps,


Ray




On Fri, Jun 19, 2009 at 8:26 AM, Patricia Goldweic
<[email protected]> wrote:


Ray,
I am not the original poster of this thread. However, as you might have
realized, the thread I started at
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/th
read/fd12c99a321cb625#  was about the same issue! Your last response made me
confirm my suspicion that the goal is not achievable, but now you are
pointing us to an example (that is presumably similar) and that apparently
works for you. So the obvious question is, what makes this work for you, and
not for us. 
Given your example, I created a simple test html page that tries to embed
one of my private calendars residing in my Google Apps domain. Before I open
this web page in my browser, I log into my Google Apps domain (this
effectively lets me see my calendars in that domain within the Google GUI,
since that is where they are hosted). However, the test html page always
displays the following: 
'Events from one or more calendars could not be shown here because you do
not have the permission to view them'. 
I am then unable to see any events in this calendar even though I'm logged
in (and it is my own calendar!).
So what makes your example work that is missing in this html page?
 
html test source follows:
----------------------------------------------------------------------------
-------------
<html>
<head><title>Embedding test</title></head>
<body>
<iframe
src="http://www.google.com/calendar/hosted/testfacultyu.northwestern.edu/emb
ed?title=Last%20BB105%20Calendar
<http://www.google.com/calendar/hosted/testfacultyu.northwestern.edu/embed?t
itle=Last%20BB105%20Calendar&height=600&wkst=1&bgcolor=%23FFFFFF&src=testfac
ultyu.northwestern.edu_98d4jutdo13bnpfh4ndmq50...@group.calendar.google.com&
color=%232952A3&ctz=America%2FChicago>
&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=testfacultyu.northw
[email protected]&amp;color=%2
32952A3&ctz=America%2FChicago" 
style=" border-width:0 " width="640" height="600" frameborder="0"
scrolling="no"></iframe>
</body>
</html>
<html>
----------------------------------------------------------------------------
---------------

 
-Patricia
 
  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Ray
Baxter
Sent: Thursday, June 18, 2009 2:22 PM
To: [email protected]
Subject: Re: How do I embed a private google-calendar to a private
google-site?



Here is an example of a embedded calendar, that you can't see, but I can. 

http://www.warmroom.com/calendar/

On that page are displayed 3 calendars, 2 which are completely hidden to you
and one which is public which you can see free/busy information. When I go
there, as a logged in Google user, I can see all three.

If you could share the code that you posted at sites.google.com, or the url
to the page, perhaps someone could help you make this work.

Ray




On Thu, Jun 18, 2009 at 8:03 AM, Patricia Goldweic
<[email protected]> wrote:



According to my own trials and also exchanges on this list, I reached the
unfortunate conclusion that this is NOT possible currently, as it is not
supported by Google. So I resorted to simply take the user to the normal
calendar GUI, which is also going to present the other persons's calendars,
as long as they are properly shared with the user. It would be great if
somebody could prove me wrong on this statement though :-). I think we need
to create a feature request for this.

-Patricia


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of R.Schwarz
> Sent: Thursday, June 18, 2009 9:47 AM
> To: Google Calendar Data API
> Subject: How do I embed a private google-calendar to a
> private google-site?
>
>
> Hi all,
>
> I try once again to post the question, maybe the topic where
> a bit inaccurate, the first time.
>
> I created a private site at sites.google.com to organize
> activities of a project. Only a few chosen persons are given
> read&edit-access to the site. On this site I want to embed a
> private calendar to which the same persons have
> read&edit-access. Everyone who has access to the site, has
> also access to the calendar itself, and should see the
> embedded calendar at the site. I don't want to make this
> calender public.
> But even me cannot see the entries of the embedded calendar
> at the site!
> How do I get the embedded calendar visible to everyone having
> access to the site, without setting the calendar itself
> totally public?
>
> thanks
> >














--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to