How did you generate the xml from the calender after connecting, Im
trying to do the same thing :)

Best
Sparky

On Apr 21, 4:31 am, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> No prob :)
>
> Austin
>
> On Sat, Apr 19, 2008 at 2:04 PM, jcgnu <[EMAIL PROTECTED]> wrote:
>
> >  Never mind...
>
> >  On Apr 19, 12:43 am, jcgnu <[EMAIL PROTECTED]> wrote:
> >  > Hi all.
>
> >  > I'm developing a Java application using Google Calendar Data API.
>
> >  > Basically, I want to log in to an account, get the information on its
> >  > calendar (the only one it has) andgenerateanXML. I would like to be
> >  > able to parse thatXMLtogeneratea customXML(with a format defined
> >  > by me)...
>
> >  > So, I've spent quite a lot of time on it and I can't seem to be able
> >  > to get anywhere... I currently have a code that logs into the account
> >  > and gets the names of all the calendars on that account (basically it
> >  > is the code I found on the guide.
>
> >  > I hope someone can help me out here, please! How can I get thisXML
> >  > and parse it togeneratemy own??
>
> >  > Thanks a lot, in advance!!!
>
> >  > Here's how my code currently looks like:
>
> >  >         CalendarService myService = new CalendarService("exampleCo-
> >  > exampleApp-1.0");
> >  >         myService.setUserCredentials("[EMAIL PROTECTED]",
>
> > > "password");
>
> >  >         URL feedUrl = new URL("http://www.google.com/calendar/feeds/
> >  > default/allcalendars/full");
> >  >         CalendarFeed resultFeed = myService.getFeed(feedUrl,
> >  > CalendarFeed.class);
>
> >  >         System.out.println("Your calendars:");
>
> >  >         for (int i = 0; i < resultFeed.getEntries().size(); i++) {
> >  >           CalendarEntry entry = resultFeed.getEntries().get(i);
> >  >           System.out.println("\t" + entry.getTitle().getPlainText());
> >  >         }
--~--~---------~--~----~------------~-------~--~----~
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