{"id":58785,"date":"2007-11-27T11:55:41","date_gmt":"2007-11-27T11:55:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-smartdate\/"},"modified":"2007-11-28T06:40:50","modified_gmt":"2007-11-28T06:40:50","slug":"wp-smartdate","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-smartdate\/","author":284759,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"2.3.1","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"WP-Smartdate","header_author":"mitcho (Michael Yoshitaka Erlewine)","header_description":"","assets_banners_color":"","last_updated":"2007-11-28 06:40:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/mitcho.com\/code\/","header_author_uri":"http:\/\/mitcho.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3705,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","other_notes"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-58785","plugin","type-plugin","status-closed","hentry","plugin_committers-mitchoyoshitaka"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-smartdate.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WP-Smartdate looks for <em>relative date expressions<\/em> in your blog posts, such as \"tomorrow,\" \"this coming Monday,\" \"last Friday,\" looks at the current date, and computes what day you were referencing in plain old English. WP-Smartdate then puts a machine readable reference (like \"2007-11-26\") in an <code>abbr<\/code> tag <a href=\"http:\/\/microformats.org\/wiki\/datetime-design-pattern\">microformat<\/a>.<\/p>\n\n<h4>Why Smartdate?<\/h4>\n\n<p>WP-Smartdate was created for three simple audiences:<\/p>\n\n<ol>\n<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. In addition, these machine tags, in turn, help the human: a search on Google for \"November 7th, 2007,\" for example, will not pull up a document talking about \"yesterday,\" written on the 8th, but it will pull up the smartdate output of <code>2007-11-07<\/code>.<\/li>\n<li><em>For the human reader:<\/em> Blog posts are often written in the \"now,\" 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.<\/li>\n<li><em>For <a href=\"http:\/\/mitcho.com\">me<\/a><\/em>: Because I think this sort of thing is fun!<\/li>\n<\/ol>\n\n<h4>Smartdate-compatible expressions<\/h4>\n\n<p>The following types of expressions are resolved with respect to the speech time--in WP-Smartdate's case, the blog post date.<\/p>\n\n<ol>\n<li><em>simple references<\/em>: \"yesterday,\" \"today,\" \"tomorrow\"<\/li>\n<li><em>next\/last day of the week expressions<\/em>: \"this Friday,\" \"this past Saturday,\" \"this Monday\"<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-smartdate.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the Plugins menu.<\/li>\n<li>There are no preferences to set in 0.1 but, in the future: configure the plugin options through the Options \/ WP-Smartdate menu.<\/li>\n<\/ol>\n\n<!--section=other_notes-->\n<h3 id='For-the-future'>For the future<\/h3>\n<ul>\n<li><em>static dates<\/em>: \"January 1st, 2007\"<\/li>\n<li><em>duration shift expressions<\/em>: \"5 days ago,\" \"fourscore and seven years ago\"<\/li>\n<li><em>day of the week shifts<\/em>: \"2 Fridays ago\"<\/li>\n<li>clean up the code!<\/li>\n<\/ul>","raw_excerpt":"WP-Smartdate automagically resolves relative dates (e.g. &quot;tomorrow,&quot; &quot;this coming Monday&quot;) and adds the date reference in a machin","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/58785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=58785"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mitchoyoshitaka"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=58785"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=58785"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=58785"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=58785"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=58785"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=58785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}