<?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>
	<lastBuildDate>Mon, 08 Mar 2010 02:26:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Benjamin Bach</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/comment-page-1/#comment-142495</link>
		<dc:creator>Benjamin Bach</dc:creator>
		<pubDate>Fri, 13 Nov 2009 22:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-142495</guid>
		<description>To get it working properly, you need to add the encoding to the HTTP response headers:

response = HttpResponse(icalstream, mimetype=&#039;text/calendar;charset=UTF-8&#039;)</description>
		<content:encoded><![CDATA[<p>To get it working properly, you need to add the encoding to the HTTP response headers:</p>
<p>response = HttpResponse(icalstream, mimetype=&#8217;text/calendar;charset=UTF-8&#8242;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veeneet</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/comment-page-1/#comment-135163</link>
		<dc:creator>Veeneet</dc:creator>
		<pubDate>Wed, 22 Apr 2009 11:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-135163</guid>
		<description>I am new in django. I need to update events from my website to outlook, Google, yahoo calendars. I have implemented above code which download &quot;.ics&quot; file which is OK for outlook. I don&#039;t know how to update event in Google and yahoo calendar.

Please help me.........</description>
		<content:encoded><![CDATA[<p>I am new in django. I need to update events from my website to outlook, Google, yahoo calendars. I have implemented above code which download &#8220;.ics&#8221; file which is OK for outlook. I don&#8217;t know how to update event in Google and yahoo calendar.</p>
<p>Please help me&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scot Hacker</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/comment-page-1/#comment-134583</link>
		<dc:creator>Scot Hacker</dc:creator>
		<pubDate>Wed, 08 Apr 2009 02:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.thescoop.org/archives/2007/07/31/django-ical-and-vobject/#comment-134583</guid>
		<description>Simon Willison has a nicely detailed implementation example &lt;a href=&quot;http://www.technobabble.dk/2008/mar/06/exposing-calendar-events-using-icalendar-django/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, which I found helpful.</description>
		<content:encoded><![CDATA[<p>Simon Willison has a nicely detailed implementation example <a href="http://www.technobabble.dk/2008/mar/06/exposing-calendar-events-using-icalendar-django/" rel="nofollow">here</a>, which I found helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.thescoop.org/archives/2007/07/31/django-ical-and-vobject/comment-page-1/#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&#039;s worth, here&#039;s my &lt;a href=&quot;http://www.djangosnippets.org/snippets/58/ &quot; rel=&quot;nofollow&quot;&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-page-1/#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-page-1/#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&#039;ve done it properly.  Much nicer than the hack that I came up with for mactactic.</description>
		<content:encoded><![CDATA[<p>Excellent Derek &#8211; 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-page-1/#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&amp;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-page-1/#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-page-1/#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&#039;m glad you&#039;ve found vobject useful.

I&#039;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&#039;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&#039;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-page-1/#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&#039;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&#039;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>
</channel>
</rss>
