Hi Jules, This is because by default the content type is set to be "text" which represents plain text. To set content to contain html tags you have to explicitly set the content type to be of "html", you do that like this -
MyEntry.Content.Type = "html"; Hope it helps, Austin On Wed, May 14, 2008 at 3:12 AM, Jules <[EMAIL PROTECTED]> wrote: > > The problem is that, when trying to update an event content via api > google calendar using html tags, every time an error occurs. > If you try via classic Google Calendar web interface, you can > successfully use html tags. > > Code sample:( Visual Basic) > Private Sub UpdateWithHtmlTags() > > StrQuery = "My tennis club" > Dim myQuery As EventQuery = New EventQuery(StrQuery) > Dim calFeed As EventFeed = MyService.Query(myQuery) > Dim MyEntry As EventEntry > > For Each MyEntry In calFeed.Entries > MyEntry.Content.Content = "<b>New tennis club description > content</b>" > MyEntry.Update() > Next > > End Sub > > Thank you for your support in advance, > Jules > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
