<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Django, iCal and vObject</title>
	<atom:link href="http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/</link>
	<description>Derek Willis' weblog on investigative and computer-assisted reporting.</description>
	<pubDate>Wed, 07 Jan 2009 13:11:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-hemorrhage</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paul</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-103827</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 18 Aug 2007 21:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-103827</guid>
		<description>For what it's worth, here's my &lt;a href="http://www.djangosnippets.org/snippets/58/ " rel="nofollow"&gt;simple example of using vObject with Django to produce vCard output&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>For what it&#8217;s worth, here&#8217;s my <a href="http://www.djangosnippets.org/snippets/58/ " rel="nofollow">simple example of using vObject with Django to produce vCard output</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Bitter Pill : &#187; Stupidly simple microformat syncing with Django&#8217;s generic views.</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-103356</link>
		<dc:creator>The Bitter Pill : &#187; Stupidly simple microformat syncing with Django&#8217;s generic views.</dc:creator>
		<pubDate>Fri, 10 Aug 2007 21:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-103356</guid>
		<description>[...] Via Jeff Croft I saw Derek Willis&#8217; solution for doing this with vobject. Looks like a great solution for icalendar links, but vobject struggles a bit with vcard, and I couldn&#8217;t get it to install on my shared server, so I kept looking. [...]</description>
		<content:encoded><![CDATA[<p>[...] Via Jeff Croft I saw Derek Willis&#8217; solution for doing this with vobject. Looks like a great solution for icalendar links, but vobject struggles a bit with vcard, and I couldn&#8217;t get it to install on my shared server, so I kept looking. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-103170</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Tue, 07 Aug 2007 11:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-103170</guid>
		<description>Excellent Derek - you've done it properly.  Much nicer than the hack that I came up with for mactactic.</description>
		<content:encoded><![CDATA[<p>Excellent Derek - you&#8217;ve done it properly.  Much nicer than the hack that I came up with for mactactic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Napoleone</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102881</link>
		<dc:creator>Doug Napoleone</dc:creator>
		<pubDate>Thu, 02 Aug 2007 20:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102881</guid>
		<description>Jeffrey,

I switched to UTC at the very end due to problems caused by the MS patch. It was the only thing I could get to work everywhere. The change history on the version which worked one day and stopped the next is here:

https://pycon.coderanger.net/changeset?new=django%2Ftrunk%2Fpycon%2Fschedule%2Ftemplates%2Fschedule%2Fsched.ics%40234&#38;old=django%2Ftrunk%2Fpycon%2Fschedule%2Ftemplates%2Fschedule%2Fsched.ics%40193</description>
		<content:encoded><![CDATA[<p>Jeffrey,</p>
<p>I switched to UTC at the very end due to problems caused by the MS patch. It was the only thing I could get to work everywhere. The change history on the version which worked one day and stopped the next is here:</p>
<p><a href="https://pycon.coderanger.net/changeset?new=django%2Ftrunk%2Fpycon%2Fschedule%2Ftemplates%2Fschedule%2Fsched.ics%40234&amp;old=django%2Ftrunk%2Fpycon%2Fschedule%2Ftemplates%2Fschedule%2Fsched.ics%40193" rel="nofollow">https://pycon.coderanger.net/changeset?new=django%2Ftrunk%2Fpycon%2Fschedule%2Ftemplates%2Fschedule%2Fsched.ics%40234&amp;old=django%2Ftrunk%2Fpycon%2Fschedule%2Ftemplates%2Fschedule%2Fsched.ics%40193</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Empty</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102798</link>
		<dc:creator>Empty</dc:creator>
		<pubDate>Wed, 01 Aug 2007 22:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102798</guid>
		<description>This is great stuff and pretty timely for me.  Thanks.</description>
		<content:encoded><![CDATA[<p>This is great stuff and pretty timely for me.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Harris</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102777</link>
		<dc:creator>Jeffrey Harris</dc:creator>
		<pubDate>Wed, 01 Aug 2007 17:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102777</guid>
		<description>I'm glad you've found vobject useful.

I've considered serializing a default METHOD to make Outlook happy, but rfc2445 makes METHOD optional, and CalDAV specifically forbids it, so I decided not to.

Doug, it looks like your template is using UTC times.  If you want to use UTC times with vobject, that ought to work, your datetimes just need a UTC tzinfo class.

It's probably better to use non-UTC timezones in iCalendar though, because if Congress changes daylight savings time again consumers of your data have at least some hope of figuring out what local time was originally intended.

vobject ought to handle floating datetimes (no timezone), datetimes in UTC, or datetimes in a non-UTC timezone.  In this last case, iCalendar requires a VTIMEZONE, which vobject should create for you automatically.

If you had trouble getting timezones to serialize, I'd be interested to hear more on the vobject mailing list.  Timezones are a pain.

Jeffrey</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you&#8217;ve found vobject useful.</p>
<p>I&#8217;ve considered serializing a default METHOD to make Outlook happy, but rfc2445 makes METHOD optional, and CalDAV specifically forbids it, so I decided not to.</p>
<p>Doug, it looks like your template is using UTC times.  If you want to use UTC times with vobject, that ought to work, your datetimes just need a UTC tzinfo class.</p>
<p>It&#8217;s probably better to use non-UTC timezones in iCalendar though, because if Congress changes daylight savings time again consumers of your data have at least some hope of figuring out what local time was originally intended.</p>
<p>vobject ought to handle floating datetimes (no timezone), datetimes in UTC, or datetimes in a non-UTC timezone.  In this last case, iCalendar requires a VTIMEZONE, which vobject should create for you automatically.</p>
<p>If you had trouble getting timezones to serialize, I&#8217;d be interested to hear more on the vobject mailing list.  Timezones are a pain.</p>
<p>Jeffrey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102769</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Wed, 01 Aug 2007 15:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102769</guid>
		<description>Doug,

As far as I know that issue hasn't been fixed. Due to a quirk of our app, which lists events in their local times around the country rather than standardize on a single timezone, we basically ignored that part of it (which obviously would not work for everyone).

In general, vObject worked great with Macs and Google Calendar, and less so with Outlook and, especially, IE. So I'm pretty sure your experience still holds.

Derek</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>As far as I know that issue hasn&#8217;t been fixed. Due to a quirk of our app, which lists events in their local times around the country rather than standardize on a single timezone, we basically ignored that part of it (which obviously would not work for everyone).</p>
<p>In general, vObject worked great with Macs and Google Calendar, and less so with Outlook and, especially, IE. So I&#8217;m pretty sure your experience still holds.</p>
<p>Derek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Napoleone</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102768</link>
		<dc:creator>Doug Napoleone</dc:creator>
		<pubDate>Wed, 01 Aug 2007 15:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102768</guid>
		<description>Question:
    Do you know if the problems with the active feed and timezone's have been fixed? I plan on checking myself but people might be interested in this.

I ran into a problem where it does not support active iCal feeds (think iCal+RSS), which is supported by google, and Mac. This became a required feature for the PyCon schedule app. I also ran into problems with the timezone. Congress changes the daylight savings time in the middle of our development, and at one point vObject data worked, the next it stopped working because of a MS patch for dealing with daylight savings. (DTTimeZone stopped working).

In the end I made my own ical django template which worked everywhere, not the most elegant solution.
https://svn.python.org/conference/django/trunk/pycon/schedule/templates/schedule/sched.ics
http://us.pycon.org/apps07/schedule/</description>
		<content:encoded><![CDATA[<p>Question:<br />
    Do you know if the problems with the active feed and timezone&#8217;s have been fixed? I plan on checking myself but people might be interested in this.</p>
<p>I ran into a problem where it does not support active iCal feeds (think iCal+RSS), which is supported by google, and Mac. This became a required feature for the PyCon schedule app. I also ran into problems with the timezone. Congress changes the daylight savings time in the middle of our development, and at one point vObject data worked, the next it stopped working because of a MS patch for dealing with daylight savings. (DTTimeZone stopped working).</p>
<p>In the end I made my own ical django template which worked everywhere, not the most elegant solution.<br />
<a href="https://svn.python.org/conference/django/trunk/pycon/schedule/templates/schedule/sched.ics" rel="nofollow">https://svn.python.org/conference/django/trunk/pycon/schedule/templates/schedule/sched.ics</a><br />
<a href="http://us.pycon.org/apps07/schedule/" rel="nofollow">http://us.pycon.org/apps07/schedule/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Croft</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102766</link>
		<dc:creator>Jeff Croft</dc:creator>
		<pubDate>Wed, 01 Aug 2007 14:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102766</guid>
		<description>Wonderful! This will definitely come in handy. Thanks! :)</description>
		<content:encoded><![CDATA[<p>Wonderful! This will definitely come in handy. Thanks! <img src='http://blog.thescoop.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorenzo Bolognini</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102757</link>
		<dc:creator>Lorenzo Bolognini</dc:creator>
		<pubDate>Wed, 01 Aug 2007 11:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-102757</guid>
		<description>Please add it to DjangoSnippets! ;-)

L</description>
		<content:encoded><![CDATA[<p>Please add it to DjangoSnippets! <img src='http://blog.thescoop.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>L</p>
]]></content:encoded>
	</item>
</channel>
</rss>
