I am thinking the reason for this is that you use a basic feed. a basic feed
has no event details, hence we can not populate evententrys... Example, when
you look at the xml for a basic feed, an entry looks like:
<entry>
<id>
http://www.google.com/calendar/feeds/fmantek%40gmail.com/public/basic/735e077f523668dd60530c178c1f10f7e14b0973
</id>
<published>1970-01-01T00:00:00.000Z</published>
<updated>2006-06-30T11:32:21.000Z</updated>
<category scheme='http://schemas.google.com/g/2005#kind' term='
http://schemas.google.com/g/2005#event'></category>
<summary type='html'>When: Sat Apr 7, 2007 14:00 to 15:00&nbsp;
CEST<br></summary>
<link rel='alternate' type='text/html' href='
http://www.google.com/calendar/event?eid=NzM1ZTA3N2Y1MjM2NjhkZDYwNTMwYzE3OGMxZjEwZjdlMTRiMDk3MyBmbWFudGVrQG0'
title='alternate'></link>
<link rel='self' type='application/atom+xml' href='
http://www.google.com/calendar/feeds/fmantek%40gmail.com/public/basic/735e077f523668dd60530c178c1f10f7e14b0973'
></link>
</entry>
this is just atom, no calendar specific metadata about events.
Switch to private/full as your feed. For more information, check:
http://code.google.com/apis/calendar/reference.html#Visibility
Frank Mantek
Google
On 3/13/07, Gavin Stevens <[EMAIL PROTECTED]> wrote:
>
>
> I was trying to test out the C# src code sample provided for the
> Calendar API. I converted the .net solution to 2.0 and set the
> Calendar Project as startup. I start the app, i put in the following
> url:
>
> http://www.google.com/calendar/feeds/gavin%40mcsdsoftware.com/public/...
>
>
> I click the Go button and step into the code that runs.
>
>
> After running the query, I get back 5 entry items, I added 2 test
> items and they do show up, so I verify the quantity increases as I
> add
> more Calendar items. in the code section:
>
>
> while (calFeed != null && calFeed.Entries.Count > 0)
> {
> // look for the one with dinner time...
> foreach (EventEntry entry in calFeed.Entries)
> {
>
>
> Each of my EventEntry Objects are comletely null, all properties
> return null and the locations, participants, and times collections
> are
> all empty. Aren't these object suppoed to be statefull? My
> ArrayList
> dates ends up empty and so nothing is set to bold on the calendar,
> and
> I have no entries in my list. What am I doing wrong?
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---