4 messages in com.googlegroups.google-calendar-help-dataapiRe: display PRIVATE calendar nicely| From | Sent On | Attachments |
|---|---|---|
| CJ | 19 Jul 2008 13:40 | |
| Austin (Google) | 21 Jul 2008 10:48 | |
| CJ | 21 Jul 2008 16:43 | |
| Austin (Google) | 22 Jul 2008 10:34 |
| Subject: | Re: display PRIVATE calendar nicely![]() |
|---|---|
| From: | Austin (Google) (api....@google.com) |
| Date: | 07/21/2008 10:48:22 AM |
| List: | com.googlegroups.google-calendar-help-dataapi |
Hi,
You can use the private token (pvttk) URL parameter, the embedded URL would look like this
http://www.google.com/calendar/embed?src=john@gmail.com&pvttk=c58d33eb836ea694...@
This enables a private calendar to be loaded as long as you supply the private token associated with that calendar.
You can look up the private token for your calendar with following steps -
1) go to calendar.google.com click on the "Settings" on the top right 2) choose the "Calendars" tab 3) click on your target calendar 4) scroll down to the Private Address section and select the XML button. The feed URL appears. 5) The feed URL looks like this -
http://www.google.com/calendar/feeds/john@gmail.com/private-c58d33eb836ea694c2226d...@<http://www.google.com/calendar/feeds/uinpq82hkgqtpajd1tra9fe2po%40group.calendar.google.com/private-8ce484a700b888e823baa4e74da94a40/basic>
6) notice the part, private-[LONG_STRING]. The LONG_STRING is the private token for this calendar
Hope that helps, Austin
On Sat, Jul 19, 2008 at 1:40 PM, CJ <Chun...@gmail.com> wrote:
Hi, guys I have to ask a favor from you guys. I am writting a small test project which combines authsub and calendar. Previously, I set the my calendar as public so that I can simply put a line <iframe src="http://www.google.com/calendar/embed? src=chun...@gmail.com&ctz=<http://www.google.com/calendar/embed?src=chunyu.ji...@gmail.com&ctz=><%= lc2.getUser().getTimezoneid() %>" frameborder="0" scrolling="no" style="border:0; width:640px; height: 515px;"></iframe> in my jsp file.
But, later on, I switched my calendar from public to private (no sharing). No surprise, my old method does not work anymore.
So, can anybody points out the appropriate way to do it?
Best CJ
--~--~---------~--~----~------------~-------~--~----~
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
goog...@googlegroups.com
To unsubscribe from this group, send email to
goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---




