<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mitcho.com &#187; smartdate</title>
	<atom:link href="http://mitcho.com/blog/tag/smartdate/feed/" rel="self" type="application/rss+xml" />
	<link>http://mitcho.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 23:24:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
		<item>
		<title>Introducing Smartdate</title>
		<link>http://mitcho.com/blog/projects/introducing-smartdate/</link>
		<comments>http://mitcho.com/blog/projects/introducing-smartdate/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 12:47:04 +0000</pubDate>
		<dc:creator>mitcho</dc:creator>
				<category><![CDATA[metablog]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[smartdate]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Planet]]></category>

		<guid isPermaLink="false">http://mitcho.com/blog/2007/11/27/introducing-smartdate/</guid>
		<description><![CDATA[I recently have been working on a WordPress plugin called WP-Smartdate and I&#8217;m happy to say that it is hosted at wordpress.org starting today. As some people have noticed, my blog recently has included little links on word like &#8220;yesterday,&#8221; with a machine readable version of the date reference (called a &#8220;microformat&#8221; in the biz). [...]
Related posts:<ol>
<li><a href='http://mitcho.com/blog/metablog/yes-i-have-a-blog/' rel='bookmark' title='Yes, I have a blog'>Yes, I have a blog</a></li>
<li><a href='http://mitcho.com/blog/life/how-i-name-my-kids/' rel='bookmark' title='How I name my kids'>How I name my kids</a></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I recently have been working on a <a href="http://www.wordpress.org">WordPress</a> plugin called WP-Smartdate and I&#8217;m happy to say that it is <a href="http://wordpress.org/extend/plugins/wp-smartdate/">hosted at wordpress.org</a> starting today. As some people have noticed, my blog recently has included little links on word like &#8220;yesterday,&#8221; with a machine readable version of the date reference (called a &#8220;<a href="http://microformats.org/">microformat</a>&#8221; in the biz). Download the plugin and get started!</p>

<div class="files">
<div class="file zip">
<a href="http://downloads.wordpress.org/plugin/wp-smartdate.0.1.zip">WP-Smartdate 0.1</a><br />
<span class="specs">4&#160;kb - zip</span>
</div>
</div>

<p>This blog post describes release 0.1&#8230; For the latest description, check out the <a href="http://wordpress.org/extend/plugins/wp-smartdate/">WP-Smartdate plugin page</a> or <a href="http://mitcho.com/code">mitcho.com/code</a>.</p>

<p>Please comment! I would love to hear your feedback on the plugin.</p>

<h2>Description</h2>

<p>WP-Smartdate looks for <em>relative date expressions</em> in your blog posts, such as &#8220;tomorrow,&#8221; &#8220;this coming Monday,&#8221; &#8220;last Friday,&#8221; and adds the date reference (like &#8220;2007-11-26&#8221;) as a machine-readable <a href="http://microformats.org/wiki/datetime-design-pattern">microformat</a>.</p>

<h3>Why Smartdate?</h3>

<p>WP-Smartdate was created for three simple audiences:</p>

<ol>
<li><em>For the machine:</em> While many professional information retrieval algorithms go far beyond the scope of this program, smartdate helps the process along by adding machine-readable tags to relative date expressions.<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> In addition, these machine tags, in turn, help the human: a search on Google for &#8220;November 7th, 2007,&#8221; for example, will not pull up a document talking about &#8220;yesterday,&#8221; written on the 8th, but it will pull up the smartdate output of <code>2007-11-07</code>.</li>
<li><em>For the human reader:</em> Blog posts are often written in the &#8220;now,&#8221; using relative time expressions without concern for how the text will be read in the future. WP-Smartdate makes such posts easier to read and comprehend temporally<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup>.</li>
<li><em>For <a href="http://mitcho.com">me</a></em>: Because I think this sort of thing is fun!</li>
</ol>

<h3>A typology of smartdate date expressions</h3>

<p>The following types of expressions are resolved with respect to the speech time&#8212;in WP-Smartdate&#8217;s case, the blog post date.</p>

<ol>
<li><em>simple references</em>: &#8220;yesterday,&#8221; &#8220;today,&#8221; &#8220;tomorrow,&#8221;</li>
<li><em>next/last <abbr title="day of the week">DOTW</abbr> expressions</em>: &#8220;next Friday,&#8221; &#8220;this past Sunday,&#8221; &#8220;this Monday&#8221;</li>
</ol>

<h3>For the future</h3>

<ul>
<li><em>static dates</em>: &#8220;January 1st, 2007&#8221;</li>
<li><em>duration shift expressions</em>: &#8220;5 days ago,&#8221; &#8220;fourscore and seven years ago&#8221;</li>
<li><em>day of the week shifts</em>: &#8220;2 Fridays ago&#8221;</li>
<li>clean up the code!</li>
</ul>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p>One could argue that relative dates are a perfect place to use the <code>abbr</code> tag, as they are a sort of natural-language shortcut for more static temporal expressions. In fact, WP-Smartdate&#8217;s output also follows the <a href="http://microformats.org/wiki/datetime-design-pattern">datetime microformat design pattern draft</a> with two caveats:
1. Unfortunately, the datetime <a href="http://microformats.org/wiki/semantic-class-names">semantic class</a> has not yet been set as the standard is a draft. WP-Smartdate uses <code>datetime</code>. See the <a href="http://microformats.org/wiki/rest/datatypes#Proposal">Date and Time datatype proposal</a> for more information.
2. The <a href="http://microformats.org/wiki/rest/datatypes#Proposal">current recommendation for datetime</a> pushes for following the <a href="http://www.w3.org/TR/NOTE-datetime">W3C datetime profile</a>, which does not support the <a href="http://en.wikipedia.org/wiki/ISO_8601">ISO-8601 time interval</a> specification, which <del>is</del> will be used by WP-Smartdate.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:2">
<p>Even though <a href="http://www.smackthemouse.com/20040108">the <code>abbr</code> tag should only be used for machine reading</a>.&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
<p>Related posts:</p><ol>
<li><a href='http://mitcho.com/blog/metablog/yes-i-have-a-blog/' rel='bookmark' title='Yes, I have a blog'>Yes, I have a blog</a></li>
<li><a href='http://mitcho.com/blog/life/how-i-name-my-kids/' rel='bookmark' title='How I name my kids'>How I name my kids</a></li>
</ol>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mitcho.com/blog/projects/introducing-smartdate/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

