Figured out a kind'a hack solution to this.  For anybody trying to do
something similar, you can pick up the gadget url with document.URL
and then parse for the string "up_startdate".  Yep its a hack way and
there's probably a much better method, but it works.

On May 26, 11:19 am, vman <[email protected]> wrote:
> I thought I would add a simple example to make sure my question is
> clear.  Say I were building an "on this day..." type gadget that would
> appear weekly in the user's calendar (recurring event) such that the
> user could go forward any number of weeks in their calendar from the
> current date and see future "on this day..." gadget events.  In order
> for the "on this day..." gadget events in the future to obtain content
> from the "on this day..." data server, each must perform a
> gadgets.io.makeRequest to the server url with its own DATE in the
> "parameters" argument.  My question is on how to get this DATE from
> within the gadget event.  Is this possible with the caldata API or am
> I approaching this problem from the wrong direction?
>
> Thanks again.
>
> On May 22, 10:15 pm, vman <[email protected]> wrote:
>
> > I am writing a calendar gadget with date dependent content (i.e. some
> > of the content in the gadget will require that the date of the gadget
> > event selected by the user, be known).  The gadget is added to a
> > calendar as a recurring event once per week.  Is it possible, from
> > within a calendar gadget event, for the gadget to query its own date
> > with javascript?  I didn't see anything in the API for doing so.
>
> > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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