Results 1 to 7 of 7

Thread: Combine multi-pages with singke http-refresh

  1. #1
    Join Date
    May 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Combine multi-pages with singke http-refresh

    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

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    So you can access each individually without being logged in when they're on one page each but when you combine them, it doesn't work? Or is the first calendar the only one that can be viewed without being logged into Google?

    There is no way to "combine" the access ids. That would require having access to Google's code, which, of course, you don't have. So, the only solution that I can see (not tested, but an informed guess) is using iframes.

  3. #3
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    I might by talking out of my ass right now :-)
    What if you combine Joshua Kaufman's CSS Tabs with grizzlyweb javascript:refresh? Maybe you won't even need refresh, because they are separate pages.

  4. #4
    Join Date
    May 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Medyman View Post
    So you can access each individually without being logged in when they're on one page each but when you combine them, it doesn't work? Or is the first calendar the only one that can be viewed without being logged into Google?

    There is no way to "combine" the access ids. That would require having access to Google's code, which, of course, you don't have. So, the only solution that I can see (not tested, but an informed guess) is using iframes.
    Sorry, I realize now that I could have stated my goal better. I am trying to create one single calendar on my personal website that will display all 3 google calendars (each a different color) within it.

    So it is, in fact, combining the access ids that I am trying to do.

    I can view any one of the 3 indiviudally by using the private html url provided by Google within my http-refresh.

    I can combine all 3 urls into a single http-refresh call and get a calendar to show up. But it falls flat at that point so far.

    If I am logged into Google, the calendar on the page I created shows correctly - with 3 different google calendars each in its own color.

    If I am not logged in...I get the same error that is received when embedding a private calendar using the code provided by Google.

  5. #5
    Join Date
    May 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by tfit View Post
    I might by talking out of my ass right now :-)
    What if you combine Joshua Kaufman's CSS Tabs with grizzlyweb javascript:refresh? Maybe you won't even need refresh, because they are separate pages.
    eep! May I claim ignorance? I am familiar with neither Joshua's work nor grizzlyweb. Could you point me a little more?

  6. #6
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    I couldn't remember where I saw it so I googled and I noticed the page was removed, but still in google's cache:
    http://64.233.183.104/search?q=cache...2&amp;ie=UTF-8
    If you create your tabs with three files with your http-refresh you're good to go. I might have a stripped version stored somewhere if needed. And yes your basically are going to use iframe.

  7. #7
    Join Date
    May 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thank you

    I just wanted to say thanks Medyman and tfit.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •