measure-examples

From Microformats Wiki
Revision as of 12:35, 5 December 2007 by LucaPost (talk | contribs)
Jump to navigation Jump to search

Measure Examples

This page collects examples of measures on the Web.

National Institute of Standards and Technology

un-POSH Table-based template, the measurement and its uncertainity are on separate table rows:

<tr valign="bottom">
	<td bgcolor="#cce2f3" align="right">
		Value</td>
	<td nowrap="" bgcolor="#cce2f3">
		<font size="4" color="red">
			<tt><b>
			9.109 382 15 x 10 <sup>-31</sup>kg</b>
			</tt>
		</font>
	</td>
</tr>
<tr valign="bottom">
	<td bgcolor="#cce2f3" align="right">
		Standard uncertainty</td>
	<td bgcolor="#cce2f3">
		<font size="4" color="black">
			<tt><b>0.000 000 45 x 10 <sup>-31</sup>kg</b>
			</tt>
		</font>
	</td>
</tr>

bbc.co.uk 5-days weather forecast

<abbr> title attribute to describe the unit-measure.

<td class="weathertext" bgcolor="#ffffcc" align="center" headers="w2">
	<div class="tempsym">
		<span class="temptxt">
			15 
				<abbr title="Day Temperature in degrees Celsius">
					°C
				</abbr>
		</span>
	</div>
</td>

a Scientific Journal, Experimental Thermal and Fluid Science

HTML articles only available to subscribers, Unit-measures are present only in the table headers, which are not connected with the data-values with the correct semantic headers/scope HTML arguments. Many similar HTML-Tables found in other scientific journals.

In order to skip HTML parsing, data is often shared by means of extra txt/csv files, a measure microformat would be most useful in such cases.

<tr valign="top">
	<td>
	</td>
	<td>
		0.030 (m)
	</td>
	<td>
		0.0002
	</td>
	<td align="char" char=".">
		0.7
	</td>
	<td align="char" char=".">
		0.7
	</td>
</tr>

eBay

Search for "feet", "mpg", "mph", "sec" on eBay, you will find examples similar to the following ones:

<h1 class="itemTitle">S-Video TV Out 1.5m 5 Feet Extension S Video DVD Cable</h1>
<li>Measures 60" (1.5m) long</li>
<li>Extend your S-video cable by 1.5m long</li>
<DIV><BR><STRONG>Power:<BR></STRONG>
<LI>620 hp @ 5,200 rpm 
<LI>650 lb-ft @ 4,000 rpm <BR><BR><B>Performance:</B> 
<LI>0 - 60 mph: 3.7 sec. * </LI></DIV>
<DIV>
<LI>1/4 mile: 12.1 sec. @ 114 mph</LI></DIV>
<DIV>

Royal Palms Hotel

  • Use of "hightemp" as class name
  • Link to a page with detailed weather
<div id="nav-weather-footer">
   Local Time: <span id="localtime">11:52 am</span><br />Local Temp: <a href="weather.php"><span class="hightemp">88F/31</span>C</a>	</div>

On the web page with detailed weather.

  • Use of "temp" as class name
  • Use of "high" for high temperature (this would be more relevant for a weather forecast microformat)
  • Use of "low" for low temperature (this would be more relevant for a weather forecast microformat)
<td class="temp">
   <br/>
   Rain Showers Likely
   <div class="high">Hi: 88°F</div>
   <div class="low">Lo: 67°F</div>
</td>

XML proposals for measures


And finally...

Other units of measurement

See also