Hello all,
New to the group and the whole calendar api thingie.
My scenario:
I have a private calendar with a recurring event which I add comments
to as it occurs (a phone call I make and I add the conversation that
took place).
I am using java with eclipse ide.
I want to iterate through my calendar and get my comments.
My issue (aka ignorance):
I can get lots of data from my calendar (title, author, description,
times, etc). But I can NOT figure out how to at least get the <gd:
feedlink> data.
I think I am close with:
----------------------------------------
CalendarService myService = new CalendarService("exampleCo-
exampleApp-1.0");
myService.setUserCredentials("login", "pass");
URL feedUrl = new URL("http://www.google.com/calendar/feeds/
[EMAIL PROTECTED]/private/full");
CalendarEventFeed resultFeed = myService.getFeed(feedUrl,
CalendarEventFeed.class);
for (int i = 0; i < resultFeed.getEntries().size(); i++) {
CalendarEventEntry entry = resultFeed.getEntries().get(i);
Iterator<Comments> iterComments;
List<Comments> commentfeeds = entry.XXXXXXXXXXXXXX; <<<<<<
This is what I am not sure about
iterComments = commentfeeds.iterator();
while (iterComments.hasNext()) {
Comments comments = iterComments.next();
System.out.println("Start time: " +
comments.getFeedLink());
}
}
----------------------------------------
Is there a function, property or what that will load my commentfeeds
List with urls?
I guess alternatively, I could use a composite feed, but I have NO
idea how to start reading an atom entry either.
Sorry for such a basic question. I can't find anything on getting
event comments or feedlinks when I search around.
Thanks in advance,
Brian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---