[Vobject] Adding X-WR-CALNAME parameters to vCalendar

Richard Taylor rjt-pyconuk at thegrindstone.me.uk
Fri Jun 4 05:59:24 CDT 2010


Hi

Is there a way to add extension parameters to vCalenders?

I would like to create a vCalendar that includes X-WR-CALNAME
and X-WR-CALDESC so that it will import into Google Calendar with a sensible
name and description. The parameters are added to the outer VCALENDAR
section rather than to a specific VEVENT so I can't see how to achieve it
with vobject.

Here is an example calendar that is generated from Google Calendar as an
example of what I am trying to create:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Name
X-WR-TIMEZONE:UTC
X-WR-CALDESC:Description
END:VCALENDAR

Many thanks and thanks for vobject!

Regards

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.skyhouseconsulting.com/pipermail/vobject/attachments/20100604/c416ffb2/attachment.htm 


More information about the VObject mailing list