On the google.com/calendar event details editor, there are the
following fields:

* what
* when
* where
* calendar
* description

I am attempting to parse this data and extract the user input
description field, however when reviewing the xml, there are several
data points bound to the description field. Example result:

When: Wed Nov 26, 2008 to Sun Nov 30, 2008 Where: Eagan Event Status:
confirmed Event Description: I want this user input data area

I am attempting to only extract the data after 'Event Description:'


I am using the following code:

            CalendarFeed resultFeed = myService.getFeed(feedUrl,
CalendarFeed.class);

            System.out.println("Your calendars:");
            System.out.println();

            for (int i = 0; i < resultFeed.getEntries().size(); i++)
            {
                CalendarEntry entry = resultFeed.getEntries().get(i);

                System.out.println("\t" + entry.getTitle().getPlainText
());

                TextContent content = (TextContent) entry.getContent
();

                System.out.println("\t" + content.getContent
().getPlainText());
            }

Is there a simple way to extract the description field minus the extra
meta data?

I could parse the string however, this seems like an extra step that
should be built into the lib without having to use a String parser.

Cheers

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