Dear Sir,

Thank you for the clue.
It helps, but it does not solve the hole problem.

Using MyEntry.Content.Type = "html", does not generate an error
anymore, but it just eliminates all the html tags, and update the text
itself.
The entry, even updated, has content.type still "text".

A similar behaviour has the web interface of Google Calendar:
1) Edit the event description,  using html tags. Save changes, OK
Display html format
2) Edit again the event description, modify something, Save changes.
Wrong. All the html format is gone!
This could be a general bug of Google Calendar.


This issue is very relevant, because this could bring to Google
Calendar interevents linking, using the feeds addresses ... like
<a href="http://www.google.com/calendar/event?
eid=Y3VmM3BqYWw3c2U1NnBnNjNpbmpyMTdoZm8gcGhjZzhpamFlb2owMzg0cXNvaHBzZDA0MzhAZw">Link
to another event</a>

I would appreciate if you could find a workaround,
Kind Regards,
Jules

On 14 Mai, 23:41, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to