I ran into this problem a few days back. It seems that since we provide the
DTSTART and DTEND for the event as part of the 'recurrence' element, Google
ignores the when element that we provide.

I have never used python so can't help you with that. I use Java, and in the
gdata api, it allows us to add the reminders outside of the when element for
a recurring event. My guess is that the python client should also let you do
that. You could try creating your request such that the atom feed going to
google looks like below.

--------------------------------
<?xml version='1.0' encoding='UTF-8'?>
<atom:feed xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='
http://a9.com/-/spec/opensearchrss/1.0/' xmlns:batch='
http://schemas.google.com/gdata/batch'
xmlns:gCal='http://schemas.google.com/gCal/2005' xmlns:gd='
http://schemas.google.com/g/2005'><atom:category scheme='
http://schemas.google.com/g/2005#kind' term='
http://schemas.google.com/g/2005#event'/>
<atom:entry><atom:id>0</atom:id><atom:updated>2009-04-07T14:39:00.000Z</atom:updated><atom:category
scheme='http://schemas.google.com/g/2005#kind' term='
http://schemas.google.com/g/2005#event'/>
<atom:title type='text'>Some summary</atom:title><atom:content
type='text'>Some description</atom:content><gd:eventStatus value='
http://schemas.google.com/g/2005#event.confirmed'/>
<gd:reminder minutes='10' method='alert'/>
<gd:recurrence>DTSTART:20090330T023900Z
DTEND:20090330T033900Z
RRULE:FREQ=DAILY
</gd:recurrence>
<gCal:sendEventNotifications value='true'/>
<batch:id>0</batch:id><batch:operation type='insert'/><gd:where rel=''
label='' valueString='somewhere'/>
<gd:when startTime='2009-03-30T02:39:00.000Z'
endTime='2009-03-30T03:39:00.000Z'/>
</atom:entry>
</atom:feed>

--------------------------------

HTH.

Cheers.

On Wed, Mar 25, 2009 at 1:47 PM, GabrielOS <[email protected]> wrote:

>
> I'm having issues with reminders when events have recurrences.
>
> I add the reminders to the when element, it seems ignored if I add
> some recurrence data.
>
> For example, this message:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom";><ns1:recurrence
> xmlns:ns1="http://schemas.google.com/g/2005";>DTSTART;TZID=UTC:
> 20090325T190000Z
> DTEND;TZID=UTC:20090325T200000Z
> RRULE:FREQ=DAILY;UNTIL=20090401T200000Z
> </ns1:recurrence><ns0:content /><ns0:title>Test1</ns0:title><ns1:when
> endTime="2009-03-25T20:00:00.000Z"
> startTime="2009-03-25T19:00:00.000Z" xmlns:ns1="http://
> schemas.google.com/g/2005"><ns1:reminder method="email" minutes="15" /
> ></ns1:when><ns1:where valueString="" xmlns:ns1="http://
> schemas.google.com/g/2005" /></ns0:entry>
>
> When I check the calendar, no reminder is set.
>
> Using python.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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