ISO-31-1: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(ISO-80000 obsoleted ISO-31.)
No edit summary
Line 3: Line 3:
This is a page for the study of [http://en.wikipedia.org/wiki/ISO_31-1 ISO 31-1] which is the part of the international standard [http://en.wikipedia.org/wiki/ISO_31 ISO 31] format for durations and intervals as discussed on [http://microformats.org/discuss/mail/microformats-new/2008-August/001666.html microformats-new] also outlined on [[datetime-design-pattern#Individual_markup_of_each_date.2Ftime_component|datetime-design-pattern]].
This is a page for the study of [http://en.wikipedia.org/wiki/ISO_31-1 ISO 31-1] which is the part of the international standard [http://en.wikipedia.org/wiki/ISO_31 ISO 31] format for durations and intervals as discussed on [http://microformats.org/discuss/mail/microformats-new/2008-August/001666.html microformats-new] also outlined on [[datetime-design-pattern#Individual_markup_of_each_date.2Ftime_component|datetime-design-pattern]].
* Wouldn't ISO-80000 be a better reference standard, given that ISO-31 has been obsoleted? [[User:TobyInk|TobyInk]] 00:33, 7 Aug 2008 (PDT)
* Wouldn't ISO-80000 be a better reference standard, given that ISO-31 has been obsoleted? [[User:TobyInk|TobyInk]] 00:33, 7 Aug 2008 (PDT)
* This proposal will eventually adopt ISO-80000-3, or the [http://en.wikipedia.org/wiki/International_System_of_Units#Units International System of Quantities] (ISQ) standard. [[User:WebOrganics|Martin McEvoy]] 14:48, 7 Aug 2008 (GMT)


==Sample markup==
==Sample markup==


Proposed as a replacement or optimization of [[haudio#Duration|hAudio Duration]] expressed in ISO-31-1 format
Proposed as a replacement or optimization of [[haudio#Duration|hAudio Duration]] expressed in ISO-31-1/ISQ format


<pre>
<pre>
Line 15: Line 16:
</span>  
</span>  
</pre>
</pre>
===Issues===
* Raised By <cite>[http://microformats.org/discuss/mail/microformats-new/2008-August/001668.html Glenn Jones]</cite> on microformats new
<blockquote>Having different datatypes for a property of the same name is very
problematic. Personally I would not like us to use ISO-8601 for
hCalendar duration and ISO-31-1 for duration in hAudio. Some parsers do
try to convert formats into datatypes this could become hellish if we
use the same property names for different data formats.</blockquote>
*# Solution 1 Change <code>duration</code> to <code>interval</code>. [[User:WebOrganics|Martin McEvoy]] 14:48, 7 Aug 2008 (GMT)

Revision as of 13:49, 7 August 2008

ISO 31-1

This is a page for the study of ISO 31-1 which is the part of the international standard ISO 31 format for durations and intervals as discussed on microformats-new also outlined on datetime-design-pattern.

Sample markup

Proposed as a replacement or optimization of hAudio Duration expressed in ISO-31-1/ISQ format

<span class="duration">
 <span class="h">1</span>:
 <span class="min">3</span>:
 <span class="s">42</span>
</span> 

Issues

Having different datatypes for a property of the same name is very

problematic. Personally I would not like us to use ISO-8601 for hCalendar duration and ISO-31-1 for duration in hAudio. Some parsers do try to convert formats into datatypes this could become hellish if we

use the same property names for different data formats.

    1. Solution 1 Change duration to interval. Martin McEvoy 14:48, 7 Aug 2008 (GMT)