Thanks chris. This is exactly what I was trying to achieve. You can actually load those dependencies dynamically rather than saving a copy of the style and javascript to your own server and retrieving them as static resources. There is one css file and one js file that needs to be fetched, but your advice gave me confidence that I was on the right track so I continued hacking.
Then I realized that there was a typo in my Java code and now everything works great. Eli On Jan 26, 5:00 am, chris <[email protected]> wrote: > have a look at mygooglecal, might help > > On Jan 23, 1:54 am, Eli <[email protected]> wrote: > > > I'm trying to create a proxy for the embedded calendar so that I can > > read the DOM of the IFrame while adhering to the same source policy. > > This is a very common pattern, but in case it's unclear I've explained > > it briefly below: > > > I've created a servlet called "proxy" which uses Java's URLConnection > > object to fetch the content of the widget... and set the src attribute > > of the iframe tag to point to proxy. However, I think due to some > > relative addresses in the calendar code or something like that the > > calendar widget won't render. > > > Any tips/tricks to make this work? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
