<?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: Feed2JS: A Few More Tweaks and WordPress Date Woes</title>
	<atom:link href="http://cogdogblog.com/2004/06/02/feed2js-a/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogdogblog.com/2004/06/02/feed2js-a/</link>
	<description>Alan Levine's blog space for barking about instructional technology</description>
	<pubDate>Wed, 07 Jan 2009 13:32:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave Bauer</title>
		<link>http://cogdogblog.com/2004/06/02/feed2js-a/comment-page-1/#comment-596</link>
		<dc:creator>Dave Bauer</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/06/02/feed2js-a-few-more-tweaks-and-wordpress-date-woes/#comment-596</guid>
		<description>The RFC allows for a text timezone or offset





                 / ( ("+" / "-") 4DIGIT )        ; Local differential

                                                 ;  hours+min. (HHMM)





The example you posted has +0000, an offet of 0 hours which is the same as GMT/UTC.</description>
		<content:encoded><![CDATA[<p>The RFC allows for a text timezone or offset</p>
<p>                 / ( (&#8221;+&#8221; / &#8220;-&#8221;) 4DIGIT )        ; Local differential</p>
<p>                                                 ;  hours+min. (HHMM)</p>
<p>The example you posted has +0000, an offet of 0 hours which is the same as GMT/UTC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todd</title>
		<link>http://cogdogblog.com/2004/06/02/feed2js-a/comment-page-1/#comment-597</link>
		<dc:creator>todd</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/06/02/feed2js-a-few-more-tweaks-and-wordpress-date-woes/#comment-597</guid>
		<description>I changed lines 193 and 194 to read



 if ($date == 'y' and $item['pubdate']) {

                $my_date = $item['pubdate'];



instead of using $item['dc']['date'] and it prints the date, but not in a pretty format. I'm not sure what to do to change the format but for now it's good'nuff. You also have to change line 197 to use $my_date instead of $pretty_date.



I'll play around with an if-elif statement of some sort, since my example would not read a dc:date field. I'm not a programmer so I'll see what other damage I can do.</description>
		<content:encoded><![CDATA[<p>I changed lines 193 and 194 to read</p>
<p> if ($date == &#8216;y&#8217; and $item['pubdate']) {</p>
<p>                $my_date = $item['pubdate'];</p>
<p>instead of using $item['dc']['date'] and it prints the date, but not in a pretty format. I&#8217;m not sure what to do to change the format but for now it&#8217;s good&#8217;nuff. You also have to change line 197 to use $my_date instead of $pretty_date.</p>
<p>I&#8217;ll play around with an if-elif statement of some sort, since my example would not read a dc:date field. I&#8217;m not a programmer so I&#8217;ll see what other damage I can do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Levine</title>
		<link>http://cogdogblog.com/2004/06/02/feed2js-a/comment-page-1/#comment-598</link>
		<dc:creator>Alan Levine</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/06/02/feed2js-a-few-more-tweaks-and-wordpress-date-woes/#comment-598</guid>
		<description>Thanks Dave- the WordPress date format should be legit.



Todd, I found that magpie can return the date iin two different array places, so the latest script now has two methods for formatting the date... it is possible that the magpie utility in utils_inc.php may need a tweak, but the new script works for your feeds now:



&lt;a href="http://jade.mcli.dist.maricopa.edu/feed/index.php?s=build&#038;src=http%3A%2F%2Fidea.matc.tec.oh.us%2Fidea.xml&#038;chan=y&#038;num=0&#038;desc=1&#038;date=y&#038;targ=n&#038;preview=Preview+the+Feed"&gt;http://jade.mcli.dist.maricopa.edu/feed/index.php?s=build&#038;src=http%3A%2F%2Fidea.matc.tec.oh.us%2Fidea.xml&#038;chan=y&#038;num=0&#038;desc=1&#038;date=y&#038;targ=n&#038;preview=Preview+the+Feed&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thanks Dave- the WordPress date format should be legit.</p>
<p>Todd, I found that magpie can return the date iin two different array places, so the latest script now has two methods for formatting the date&#8230; it is possible that the magpie utility in utils_inc.php may need a tweak, but the new script works for your feeds now:</p>
<p><a href="http://jade.mcli.dist.maricopa.edu/feed/index.php?s=build&#038;src=http%3A%2F%2Fidea.matc.tec.oh.us%2Fidea.xml&#038;chan=y&#038;num=0&#038;desc=1&#038;date=y&#038;targ=n&#038;preview=Preview+the+Feed">http://jade.mcli.dist.maricopa.edu/feed/index.php?s=build&#038;src=http%3A%2F%2Fidea.matc.tec.oh.us%2Fidea.xml&#038;chan=y&#038;num=0&#038;desc=1&#038;date=y&#038;targ=n&#038;preview=Preview+the+Feed</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todd</title>
		<link>http://cogdogblog.com/2004/06/02/feed2js-a/comment-page-1/#comment-599</link>
		<dc:creator>todd</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/06/02/feed2js-a-few-more-tweaks-and-wordpress-date-woes/#comment-599</guid>
		<description>Thanks Alan, that's great!
</description>
		<content:encoded><![CDATA[<p>Thanks Alan, that&#8217;s great!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
