last-modified-brainstorming

(Difference between revisions)

Jump to: navigation, search
(Different class name for page specific and item specific dates?: Contra)
(Proposal (strawman))
Line 37: Line 37:
  This page was last modified  
  This page was last modified  
  &lt;abbr class="<em>some-class-name</em>" title="2005-08-15T13:26Z"&gt;13:26 UTC, 15 Aug 2005&lt;/abbr&gt;.
  &lt;abbr class="<em>some-class-name</em>" title="2005-08-15T13:26Z"&gt;13:26 UTC, 15 Aug 2005&lt;/abbr&gt;.
 +
 +
= Proposal (strawman) =
 +
== Purpose ==
 +
Many web pages are changed after they have been published. Some of them denote the date of the last update of theire logical way in a human readable way (e.g: &#8222;Last updated: October 17th, 2005&#8220;). The purpose of &#8222;last-updated&#8220; microformat is to provide this data in a way which is also machine-readable.
 +
 +
== Usage ==
 +
The date is enclosed by <code>&lt;abbr class="last-updated" title="''Date in machine-readable format"&gt;</code>.
 +
The machine-readable format is described at http://microformats.org/wiki/datetime-design-pattern.
 +
 +
=== Example ===
 +
 +
<code>Last updated: &lt;abbr class="last-updated" title="2005-10-17"&gt;October 17th, 2005&lt;/abbr&gt;</code>
 +
 +
== Determining the date of the last update of a page ==
 +
 +
If one &lt;abbr&gt; element with the class value &#8220;last-updated&#8221; is present on a webpage the value of the title attribute is to be interpreted as the time the page was last updated.
 +
 +
If multiple &lt;abbr&gt; elements with the class value &#8220;last-updated&#8221; are present on a webpage the value of the title attribute which represents the most recent date is to be interpreted as the time the page was last updated.
== Related ==
== Related ==
* &larr;[[last-modified-formats]]
* &larr;[[last-modified-formats]]
* [[datetime-design-pattern]]
* [[datetime-design-pattern]]

Revision as of 15:12, 26 October 2005

Contents

"Last-modified" Brainstorming

Purpose

To specify the date when the logical content of a page was last modfied in a visible form which is also machine-readable.

Authors

Possible class names

General class name considerations

Different class name for page specific and item specific dates?

For example “page-last-modified” is used to indicate the last modification date of a page and “last-modfied” for the last modfication date of a specific item*.

* This specific item is marked-up with a microformat, e.g: a microformat to describe blog posts may use “last-modified” to indicate when a blog post was last modified.

Possible date formats

Every date format which can be used with datetime-design-pattern can be used with “last-modified”

Theoretical example

This page was last modified 13:26 UTC, 15 Aug 2005.

could be written as

This page was last modified 
<abbr class="some-class-name" title="2005-08-15T13:26Z">13:26 UTC, 15 Aug 2005</abbr>.

Proposal (strawman)

Purpose

Many web pages are changed after they have been published. Some of them denote the date of the last update of theire logical way in a human readable way (e.g: „Last updated: October 17th, 2005“). The purpose of „last-updated“ microformat is to provide this data in a way which is also machine-readable.

Usage

The date is enclosed by <abbr class="last-updated" title="Date in machine-readable format">. The machine-readable format is described at http://microformats.org/wiki/datetime-design-pattern.

Example

Last updated: <abbr class="last-updated" title="2005-10-17">October 17th, 2005</abbr>

Determining the date of the last update of a page

If one <abbr> element with the class value “last-updated” is present on a webpage the value of the title attribute is to be interpreted as the time the page was last updated.

If multiple <abbr> elements with the class value “last-updated” are present on a webpage the value of the title attribute which represents the most recent date is to be interpreted as the time the page was last updated.

Related

last-modified-brainstorming was last modified: Wednesday, December 31st, 1969

Views