Dear All,

I'm using the java api and trying to insert new calendar event and set
the content using HTMLTextConstruct like this:

CalendarEventEntry myEvent = new CalendarEventEntry();
myEvent.setTitle(new PlainTextConstruct("testing html"));
DateTime startTime = DateTime.parseDate("2008-11-26");
DateTime endTime = DateTime.parseDate("2008-11-27");

When eventTimes = new When();
eventTimes.setStartTime(startTime);
eventTimes.setEndTime(endTime);
myEvent.addTime(eventTimes);

HtmlTextConstruct foo = new HtmlTextConstruct("<b>foo </b>");
myEvent.setContent(foo);

But when I do this, all the HTML is stripped. What am I doing wrong?
Does the API support HTML tagged content at all?

Thanks,
~Mirza

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