<?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: A very simple unassuming ICS parser</title>
	<atom:link href="http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Tue, 09 Mar 2010 10:53:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael</title>
		<link>http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/comment-page-1/#comment-1349</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 27 Jan 2010 18:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=138#comment-1349</guid>
		<description>And, thanks, Aidan! This works like a charm, once the class name is corrected.</description>
		<content:encoded><![CDATA[<p>And, thanks, Aidan! This works like a charm, once the class name is corrected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/comment-page-1/#comment-1348</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 27 Jan 2010 18:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=138#comment-1348</guid>
		<description>This won&#039;t work!  The name of the class needs to be iCalReader

file, class name, and constructor all should have the same name!!!</description>
		<content:encoded><![CDATA[<p>This won&#8217;t work!  The name of the class needs to be iCalReader</p>
<p>file, class name, and constructor all should have the same name!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/comment-page-1/#comment-1289</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 16 Nov 2009 04:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=138#comment-1289</guid>
		<description>Please note that there is now a &quot;\&quot; before the s in the preg_split line mentioned above.</description>
		<content:encoded><![CDATA[<p>Please note that there is now a &#8220;\&#8221; before the s in the preg_split line mentioned above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/comment-page-1/#comment-1288</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 16 Nov 2009 04:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=138#comment-1288</guid>
		<description>I agree with Andrew. I also changed the preg_split line to include two lines:

$source = preg_replace(&#039;/(\r\n&#124;\n) /m&#039;,&#039;&#039;,$source);
$source = preg_split(&#039;#\n(?!\s)#&#039;, $source);

I changed line 161 ( list($key, $value) = explode(&#039;:&#039;, $line, 2); ) to this:

$temp = explode(&#039;:&#039;, $line, 2);
$key = !empty($temp[0])?$temp[0]:&#039;&#039;;
$value = !empty($temp[1])?$temp[1]:&#039;&#039;;</description>
		<content:encoded><![CDATA[<p>I agree with Andrew. I also changed the preg_split line to include two lines:</p>
<p>$source = preg_replace(&#8216;/(\r\n|\n) /m&#8217;,&#8221;,$source);<br />
$source = preg_split(&#8216;#\n(?!\s)#&#8217;, $source);</p>
<p>I changed line 161 ( list($key, $value) = explode(&#8216;:&#8217;, $line, 2); ) to this:</p>
<p>$temp = explode(&#8216;:&#8217;, $line, 2);<br />
$key = !empty($temp[0])?$temp[0]:&#8221;;<br />
$value = !empty($temp[1])?$temp[1]:&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://aidanlister.com/2004/04/a-very-simple-unassuming-ics-parser/comment-page-1/#comment-823</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 22 Jun 2009 20:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=138#comment-823</guid>
		<description>Hi Aidan -

Thanks for this class! Two things:

1) Shouldn&#039;t function iCalReader($source) be function ICSReader($source)?

2) Why are you replacing commas and semi-colons (without actually replacing them) on lines 165-168?</description>
		<content:encoded><![CDATA[<p>Hi Aidan -</p>
<p>Thanks for this class! Two things:</p>
<p>1) Shouldn&#8217;t function iCalReader($source) be function ICSReader($source)?</p>
<p>2) Why are you replacing commas and semi-colons (without actually replacing them) on lines 165-168?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
