The google calendar has added a new feature, the support for the gd:extendedProperty. This is not documented yet, but it's there, and what it means is that you can store a limitied set of custom data per entry.
I verified that you can have a gd:extendedPropery element as a child of an entry element, it has a name and a value attribute:
hence and entry could look like this:
<gd:extendedProperty name='
http://frank.schemas/2005#prop
' value='Mantek'></gd:extendedProperty>
To create those in C#, the code looks like:
prop = new ExtendedProperty();
prop.Name = "
http://frank.schemas/2005#prop
";
prop.Value = "Mantek";
eventEntry.ExtensionElements.Add(prop);
to find one it looks like:
foreach (Object o in eventEntry.ExtensionElements )
{
ExtendedProperty p = o as ExtendedProperty;
if (p != null)
{
Tracing.TraceMsg("Found one extended property");
Assert.AreEqual(p.Name, "
http://frank.schemas/2005#prop", "Expected the same entry");
Assert.AreEqual(p.Value, "Mantek", "Expected the same entry");
}
}
So those of you who need to add additional information for one reason or the other, sync up to SVN and let me know if this works out for you.
Regards
Frank Mantek