I have created a .NET application that inserts events into my google
calendar.

Now I want to figure out how to enter through the API HTML in the
description field.  I can enter HTML using the normal calendar user
interface.  I have noticed that when using the normal UI the link is
mangled a bit to look like this:
http://www.google.com/url?sa=D&sntz=1&q=http%3A%2F%2Fwww.yahoo.com&usg=AFrqEzc1fgzUbmKopQxl5gnicXtMLX0scg

Ideally I want to be able to enter in the description field:
<a href="http://www.yahoo.com";>My link</a>

The error I receive is this:
[Line 6, Column 71, element content] Unrecognized element &#39;a&#39;.

The basic bit of code is:

            EventEntry entry = new EventEntry();
            entry.Title.Text = "Some event title";
            entry.Content.Content = "<a href=\"http://www.yahoo.com
\">Link</a>";

The error occurs during:
AtomEntry insertedEntry = myService.Insert(postUri, entry);

Thanks.


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