<?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: Cleaning up the Upcoming Events block in Drupal</title>
	<atom:link href="http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/</link>
	<description>just a lowly edtech geek, mumble mumble university of calgary</description>
	<lastBuildDate>Fri, 19 Mar 2010 20:41:04 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joe (spammy nickname removed) Peters</title>
		<link>http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-160283</link>
		<dc:creator>Joe (spammy nickname removed) Peters</dc:creator>
		<pubDate>Tue, 01 Jan 2008 22:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-160283</guid>
		<description>I actually prefer it in the &quot;15 days&quot; way - looks less computerized</description>
		<content:encoded><![CDATA[<p>I actually prefer it in the &#8220;15 days&#8221; way &#8211; looks less computerized</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rolf van de Krol</title>
		<link>http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-156696</link>
		<dc:creator>Rolf van de Krol</dc:creator>
		<pubDate>Mon, 24 Dec 2007 12:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-156696</guid>
		<description>Hmm, not very usefull, it strips all HTML, but I hope you get the point.</description>
		<content:encoded><![CDATA[<p>Hmm, not very usefull, it strips all HTML, but I hope you get the point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rolf van de Krol</title>
		<link>http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-156695</link>
		<dc:creator>Rolf van de Krol</dc:creator>
		<pubDate>Mon, 24 Dec 2007 12:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-156695</guid>
		<description>Although it works, it would be better to do this in your theme, instead of in the module code. Remember: Override, don&#039;t change.
Using PHPTemplate an possible function would be:
title, &quot;node/$node-&gt;nid&quot;, array(&#039;title&#039; =&gt; $node-&gt;title));
  if ((count(event_get_types(&#039;all&#039;)) + count(event_get_types(&#039;solo&#039;))) &gt; 1) {
    $output .= &#039;&#039;. t(&quot;($node-&gt;typename)&quot;) .&#039;&#039;;
  }
  if($node-&gt;timeleft != t(&#039;Now&#039;)) {
    $output .= &#039;(starts in &#039;. $node-&gt;timeleft .&#039;)&#039;;
  } else {
    $output .= &#039;(&#039;. $node-&gt;timeleft .&#039;)&#039;;
  }
  return $output;
}
?&gt;
Hope that helps.

Rolf van de Krol</description>
		<content:encoded><![CDATA[<p>Although it works, it would be better to do this in your theme, instead of in the module code. Remember: Override, don&#8217;t change.<br />
Using PHPTemplate an possible function would be:<br />
title, &#8220;node/$node-&gt;nid&#8221;, array(&#8216;title&#8217; =&gt; $node-&gt;title));<br />
  if ((count(event_get_types(&#8216;all&#8217;)) + count(event_get_types(&#8217;solo&#8217;))) &gt; 1) {<br />
    $output .= &#8221;. t(&#8220;($node-&gt;typename)&#8221;) .&#8221;;<br />
  }<br />
  if($node-&gt;timeleft != t(&#8216;Now&#8217;)) {<br />
    $output .= &#8216;(starts in &#8216;. $node-&gt;timeleft .&#8217;)';<br />
  } else {<br />
    $output .= &#8216;(&#8216;. $node-&gt;timeleft .&#8217;)';<br />
  }<br />
  return $output;<br />
}<br />
?&gt;<br />
Hope that helps.</p>
<p>Rolf van de Krol</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-126734</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 23 Oct 2007 05:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.darcynorman.net/2007/10/15/cleaning-up-the-upcoming-events-block-in-drupal/#comment-126734</guid>
		<description>even better - is to have it use the exact date - check out this post - works beautifully... instead of (15 days) it outputs (11/11/07 - 10:00) - makes much more sense

http://drupal.org/node/161527</description>
		<content:encoded><![CDATA[<p>even better &#8211; is to have it use the exact date &#8211; check out this post &#8211; works beautifully&#8230; instead of (15 days) it outputs (11/11/07 &#8211; 10:00) &#8211; makes much more sense</p>
<p><a href="http://drupal.org/node/161527" rel="nofollow">http://drupal.org/node/161527</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
