Hi Woody,

You might also be interested in the "sortorder" parameter. For
example:

https://www.google.com/calendar/feeds/default/private/full?orderby=starttime&sortorder=ascending

This will show events ordered by start time with the event happening
soonest first. If your program can construct the date range of the
current week, you might find the "start-min" and "start-max"
parameters useful to help narrow down the results. The query
parameters are documented in the reference guide:

http://code.google.com/apis/calendar/reference.html

If you have any problems with the API itself, there is also another
group you can visit for help:

http://groups.google.com/group/google-calendar-help-dataapi

Cheers,
-Jeff

On Aug 28, 11:46 am, "Jim W" <[EMAIL PROTECTED]> wrote:
> Thanks so much Jeff! That puts me a little closer to where I'm headed. Right
> now, using the "orderby=starttime", it is in decending order--starting
> December 31st. This means I'm going to have to give it a little more thought
> based on my desire to set it up ascending starting from today's date. I was
> pulling the feed into my personal website to show my weekly schedule. But,
> that's definitely one step closer to where I'm looking to be.
> Thanks Jeff!!!
> Woody
>
> -----Original Message-----
> From: [email protected]
>
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Fisher
> (Google)
> Sent: Tuesday, August 28, 2007 2:36 PM
> To: Google Data API
> Subject: Re: Sorting Google Calendar RSS
>
> Hi Woody,
>
> I think what you are looking for is the "orderby" query parameter. If you
> use "orderby=starttime" in your feed URI, the server will sort them in
> increasing order of their start time. To provide a complete
> example:
>
> https://www.google.com/calendar/feeds/default/private/full?orderby=st...
>
> Cheers,
> -Jeff
>
> On Aug 28, 11:24 am, Woody <[EMAIL PROTECTED]> wrote:
> > Running into some obvious issues with trying to syndicate my Google
> > Calendar via XML. Logically enough, the feed takes the events in the
> > order that they are added to the calendar, not the date of the event
> > itself. Is there a tweak that any of you are familiar with to base the
> > feed sort on the event date not the publish date?? Any help you could
> > offer would be VERY appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to